What to Use Instead of PGP Posted by todsacerdoti on Friday November 15, 2024 @12:31PM from the soatok.blog dept. https://soatok.blog/2024/11/15/what-to-use-instead-of-pgp/ ( 4 comments | 6 points | on HN )
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
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!