bifroest key generate
Creates an Ed25519 private key in OpenSSH format. The command never replaces an existing file and never writes private key material to stdout. Private files use mode 0400 on Unix and a protected DACL on Windows.
If --publicFile is set, the corresponding public key is additionally written as one LF-terminated OpenSSH public-key line.
Syntax
Arguments
None.
Flags
Includes all general flags.
--identityFile
Private key file to create.
--publicFile
Optional public key file to create. It has to differ from identityFile and is never replaced. This explicit output does not enable automatic .pub companion files.
Output
The requested private key and optional public-key file. Private key material is never written to stdout. Existing destination files are not replaced.
Examples
Create a dedicated evidence-encryption recipient
- On the trusted workstation, prepare a private directory for the recipient key.
-
Generate the pair:
1 2 3
bifroest key generate \ --identityFile /srv/audit-keys/recipient-key \ --publicFile /srv/audit-keys/recipient-key.pub -
Transfer only the public key and configure its server-side use following the encrypted-evidence guide. The full audit configuration example also covers disconnected verification.
Availability
linux |
darwin |
windows |
|---|---|---|
| / | / | / |
Invocation modes
| Local CLI | @target |
Direct SSH |
|---|---|---|