gpg --edit, delsigs and --no-tty

Peter Palfrader at
Wed Sep 29 21:04:19 CEST 2004


I want to remove certain signatures on uids using a script.

When I call gpg --edit with --no-tty then I don't get any information
about which signature is about to be removed:

| $ gpg --no-tty --with-colons --status-fd=2 --command-fd=0 --edit c82e0039
| gpg (GnuPG) 1.2.5; Copyright (C) 2004 Free Software Foundation, Inc.
| pub:-:4096:1:62AF4031C82E0039:1048514712:0::-:
| fpr:::::::::25FC1614B8F87B52FF2F99B962AF4031C82E0039:
| uid:-::::::::Peter Palfrader:::S7 S3 S2 H2 H3 Z2 Z1,mdc:1,ps:
| uid:-::::::::Peter Palfrader <peter at>:::S7 S3 S2 H2 H3 Z2 Z1,mdc:2,:
| [GNUPG:] GET_LINE keyedit.prompt
| delsig
| [GNUPG:] GET_BOOL keyedit.delsig.unknown

When there is a tty, I do get the information:
| delsig
| uid  Peter Palfrader
| sig?3       2477CAF8 2003-07-13   
| [GNUPG:] GET_BOOL keyedit.delsig.unknown

It's not in colons, but it's still better than nothing.

It would be great if that information wa also available in the --no-tty case.


More information about the Gnupg-devel mailing list