Page MenuHome GnuPG

gen-key --batch does not support certify only keys
Closed, ResolvedPublic

Description

Got this as Kleopatra bug but GnuPG does not allow this:

gpg2 --gen-key --batch <<EOF
%ask-passphrase
key-type: RSA
key-length: 1024
key-usage: certify
name-email: foo@example.com
name-real: Test test
EOF
gpg: -:4: invalid usage list

I think the reason for this request is an offline certify key and everything
else as subkeys.

Details

External Link
https://bugs.kde.org/show_bug.cgi?id=363148
Version
master

Related Objects

Event Timeline

aheinecke set Version to master.
aheinecke set External Link to https://bugs.kde.org/show_bug.cgi?id=363148.
aheinecke added a subscriber: aheinecke.
werner claimed this task.

No bug, Use "cert" and not "certify".