jchavannes / go-pgp

Layer on top of golang.org/x/crypto/openpgp to handle a few PGP use cases.
MIT License
60 stars 17 forks source link

Encrypt with expiry date and passphrase #10

Closed alistairdyer closed 1 year ago

alistairdyer commented 1 year ago

Hi,

Is there any way to create a key with an expiry date and passphrase?

Many thanks!

jchavannes commented 1 year ago

Hi @alistairdyer this repo only has basic functionality and does not support expire date or passphrase. I recommend looking into using the openpgp package directly: https://golang.org/x/crypto/openpgp