Skip to content

Conversation

@tmzullinger
Copy link

Users who wish to create NIST auth or sign subkeys using the --quick-add-key command are likely to trip over a long-standing GPG bug¹ which results in the following error:

$ gpg --expert --quick-add-key [fpr] nistp256 sign
gpg: Key generation failed: Wrong key usage
gpg: Key not changed so no update needed.

Help readers by noting the documented workaround. The GPG bug has been open since July 2018. Unfortunately, it seems unlikely to be fixed anytime soon.

¹ https://dev.gnupg.org/T4052

Signed-off-by: Todd Zullinger tmz@pobox.com

Users who wish to create NIST auth or sign subkeys using the
`--quick-add-key` command are likely to trip over a long-standing GPG
bug¹ which results in the following error:

    $ gpg --expert --quick-add-key [fpr] nistp256 sign
    gpg: Key generation failed: Wrong key usage
    gpg: Key not changed so no update needed.

Help readers by noting the documented workaround.  The GPG bug has been
open since July 2018.  Unfortunately, it seems unlikely to be fixed
anytime soon.

¹ https://dev.gnupg.org/T4052

Signed-off-by: Todd Zullinger <tmz@pobox.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant