ykgenerate(1)

ykgenerate1

Construct and encrypt an otp from given data

Usage

ykgenerate AESKEY YK_INTERNALNAME YK_COUNTER YK_LOW YK_HIGH YK_USE

Overview

Generate OTPs by encrypting given values under the given encryption key.

Options

AESKEY

The 16-character AES-128 key to use in hex.

YK_INTERNALNAME

Hex encoded internal identity (48 bit).

YK_COUNTER

Hex encoded counter (16 bit).

YK_LOW

Hex encoded timestamp low (16 bit).

YK_HIGH

Hex encoded timestamp high (8bit).

YK_USE

Hex encoded use (8 bit).

Examples

Typical usage of the tool is as follows.

ykgenerate ecde18dbe76fbd0c33330f1c354871db 8792ebfe26cc 0013 c0a8 00 10

Use ykparse(1) to decode the resulting OTP.

Releases

7 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8
  2. 9–Arch

From yubico-c 1.13-8 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.