After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 335404 - Add Delete signature support
Add Delete signature support
Status: RESOLVED OBSOLETE
Product: seahorse
Classification: Applications
Component: general
git master
Other Linux
: Normal enhancement
: 2.28.0
Assigned To: Seahorse Maintainer
Seahorse Maintainer
Depends on:
Blocks:
 
 
Reported: 2006-03-21 19:16 UTC by Stef Walter
Modified: 2018-08-03 19:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Stef Walter 2006-03-21 19:16:31 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.
Comment 1 Adam Schreiber 2006-03-28 23:22:47 UTC
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.
Comment 2 André Klapper 2009-03-15 16:46:47 UTC
I don't consider this a GNOME 2.28 target blocker. Setting the module specific target milestone instead.
Comment 3 GNOME Infrastructure Team 2018-08-03 19:08:14 UTC
-- 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.