[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

gnupg invalid length error with multiple ec keys in the keyring



Hi,

I have 4 EC keys (one is nistp256 [daily driver] and the others are nistp384).

I attempted to locally sign Greg's key
(647F28654894E3BD457199BE38DBBDC86092693E) using one of my nistp384 public
key, and using --local-user to specify the key. After entering the
passphrase, instead of the key being signed, I got the error:

gpg: signing failed: Invalid length
gpg: signing failed: Invalid length

Starting gnupg with --verbose doesn't give more useful output, so I skipped
it.

The full command is `gpg --local-user <my key> --edit-key <greg's key>`. In
edit key interface, I selected the first UID (`uid 1`), then executing
`lsign`.

I'm running Debian Bullseye.

Thanks.

-- 
An old man doll... just what I always wanted! - Clara


Reply to: