Bug#760140: Can only sign all uids and not single ones

2015-06-26 Thread Kwadronaut-debian
On 26/11/14 06:02, Antoine Beaupré wrote:
 On 2014-08-31 05:38:51, kwadronaut wrote:
 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
 
 please try the latest version again from sid, or the one from git.

I've gotten the 2.x branch from git, ran the setup.
 
 notice how #771034 may be related. there seems to be an off by one error
 in the selection code and a one-line patch fix.
 
 the git repository has the fix and you can run monkeysign straight from
 the git repository (even with monkeysign installed system-wide).

It is fixed indeed, worked flawless.


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



Bug#760140: Can only sign all uids and not single ones

2014-11-25 Thread Antoine Beaupré
On 2014-08-31 05:38:51, kwadronaut wrote:
 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

please try the latest version again from sid, or the one from git.

notice how #771034 may be related. there seems to be an off by one error
in the selection code and a one-line patch fix.

the git repository has the fix and you can run monkeysign straight from
the git repository (even with monkeysign installed system-wide).

a.

-- 
La mer, cette grande unificatrice, est l'unique espoir de l'homme.
Aujourd'hui plus que jamais auparavant, ce vieux dicton dit
littéralement ceci: nous sommes tous dans le même bateau.
- Jacques Yves Cousteau - Océanographe


signature.asc
Description: PGP signature


Bug#760140: Can only sign all uids and not single ones

2014-10-20 Thread Antoine Beaupré
Control: tag -1 moreinfo

On 2014-08-31 05:38:51, kwadronaut wrote:
 Can only sign all uids of a key and not single ones. I'm using
 monkeysign from backports on Debian Stable.

Hi,

Can you try again with the latest 2.x release? There should be a 2.0.1
release in Debian unstable, otherwise you can try to get the latest code
From git:

git://git.monkeysphere.info/monkeysign

This should give you more information as to why the signing failed,
which may or may not be a bug with monkeysign...

A.

-- 
Semantics is the gravity of abstraction.


pgpPu4bJCaoOd.pgp
Description: PGP signature


Bug#760140: Can only sign all uids and not single ones

2014-09-01 Thread kwadronaut
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 =          
uid 1  [unknown] Alice  al...@example.net
uid 2  [unknown] Carol ca...@example.com
sub   4096R/ 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