diff options
Diffstat (limited to 'tools/fido2-cred.c')
-rw-r--r-- | tools/fido2-cred.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/fido2-cred.c b/tools/fido2-cred.c index 45efca0..ce277f5 100644 --- a/tools/fido2-cred.c +++ b/tools/fido2-cred.c | |||
@@ -12,7 +12,7 @@ | |||
12 | * $ echo user name >> cred_param | 12 | * $ echo user name >> cred_param |
13 | * $ dd if=/dev/urandom bs=1 count=32 | base64 >> cred_param | 13 | * $ dd if=/dev/urandom bs=1 count=32 | base64 >> cred_param |
14 | * $ fido2-cred -M -i cred_param /dev/hidraw5 | fido2-cred -V -o cred | 14 | * $ fido2-cred -M -i cred_param /dev/hidraw5 | fido2-cred -V -o cred |
15 | */ | 15 | */ |
16 | 16 | ||
17 | #include <fido.h> | 17 | #include <fido.h> |
18 | #include <stdio.h> | 18 | #include <stdio.h> |
@@ -26,8 +26,8 @@ void | |||
26 | usage(void) | 26 | usage(void) |
27 | { | 27 | { |
28 | fprintf(stderr, | 28 | fprintf(stderr, |
29 | "usage: fido2-cred -M [-dhqruv] [-i input_file] [-o output_file] device [type]\n" | 29 | "usage: fido2-cred -M [-dhqruv] [-c cred_protect] [-i input_file] [-o output_file] device [type]\n" |
30 | " fido2-cred -V [-dhv] [-i input_file] [-o output_file] [type]\n" | 30 | " fido2-cred -V [-dhv] [-c cred_protect] [-i input_file] [-o output_file] [type]\n" |
31 | ); | 31 | ); |
32 | 32 | ||
33 | exit(1); | 33 | exit(1); |