Home GnuPG
Diffusion GnuPG 011a2f5fb77c

agent: Print an error if gpg-protect reads the extended key format.

Description

agent: Print an error if gpg-protect reads the extended key format.

* agent/protect-tool.c (read_key): Detect simple extended key format.

This is a quick hack to get a useful error messages. The real fix is
to replace the protect tool by a more useful new tool.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Mar 30 2020, 5:27 PM
Parents
rG2b4b0b1223aa: sm: Fix possible NULL deref in error messages of --gen-key.
Branches
Unknown
Tags
Unknown