GNOME Bugzilla – Bug 335404
Add Delete signature support
Last modified: 2018-08-03 19:08:14 UTC
This can be added in seahorse-pgp-key-op.c using the "delsig" edit key action. AFAIK, This should only be possible on a private key.
This can be done on a public key in gpg --edit-key. I'm not sure that enough feedback will be returned by the gpgme_op_edit function alone to implment this function. The following is performing delsig with tty and then without as gpgme_op_edit returns: ================================================================================ $ gpg --command-fd=0 --status-fd=2 --edit-key qf pub 1024D/46DB4222 created: 2005-07-31 expires: never usage: SC trust: unknown validity: undefined sub 1024g/2E8A1B8B created: 2005-07-31 expires: never usage: E [ undef ] (1). qffqef <feo@fjoeir.com> [ undef ] (2) [jpeg image of size 2088] [GNUPG:] GET_LINE keyedit.prompt 1 [GNUPG:] GOT_IT pub 1024D/46DB4222 created: 2005-07-31 expires: never usage: SC trust: unknown validity: undefined sub 1024g/2E8A1B8B created: 2005-07-31 expires: never usage: E [ undef ] (1)* qffqef <feo@fjoeir.com> [ undef ] (2) [jpeg image of size 2088] [GNUPG:] GET_LINE keyedit.prompt delsig [GNUPG:] GOT_IT uid qffqef <feo@fjoeir.com> sig!3 46DB4222 2005-07-31 [self-signature] [GNUPG:] GET_BOOL keyedit.delsig.valid n [GNUPG:] GOT_IT uid qffqef <feo@fjoeir.com> sig! 7108E308 2006-03-28 Adam Schreiber <sadam@clemson.edu> [GNUPG:] GET_BOOL keyedit.delsig.valid y [GNUPG:] GOT_IT Deleted 1 signature. [GNUPG:] GET_LINE keyedit.prompt quit [GNUPG:] GOT_IT [GNUPG:] GET_BOOL keyedit.save.okay y [GNUPG:] GOT_IT ================================================================================ $ gpg --command-fd=0 --status-fd=2 --no-tty --edit-key qf [GNUPG:] GET_LINE keyedit.prompt 1 [GNUPG:] GOT_IT [GNUPG:] GET_LINE keyedit.prompt delsig [GNUPG:] GOT_IT [GNUPG:] GET_BOOL keyedit.delsig.valid n [GNUPG:] GOT_IT [GNUPG:] GET_BOOL keyedit.delsig.valid n [GNUPG:] GOT_IT [GNUPG:] GET_LINE keyedit.prompt quit [GNUPG:] GOT_IT ================================================================================ This leads me to believe that a new gpgmex_op function will be required that determines the order of the signature that needs to be deleted. The pgp_op function that performs revsig will require the same gpgmex_op function.
I don't consider this a GNOME 2.28 target blocker. Setting the module specific target milestone instead.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/seahorse/issues/10.