-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PGP key creation with passphrase #4
Comments
gpgeez.CreateKey does not currently support password/passphrases. Feel free to open a PR if you are able to, it would be a perfect fit as a wrapper around the underlying library. You'll need to check https://godoc.org/golang.org/x/crypto/openpgp#NewEntity to see if it supports passwords/passphrases. |
I think |
We're also interested in this for https://github.com/fluidkeys/fluidkeys, we're going to spend some time today working on this, will let you know how we get on :) |
That's great, let me know if you got any progress on that, thanks! |
@monirz This has proven much more difficult than I anticipated but today we successfully exported an RSA key (& subkey) with an encryption passphrase I had to fork golang/crypto to do this, and the code is a mess right now but tomorrow I'll clean it up (on our own fork) and in the next few weeks I'll submit pull requests back to golang/crypto and alokmenghrajani/gpgeez If you're interested the key is below!
|
Thanks for the update, looking forward to the PR. |
hi, where can i find the code? thnx |
Hello, is there a way creating PGP key with password using this package? Or is it even possible with
OpenPGP
package from Golang? I do not see any option for that. What I need is create a PGP key with password like what GnuPG/GPG tool does and later the password will be used for verifying the PGP key when someone will try to use it. So is there a way that I can achieve this using Golang instead of using GPG tool to generate the key? Thank you!The text was updated successfully, but these errors were encountered: