yhsm-yubikey-ksm(1) General Commands Manual yhsm-yubikey-ksm(1)NAME
yhsm-yubikey-ksm - Decrypt YubiKey OTPs using an attached YubiHSM
SYNOPSIS
yhsm-yubikey-ksm --key-handles ... [options]
DESCRIPTION
This is a small network server with a REST-like API that decodes YubiKey OTPs.
It can be used as a decryption backend (Key Storage Module) to a validation service such as the YubiCloud.
The AES keys of the YubiKeys must be present as AEAD files decryptable to the attached YubiHSM. Such AEADs can for example be created using
yhsm-import-keys(1).
Note that this daemon is single threaded - it will only handle a single request at once. A request timeout is therefor most important.
OPTIONS -D, --device
device file name (default: /dev/ttyACM0)
-v, --verbose
enable verbose operation
--debug
enable debug printout, including all data sent to/from YubiHSM
--U, --serve-url base
base of URL for decrypt web service (default: /yhsm/validate?)
--port num
port to listen on (default: 8002)
--addr addr
address to bind to (default: 127.0.0.1)
--key-handles kh, --key-handle kh
key handles to use for decoding OTPs. Examples : "1", "0xabcd".
--aead-dir dir, -B dir
base directory for AEADs (default: /var/cache/yubikey-ksm/aeads)
--reqtimeout num
number of seconds before a request times out (default: 5)
--pid-file fn
write process id of server to this file
BUGS
Report python-pyhsm/yhsm-yubikey-ksm bugs in the issue tracker <https://github.com/Yubico/python-pyhsm/issues/>
SEE ALSO
The python-yubico home page <https://github.com/Yubico/python-pyhsm/>
YubiHSMs can be obtained from Yubico <http://www.yubico.com/>.
python-pyhsm December 2011 yhsm-yubikey-ksm(1)
Check Out this Related Man Page
yhsm-init-oath-token(1) General Commands Manual yhsm-init-oath-token(1)NAME
yhsm-init-oath-token - Tool to add an OATH token to the yhsm-validation-server(1) database.
SYNOPSIS
yhsm-init-oath-token --key-handle kh --uid name [options]
DESCRIPTION
Use this tool to add OATH token entrys to the yhsm-validation-server(1) database.
OPTIONS -D, --device
device file name (default: /dev/ttyACM0)
-v, --verbose
enable verbose operation
--debug
enable debug printout, including all data sent to/from YubiHSM
--force
overwrite any present entry
--key-handle kh
key handle to create AEAD. Examples : "1", "0xabcd".
--uid name
user id (lookup key in token database)
--oath-c num
initial OATH counter value (integer)
--test-oath-window num
number of codes to search with --test-code
--test-code digits
optional OTP from token for verification
--oath-k str
secret HMAC-SHA-1 key of the token, hex encoded
--db-file fn
db file for storing AEADs for later use by the yhsm-validation-server(1) (default: /var/yubico/yhsm-validation-server.db)
EXIT STATUS
0 YubiHSM keystore successfully unlocked
1 Failed to unlock keystore
255 Client ID not found in internal database
BUGS
Report python-pyhsm/yhsm-init-oath-token bugs in the issue tracker <https://github.com/Yubico/python-pyhsm/issues/>
SEE ALSO
The python-yubico home page <https://github.com/Yubico/python-pyhsm/>
YubiHSMs can be obtained from Yubico <http://www.yubico.com/>.
python-pyhsm December 2011 yhsm-init-oath-token(1)
Hi, with this command:
cu -l /dev/ttyACM0 -s 9600 > name.txt
I put the output of the port in a txt
Is posible to do the same (or similar) in a var directly, inside a C program?
cu -l /dev/ttyACM0 -s 9600 > variable ?
I have trying this withs pipes, but i dont know how to... (6 Replies)
Hi i had this python script to sort source dir by file extension and cp to individual extension destination dir. i would like to ask on how to add an option for size sorting somewhat like
# <script.py> -size <range 10k-20k>,<range 30k-40k>,..... source destination
Im a beginner and doing my... (2 Replies)
Hi all,
I have an MS-Sql 2008 server. I need to perform a bulk insert of data (over 1 million records every hour) from an Ubuntu box. Doing this in python using pymssql takes about 30 seconds for every 100,000 records.
I've installed the freetds suite on this ubuntu box. While tsql and isql... (0 Replies)