summaryrefslogtreecommitdiff
path: root/tools/fido2-cred.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-cred.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-cred.c')
-rw-r--r--tools/fido2-cred.c6
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
26usage(void) 26usage(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);