age seems to be the new hot thing to encrypt data.

However, when you generate a key pair, the private key just sits as a plaintext file on your computer.

Maybe I’m too used to PGP, but this makes me a bit nervous. There doesn’t see to be a key manager that allows you to pass in a key id with which you encrypt / decrypt. It’s all done using the public key directly in the command line (for encrypting), or the plaintext private key file (to decrypt).

Am I missing something? Is there a better / easier way to manage these private key files?

  • mim@lemmy.sdf.orgOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    1 year ago

    Have you actually used age?

    Unlike gpg, encryption of the private key is not default (or straightforward). It also doesn’t have a key management system