@@ -391,8 +391,8 @@ static void parse_args(int argc, char *argv[], struct args *args) {
391
391
" -V, --user-verification Require user verification during authentication\n"
392
392
" -d, --debug Print debug information\n"
393
393
" -v, --verbose Print information about chosen origin and appid\n"
394
- " -u, --username=STRING The name of the user registering the device, \n"
395
- " defaults to the current user name\n"
394
+ " -u, --username=STRING The name of the user registering the FIDO \n"
395
+ " authenticator, defaults to the current user name\n"
396
396
" -n, --nouser Print only registration information (key handle,\n"
397
397
" public key, and options), useful for appending\n"
398
398
"\n"
@@ -475,37 +475,37 @@ int main(int argc, char *argv[]) {
475
475
476
476
r = fido_dev_info_manifest (devlist , DEVLIST_LEN , & ndevs );
477
477
if (r != FIDO_OK ) {
478
- fprintf (stderr , "Unable to discover device (s), %s (%d)\n" , fido_strerr ( r ) ,
479
- r );
478
+ fprintf (stderr , "Unable to discover FIDO authenticator (s), %s (%d)\n" ,
479
+ fido_strerr ( r ), r );
480
480
goto err ;
481
481
}
482
482
483
483
if (ndevs == 0 ) {
484
484
for (int i = 0 ; i < TIMEOUT ; i += FREQUENCY ) {
485
485
fprintf (stderr ,
486
- "\rNo U2F device available, please insert one now, you "
486
+ "\rNo FIDO authenticator available, please insert one now, you "
487
487
"have %2d seconds" ,
488
488
TIMEOUT - i );
489
489
fflush (stderr );
490
490
sleep (FREQUENCY );
491
491
492
492
r = fido_dev_info_manifest (devlist , DEVLIST_LEN , & ndevs );
493
493
if (r != FIDO_OK ) {
494
- fprintf (stderr , "\nUnable to discover device (s), %s (%d)" ,
494
+ fprintf (stderr , "\nUnable to discover FIDO authenticator (s), %s (%d)\n " ,
495
495
fido_strerr (r ), r );
496
496
goto err ;
497
497
}
498
498
499
499
if (ndevs != 0 ) {
500
- fprintf (stderr , "\nDevice found!\n" );
500
+ fprintf (stderr , "\nFIDO authenticator found!\n" );
501
501
break ;
502
502
}
503
503
}
504
504
}
505
505
506
506
if (ndevs == 0 ) {
507
- fprintf (stderr , "\rNo device found. Aborting. "
508
- " \n" );
507
+ fprintf (stderr , "\rNo FIDO authenticator found. Aborting. "
508
+ " \n" );
509
509
goto err ;
510
510
}
511
511
@@ -537,14 +537,16 @@ int main(int argc, char *argv[]) {
537
537
goto err ;
538
538
}
539
539
if (args .pin_verification && !(devopts & PIN_SET )) {
540
- warnx ("%s" , devopts & PIN_UNSET ? "device has no PIN"
541
- : "device does not support PIN" );
540
+ warnx ("%s" , devopts & PIN_UNSET
541
+ ? "FIDO authenticator has no PIN"
542
+ : "FIDO authenticator does not support PIN" );
542
543
goto err ;
543
544
}
544
545
if (args .user_verification && !(devopts & UV_SET )) {
545
- warnx ("%s" , devopts & UV_UNSET
546
- ? "device has no built-in user verification configured"
547
- : "device does not support built-in user verification" );
546
+ warnx ("%s" ,
547
+ devopts & UV_UNSET
548
+ ? "FIDO authenticator has no built-in user verification configured"
549
+ : "FIDO authenticator does not support built-in user verification" );
548
550
goto err ;
549
551
}
550
552
if ((devopts & (UV_REQD | PIN_SET | UV_SET )) == UV_REQD ) {
0 commit comments