Skip to content

python-gnupg needs passphrase #7

@Imbernix

Description

@Imbernix

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions