maqpna keygen
Generate an Ed25519 signing key pair for session identities (dev and CI)
Synopsis#
maqpna keygen -out DIR [--name identity] [--force]Flags#
| Flag | Type | Description | Default |
|---|---|---|---|
--force | switch | overwrite existing key | none |
--name | string | file base name | identity |
--out | string | output directory | . |
The global flags (--context, -o, --no-color, ...) work with every command.
Examples#
maqpna keygen -out ./keys
maqpna keygen -out ./keys --name ci-identity --forceWhat happens when you run it#
--force: overwrite existing key.
Exit codes#
| Code | Meaning |
|---|---|
0 | success |
1 | error (the message says what failed, with a hint when there is one) |
2 | usage error: unknown flag, missing argument or bad value; the synopsis is printed |
3 | a check failed, a change is blocked, or a result did not match (tamper, policy mismatch) (not used by this command) |