---
name: "ykksm-gen-keys"
section: "1"
platform: "linux"
package: "yubikey-ksm"
version: "1.15-6"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/ykksm-gen-keys"
---

# ykksm-gen-keys(1)

Tool to generate keys on the YKKSM-KEYPROV format.

## NAME

ykksm-gen-keys - Tool to generate keys on the YKKSM-KEYPROV format.

## SYNOPSIS

**ykksm-gen-keys** \[*--verbose*\] \[*--help*\] \[*--urandom*\] \[*--progflags PROGFLAGS*\] \[*--pskc*\] *START* \[*END*\]

## DESCRIPTION

Tool to generate keys on the YKKSM-KEYPROV format.

START: Decimal start point.

END:   Decimal end point, if absent START is used as END.

- **--urandom**:

  Use */dev/urandom* instead of */dev/random* as entropy source.

**--progflags** PROGFLAGS: Add a final personalization configuration string.

**--pskc**: Output keys on the YubiKey PSKC format.

Usage example:

-

  ./ykksm-gen-keys **--urandom** 1 10 \|

-

  gpg **-a** **--sign** **--encrypt** **-r** 1D2F473E \> keys.txt
