summaryrefslogtreecommitdiff
path: root/tools/fido2-assert.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2020-09-20 17:48:15 +0100
committerColin Watson <cjwatson@debian.org>2020-09-20 17:48:15 +0100
commit05fa6dd7724ccfd1c183e6e4bf9d22eb12abea8c (patch)
tree71d3eccc33c93c230b021c72f1fb9cf2247bf6c0 /tools/fido2-assert.c
parentb77d6ed4d47acbc836f05be0e9f4abeb104e21ff (diff)
parent173bfbf7886608a4a7abbfac6a42ac4bf4a3432d (diff)
Update upstream source from tag 'upstream/1.5.0'
Update to upstream version '1.5.0' with Debian dir 102fd7ed15b138200444754d256b136933185ec2
Diffstat (limited to 'tools/fido2-assert.c')
-rw-r--r--tools/fido2-assert.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/fido2-assert.c b/tools/fido2-assert.c
index 9ce537a..7fd7632 100644
--- a/tools/fido2-assert.c
+++ b/tools/fido2-assert.c
@@ -11,10 +11,10 @@
11 * $ echo relying party >> assert_param 11 * $ echo relying party >> assert_param
12 * $ head -1 cred >> assert_param # credential id 12 * $ head -1 cred >> assert_param # credential id
13 * $ tail -n +2 cred > pubkey # credential pubkey 13 * $ tail -n +2 cred > pubkey # credential pubkey
14 * $ fido2-assert -G -i assert_param /dev/hidraw5 | fido2-assert -V pubkey rs256 14 * $ fido2-assert -G -i assert_param /dev/hidraw5 | fido2-assert -V pubkey rs256
15 * 15 *
16 * See blurb in fido2-cred.c on how to obtain cred. 16 * See blurb in fido2-cred.c on how to obtain cred.
17 */ 17 */
18 18
19#include <fido.h> 19#include <fido.h>
20#include <stdio.h> 20#include <stdio.h>
@@ -28,7 +28,7 @@ void
28usage(void) 28usage(void)
29{ 29{
30 fprintf(stderr, 30 fprintf(stderr,
31"usage: fido2-assert -G [-dhpruv] [-i input_file] [-o output_file] device\n" 31"usage: fido2-assert -G [-dhpruv] [-t option] [-i input_file] [-o output_file] device\n"
32" fido2-assert -V [-dhpv] [-i input_file] key_file [type]\n" 32" fido2-assert -V [-dhpv] [-i input_file] key_file [type]\n"
33 ); 33 );
34 34