1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-02-01 16:33:02 +01:00
NIIBE Yutaka 21ef425e22 agent: Appropriate error code for importing key with no passwd.
* agent/cvt-openpgp.c (convert_from_openpgp_main): Return
GPG_ERR_BAD_SECKEY.

--

When non-protected case, error at gcry_pk_testkey results
GPG_ERR_BAD_PASSPHRASE.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2021-06-04 13:44:05 +09:00
..
2021-03-10 15:52:20 +01:00
2021-05-20 14:28:49 +02:00
2015-10-28 10:20:17 +01:00
2021-03-18 09:53:09 +01:00
2021-04-13 13:54:14 +09:00
2021-05-20 14:28:49 +02:00
2020-02-18 18:07:46 -05:00