diff options
author | NIIBE Yutaka <[email protected]> | 2022-03-03 08:45:49 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2022-03-03 08:45:49 +0000 |
commit | 44621120a269ba67408fe1ea067af8cbd1cbb35e (patch) | |
tree | e3933c6c5f69a9cceda3f924911f0a0627d8faad /common/ssh-utils.c | |
parent | g10/encrypt: use iobuf_copy instead of manual iobuf_read/iobuf_write (diff) | |
download | gnupg-44621120a269ba67408fe1ea067af8cbd1cbb35e.tar.gz gnupg-44621120a269ba67408fe1ea067af8cbd1cbb35e.zip |
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 <[email protected]>
Diffstat (limited to 'common/ssh-utils.c')
0 files changed, 0 insertions, 0 deletions