oct-admin-generate(1)

πŸ“¦
version 0.11.13 Β· 2 versions
, in arch rolling, nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, this is oct-admin-generate(1) from the General Commands Manual β€” the page all about generating a key on the card ✨. The name is oct-admin-generate β€” Generate a Key on the card. Periodt πŸ’….

🫢 SYNOPSIS 🫢

The exact call, character for character, no cap:

oct admin generate <-o|--output> [--no-dec] [--no-aut] <-u|--userid>
[-p|--user-pin] [-h|--help] [algorithm]

πŸ’… DESCRIPTION πŸ’…

Generate a Key on the card. That's the vibe and the whole job 😌.

The way that this works: a signing key is always created β€” always, bestie, main character energy. Decryption and authentication keys are optional, so you can skip them with the flags below πŸŽ€.

πŸŽ€ OPTIONS πŸŽ€

  • -o, --output <output> β€” Output file. It's giving β€œwhere the output goes,” bestie πŸ’–.
  • --no-dec β€” Do not create a key in the DEC slot. So the DEC slot gets no new key, fr fr.
  • --no-aut β€” Do not create a key in the AUT slot. Same energy for the AUT slot πŸ’€.
  • -u, --userid <User ID> β€” User ID to add to the exported certificate representation. That's the User ID that goes into the exported certificate representation, iykyk πŸ¦‹.
  • -p, --user-pin <User PIN file> β€” Optionally, get User PIN from a file. Optional is literally in the name of the vibe here πŸ™ˆ.
  • -h, --help β€” Print help (see a summary with -h). Iconic little helper behavior ✨.
  • [algorithm] β€” Choose the algorithm for the key material to generate on the card.

If the parameter is not given, use the algorithm currently set on the card.

Specific cards support a set of algorithms that can differ between models. On modern cards, use 'oct info' to see the list of supported algorithms.

Possible values:

  • rsa2048
  • rsa3072
  • rsa4096
  • nistp256
  • nistp384
  • nistp521
  • curve25519

Cute sign-off πŸ’Œ: footer source/version energy is oct-admin-generate + oct-admin-generate(1), and the date slot isn't shown in this footer β€” so no fake date, bestie 🫢. Byeee πŸ‘‘πŸ’…

πŸ“¦ where this page comes from