Skip to content
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

python-gnupg needs passphrase #7

Closed
Imbernix opened this issue Apr 11, 2020 · 2 comments
Closed

python-gnupg needs passphrase #7

Imbernix opened this issue Apr 11, 2020 · 2 comments

Comments

@Imbernix
Copy link

Imbernix commented Apr 11, 2020

python manage.py email_signing_key --generate
does not seem to work unless you add
"Passphrase":"xxxxx"
to
SECURE_MAIL_SIGNING_KEY_DATA
and trying to use
python manage.py email_signing_key 7AB59FE794A7AC12EBA87507EF33F601153CFE28 --print-private-key
returns nothing and it writing a script to return the private key I got this error

ValueError: For GnuPG >= 2.1, exporting secret keys needs a passphrase to be provided

Maybe, I've missed something in the documentation or not but anyway hopefully this helps someone.

@Imbernix Imbernix changed the title python-gnupg needs passphrase causes some headache python-gnupg needs passphrase Apr 11, 2020
@Imbernix
Copy link
Author

I believe I solved it here
#8

@blag
Copy link
Owner

blag commented Jul 23, 2020

I have just pushed out version 1.2.0 to PyPI, which fixes this issue. Closing. If you find that the issue is not fixed, or if it gets reopened in the future (it shouldn't), comment here and I'll reopen it.

@blag blag closed this as completed Jul 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants