EnglishFrenchSpanish

OnWorks favicon

yhsm-import-keys - Online in the Cloud

Run yhsm-import-keys in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command yhsm-import-keys that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


yhsm-import-keys ‐ import YubiKey secrets to YubiHSM

SYNOPSIS


yhsm-import-keys --key-handles ... [options]

DESCRIPTION


Read YubiKey token data from standard input, and store it in files or in the YubiHSM
internal database.

The default mode is to turn each YubiKey secret into an AEAD (Authenticated Encryption
with Associated Data) block that is stored in a file on the host computer (one file per
YubiKey). This enables validation of virtually unlimited numbers of YubiKey's OTPs.

If --internal-db is used, the YubiKey secret will be stored inside the YubiHSM, and
complete validation (including counter management) will be done inside the YubiHSM. The
internal database is currently limited to 1024 entrys.

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

--public_id_chars num
number of chars to pad public id to (default: 12)

--key-handles kh
key handles to use for decoding OTPs. Examples : "1", "0xabcd"

--output-dir dir, --aead-dir dir, -O dir
base directory for AEADs (default: /var/cache/yubikey-ksm/aeads)

--internal-db
add entrys to YubiHSM internal database, rather than creating AEAD files

--random-nonce
use random nonce generated from YubiHSM

INPUT FORMAT


The format of the input matches the export format of various Yubico tools, notably the PHP
based soft KSM ⟨http://code.google.com/p/yubikey-ksm/⟩.

An example file, with a single entry for id 4711 would be :

# ykksm 1
123456,ftftftcccc,534543524554,fcacd309a20ce1809c2db257f0e8d6ea,000000000000,,,

(seqno, public id, private uid, AES key, dunno,,,)

The #ykksm 1 is a file marker, and has to be on the very first line of input.

Use yhsm-import-keys online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    formkiq-core
    formkiq-core
    FormKiQ Core is an Open Source Document
    Management System (DMS), available to
    run as a headless software or with a
    web-based client, deployed to your
    Amazon We...
    Download formkiq-core
  • 2
    Blackfriday
    Blackfriday
    Blackfriday is a Markdown processor
    implemented in Go. It is paranoid about
    its input (so you can safely feed it
    user-supplied data), it is fast, it
    supports c...
    Download Blackfriday
  • 3
    QNAP NAS GPL Source
    QNAP NAS GPL Source
    GPL source for QNAP Turbo NAS.
    Audience: Developers. User interface:
    Web-based. Programming Language: C,
    Java. Categories:System, Storage,
    Operating System Ker...
    Download QNAP NAS GPL Source
  • 4
    deep-clean
    deep-clean
    A Kotlin script that nukes all build
    caches from Gradle/Android projects.
    Useful when Gradle or the IDE let you
    down. The script has been tested on
    macOS, but ...
    Download deep-clean
  • 5
    Eclipse Checkstyle Plug-in
    Eclipse Checkstyle Plug-in
    The Eclipse Checkstyle plug-in
    integrates the Checkstyle Java code
    auditor into the Eclipse IDE. The
    plug-in provides real-time feedback to
    the user about viol...
    Download Eclipse Checkstyle Plug-in
  • 6
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • More »

Linux commands

Ad