diff options
Diffstat (limited to 'sq')
-rw-r--r-- | sq/sq-usage.md | 2 | ||||
-rw-r--r-- | sq/src/commands/key.rs | 3 | ||||
-rw-r--r-- | sq/src/sq_cli/key.rs | 3 |
3 files changed, 6 insertions, 2 deletions
diff --git a/sq/sq-usage.md b/sq/sq-usage.md index 5d39f2ea..fefe5cdd 100644 --- a/sq/sq-usage.md +++ b/sq/sq-usage.md @@ -430,7 +430,7 @@ OPTIONS: Selects the cryptographic algorithms for the key [default: cv25519] - [possible values: rsa3k, rsa4k, cv25519] + [possible values: rsa3k, rsa4k, cv25519, cv448] --can-authenticate Adds an authentication-capable subkey (default) diff --git a/sq/src/commands/key.rs b/sq/src/commands/key.rs index d428ceb0..7710da04 100644 --- a/sq/src/commands/key.rs +++ b/sq/src/commands/key.rs @@ -98,6 +98,9 @@ fn generate( Cv25519 => { builder = builder.set_cipher_suite(CipherSuite::Cv25519); } + Cv448 => { + builder = builder.set_cipher_suite(CipherSuite::Cv448); + } } // Signing Capability diff --git a/sq/src/sq_cli/key.rs b/sq/src/sq_cli/key.rs index 526df6dd..b30aa1ef 100644 --- a/sq/src/sq_cli/key.rs +++ b/sq/src/sq_cli/key.rs @@ -203,7 +203,8 @@ $ sq key generate --creation-time 20110609T1938+0200 --export noam.pgp pub enum CipherSuite { Rsa3k, Rsa4k, - Cv25519 + Cv25519, + Cv448, } #[derive(ArgEnum, Clone, Debug)] |