Re:What to Use Instead of PGP
by some_furry on Saturday November 16, 2024 @01:48AM
(#42154899)
It looks like age with SSH keys uses a birationally equivalent keypair.
https://github.com/FiloSottile/age/blob/176e245b3cb3ada322c2...
If you're using, for example, libsodium, you'd want the Ed25519 to X25519 functions to convert the two. (Note that you need to operate over raw bytes to do this.)
In practice, you shouldn't do this. Use different keys for different purposes!
Even with "ssh-ed25519" [1]?
I looked at a ssh-ed25519 example [2] but i don't see how it can be extracted from the minisign secret key format [3], for example:
ssh-ed25519:
minisign secret key format: [1] https://github.com/FiloSottile/age#user-content-ssh-keys[2] https://www.unixtutorial.org/how-to-generate-ed25519-ssh-key...
[3] https://jedisct1.github.io/minisign/#secret-key-format