Home GnuPG
Diffusion GnuPG c5c21a064671

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
rG9c5c7c6f602c: sm: Fix possible NULL deref in error messages of --gen-key.
Branches
Unknown
Tags
Unknown