SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE


YUM REPOSITORY

 
 

MAN page from Fedora 17 ykpers-1.8.0-1.fc17.i686.rpm

ykchalresp

Section: Misc. Reference Manual Pages (1)
Updated: Febuary 2011
Index 

NAME

ykchalresp - Perform challenge-response operation with YubiKey 

SYNOPSIS

ykchalresp[-1 | -2] [-H] [-Y] [-N] [-x] [-v] [-h] 

DESCRIPTION

Send a challenge to a YubiKey, and read the response. The YubiKey can be configuredwith two different C/R modes -- the standard one is a 160 bits HMAC-SHA1, and the otheris a YubiKey OTP mimicing mode, meaning two subsequent calls with the same challengewill result in different responses. 

OPTIONS

-1
send the challenge to slot 1. This is the default.
-2
send the challenge to slot 2.
-H
send a 64 byte HMAC challenge. This is the default.
-Y
send a 6 byte Yubico OTP challenge.
-N
non-blocking mode -- abort if the YubiKey is configured to require a key press beforesending the response.
-x
challenge is hex encoded.
-v
enable verbose mode.

 

EXAMPLE

The YubiKey challenge-response operation can be demonstrated using theNIST PUB 198 A.2 test vector.First, program a YubiKey with the test vector :
$ ykpersonalize -2 -ochal-resp -ochal-hmac -ohmac-lt64 -a 303132333435363738393a3b3c3d3e3f40414243 ...
Commit? (y/n) [n]: y$
Now, send the NIST test challenge to the YubiKey and verify the result matches theexpected :
$ ykchalresp -2 'Sample #2'
0922d3405faa3d194f82a45830737d5cc6c75d24$

 

BUGS

Report ykchalresp bugs inhttps://github.com/Yubico/yubikey-personalization/issues laURL: L rathe issue tracker 

SEE ALSO

Thehttp://code.google.com/p/yubikey-personalization/ laURL: L raykpersonalize home page

YubiKeys can be obtained fromhttp://www.yubico.com/ laURL: L raYubico


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLE
BUGS
SEE ALSO

This document was created byman2html,using the manual pages.