mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* minip12.c (parse_bag_encrypted_data): Print error if a bad
passphrase has been given. * gpg-agent.texi (Invoking GPG-AGENT): Add a few words about the expected pinentry filename. * import.c (parse_p12): Write an error status line for bad passphrases. Add new arg CTRL and changed caller. * export.c (export_p12): Likewise.
This commit is contained in:
parent
4604ae8e99
commit
530a0a91c4
9 changed files with 102 additions and 17 deletions
|
@ -882,6 +882,8 @@ export_p12_file (const char *fname)
|
|||
release_passphrase (pw);
|
||||
if (rc)
|
||||
{
|
||||
if (opt_status_msg && gpg_err_code (rc) == GPG_ERR_BAD_PASSPHRASE )
|
||||
log_info ("[PROTECT-TOOL:] bad-passphrase\n");
|
||||
log_error ("unprotecting key `%s' failed: %s\n",
|
||||
fname, gpg_strerror (rc));
|
||||
xfree (key);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue