DOKK / manpages / debian 10 / yhsm-validation-server / yhsm-init-oath-token.1.en
yhsm-init-oath-token(1) General Commands Manual yhsm-init-oath-token(1)

yhsm-init-oath-token ‐ Tool to add an OATH token to the yhsm-validation-server(1) database.

yhsm-init-oath-token --key-handle kh --uid name [options]

Use this tool to add OATH token entries to the yhsm-validation-server(1) database.

device file name (default: /dev/ttyACM0)
enable verbose operation
enable debug printout, including all data sent to/from YubiHSM
overwrite any present entry
key handle to create AEAD. Examples : "1", "0xabcd".
user id (lookup key in token database)
initial OATH counter value (integer)
number of codes to search with --test-code
optional OTP from token for verification
secret HMAC-SHA-1 key of the token, hex encoded
db file for storing AEADs for later use by the yhsm-validation-server(1) (default: /var/yubico/yhsm-validation-server.db)

0
YubiHSM keystore successfully unlocked
1
Failed to unlock keystore
255
Client ID not found in internal database

Report python-pyhsm/yhsm-init-oath-token bugs in the issue tracker ⟨URL: https://github.com/Yubico/python-pyhsm/issues/ ⟩

The home page ⟨URL: https://developers.yubico.com/python-pyhsm/ ⟩

YubiHSMs can be obtained from Yubico ⟨URL: http://www.yubico.com/ ⟩.

December 2011 python-pyhsm