Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

How to create ed25519 subkey in GPG?

+1
−0

At the moment GPG only offers the following options when generating a new subkey the with the addkey command:

gpg> addkey
Please select what kind of key you want:
   (3) DSA (sign only)
   (4) RSA (sign only)
   (5) Elgamal (encrypt only)
   (6) RSA (encrypt only)
  (14) Existing key from card
Your selection?

None of them uses the ed25519 elliptic curve. Yet it's possible to use this curve when generating a totally new key, so presumably it's somehow possible when creating just a subkey as well?

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

1 answer

+1
−0

By using the non-interactive --quick-add-key method. This adds separate signing and encryption subkeys with expiration date one year from now:

$ gpg --quick-add-key YOUR-PRIMARY-KEY-ID ed25519 sign 1y
$ gpg --quick-add-key YOUR-PRIMARY-KEY-ID cv25519 encr 1y

Source: An abridged guide to using ed25519 PGP keys with GnuPG and SSH by Matt Sicker

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

0 comment threads

Sign up to answer this question »