NIIBE Yutaka
44621120a2
scd: Add --challenge-response option to PK_AUTH for OpenPGP card.
* scd/app-openpgp.c (rmd160_prefix, sha1_prefix, sha224_prefix)
(sha256_prefix, sha384_prefix, sha512_prefix): Move the scope up.
(gen_challenge): New.
(do_auth): Support challenge-response check if it signs correctly.
* scd/app.c (app_auth): Remove the check INDATA and INDATALEN.
* scd/command.c (cmd_pkauth): Support --challenge-response option.
--
GnuPG-bug-id: 5862
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2022-03-03 17:45:49 +09:00
..
2022-01-04 14:56:29 +09:00
2021-02-23 12:56:42 +01:00
2021-07-21 17:22:26 +09:00
2021-03-31 19:16:05 +02:00
2021-03-31 19:16:05 +02:00
2021-04-08 19:27:25 +02:00
2021-04-13 14:21:29 +09:00
2022-03-03 17:45:49 +09:00
2022-02-21 12:17:08 +01:00
2021-07-08 14:11:10 +02:00
2021-03-31 19:16:05 +02:00
2022-03-03 17:45:49 +09:00
2021-03-31 19:16:05 +02:00
2016-11-05 12:02:19 +01:00
2021-06-23 12:08:20 +09:00
2020-11-27 15:17:56 +09:00
2011-12-01 11:09:02 +01:00
2022-03-03 17:45:49 +09:00
2021-06-18 17:42:38 +02:00
2021-03-29 14:49:08 +02:00
2019-01-20 11:45:57 +01:00
2013-05-07 21:35:48 +02:00
2021-10-05 14:05:56 +09:00
2021-10-29 10:58:26 +09:00