card: New command 'authenticate'.
authorWerner Koch <wk@gnupg.org>
Thu, 31 Jan 2019 15:06:47 +0000 (16:06 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 31 Jan 2019 15:06:47 +0000 (16:06 +0100)
commitda383257404cde9689bc58259ef3f46e9903bf34
tree056ca339e60dc47a9f914b317238807a41fa892c
parent1d57450f3e71b198e66e155a8ebbfab452f58ffc
card: New command 'authenticate'.

* tools/card-tool-misc.c (hex_to_buffer): New.
* tools/gpg-card-tool.c (get_data_from_file): Change to allow returning
a string.
(cmd_authenticate): New.
(cmds): Add command "authenticate".

Signed-off-by: Werner Koch <wk@gnupg.org>
tools/card-tool-misc.c
tools/card-tool.h
tools/gpg-card-tool.c