Package: monkeysign
Version: 1.1~bpo70+1
Severity: important

Can only sign all uids of a key and not single ones. I'm using
monkeysign from backports on Debian Stable.

$ monkeysign -dv -u BD68C7AA997FA77F -v --local myfriendskeyAABBCC

[…]
stderr:
found 1 keys matching your request
Signing the following key

pub  [unknown] 4096R/... [expiry: 1409474740]
    Fingerprint = 0000 1111 2222 3333 4444 5555 6666 7777 8888 9999
uid 1      [unknown] Alice  <al...@example.net>
uid 2      [unknown] Carol <ca...@example.com>
sub   4096R/AAAABBBB 00112233445 [expiry: 1409474740]


Sign all identities? [y/N]
Choose the identity to sign (1-2 or full UID, control-c to abort): 2
Really sign key? [y/N] y
command: ['gpg', '--command-fd', '0', '--with-fingerprint',
'--list-options',
'show-sig-subpackets,show-uid-validity,show-unusable-uids,show-unusable-subkeys,show-keyring,show-sig-expire',
'--status-fd', '2', '--quiet', '--batch', '--fixed-list-mode',
'--no-tty', '--with-colons', '--use-agent', '--local-user',
'BD68C7AA997FA77F', '--secret-keyring',
'/home/kwadronaut/.gnupg/secring.gpg', '--homedir', '/tmp/pygpg-TI4RtV',
'--sign-key', 'Carol  <ca...@example.net>']
FOUND: [GNUPG:] GET_BOOL keyedit.sign_all.okay
FOUND: [GNUPG:] GOT_IT
FOUND: [GNUPG:] GET_LINE keyedit.prompt
skipped: pub:-:4096:1:LONGSTRING:LONGSTRING:LONGSTRING::-:
skipped: fpr:::::::::LONGFINGERPRINT:
skipped: sub:-:4096:1:LONGSTRING:LONGSTRING:LONGSTRING:::
skipped: fpr:::::::::LONGFINGERPRINT:
FOUND: uid:-::::::::Alice <al...@example.net>:::S9 S8 S7 S3 S2 H8 H2 H9
H10 H11 Z2 Z3 Z1,mdc,no-ks-modify:1,p:
FOUND: uid:-::::::::Carol <ca...@example.com>:::S9 S8 S7 S3 S2 H8 H2 H9
H10 H11 Z2 Z3 Z1,mdc,no-ks-modify:2,:
FOUND: [GNUPG:] GOT_IT
FOUND: [GNUPG:] GET_LINE keyedit.prompt
FOUND: [GNUPG:] GOT_IT
SKIPPED: [GNUPG:] GET_BOOL keyedit.sign_all.okay
deleting the temporary keyring /tmp/pygpg-TI4RtV
Traceback (most recent call last):
  File "/usr/bin/monkeysign", line 41, in <module>
    u.main()
  File "/usr/lib/python2.7/dist-packages/monkeysign/cli.py", line 69, in
main
    self.sign_key()
  File "/usr/lib/python2.7/dist-packages/monkeysign/ui.py", line 296, in
sign_key
    if not self.tmpkeyring.sign_key(pattern, alluids):
  File "/usr/lib/python2.7/dist-packages/monkeysign/gpg.py", line 496,
in sign_key
    raise GpgRuntimeError(self.context.returncode, _('unable to open key
for editing: %s') % self.context.stderr.decode('utf-8'))
monkeysign.gpg.GpgRuntimeError: [Errno 0] unable to open key for editing:

When I answer y to sign all uids, I don't get any errors.

kwadronaut


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to