EnglishFrenchSpanish

OnWorks favicon

yhsm-generate-keys - Online in the Cloud

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

This is the command yhsm-generate-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-generate-keys ‐ Generate AEADs with secrets for YubiKeys using a YubiHSM

SYNOPSIS


yhsm-generate-keys --key-handles KEY_HANDLES --start-public-id START_ID [options]

DESCRIPTION


With this tool, a YubiHSM can generate random secrets (using it's internal true random
number generator), and these secrets protected in AEAD files can be stored on the host
computer.

The AEADs will be ready to be used by for example yhsm-yubikey-ksm(1) ), as a part of a
YubiKey OTP validation service.

To program YubiKeys with the generated secrets, it is possible to decrypt the AEADs
(knowledge of the AES key used inside the YubiHSM is required) using yhsm-decrypt-aead(1)

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.

-O dir Base output directory (default: /var/cache/yubikey-ksm/aeads).

-c integer
Number of AEADs to generate.

--public-id-chars integer
Number of chars in generated public ids (default: 12). Changing this might not work
well.

--key-handles kh [kh ...]
Key handles to encrypt the generated secrets with. Examples : "1", "0xabcd".

--start-public-id id
Public id of the first generated secret, in modhex.

--random-nonce
Use random nonce generated from YubiHSM.

EXIT STATUS


0 Secrets generated successfully.

1 Failed to generate secrets.

Use yhsm-generate-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