Skip to content

Commit fced720

Browse files
NicolaiSoeborgfrankmorgner
authored andcommitted
OpenPGP-card: Note about generating non-RSA keys
Specifying `--key-type` with a non RSA key type (for a OpenPGP card that supports Curve25519) results in this error: > error: Generating non-RSA keys is not yet implemented
1 parent 826bfb9 commit fced720

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

OpenPGP-card.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ openpgp-tool --verify CHV3 --pin 12345678 --gen-key 1 --key-len 1024
9999
100100
In which, `--genkey 3` means that we're generating key with ID=3. The three keys in the have these IDs: Singing key: 1, Decryption key: 2, Authentication: 3.
101101

102+
Generating non-RSA keys is not yet implemented in `openpgp-tool`.
103+
102104
`--key-length 1024` means that the key is 1024-bit. We can specify bit length: 1024, 2048, 3072, 4096.
103105
If this option is absent, default key length 2048-bit is used.
104106
+Gnuk:+ Gnuk only supports 2048-bit key, so don’t specify `--key-length` option, you also have to delete old key before generating or import new one.

0 commit comments

Comments
 (0)