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

Importing PGP keys by setting 'gpg --homedir ~/.thunderbird/xxxx-release/ --import keys.asc' does not import secret keys properly? #99

Open
excited-bore opened this issue Aug 6, 2024 · 0 comments

Comments

@excited-bore
Copy link

excited-bore commented Aug 6, 2024

I've tried a bunch of times importing secret keys made by gpg to the ~/.thunderbird/xxx-release/ folder without using the builtin OpenGPG Manager because I like to automate the creation / deletion of files. Everytime I import my keys
using
gpg --export-secret-keys | gpg --homedir ~/.thunderbird/xxxx-release/ --import
, they fail to get recognized.
When I go look to the mails of the keys I just imported in the OpenGPG manager I never see a key in bold.
(When I set 'mail.openpgp.allow_external_gnupg true' in the config editor it still doesn't update the new keys, but everything does work automagically).

Exporting to file and importing through 'Import secret keys from file' does alleviate this issue, but I'm trying to automate key importing/exporting using scripts. I also prefer to avoid importing through the UI because I always get confused by trying to import public keys instead of secret keys. That's more of a nitpick, but i just don't understand why there are multiple 'Import from file' options in the first place when even gpg with its thousands of options only offers '--import'.

OS: Manjaro 24.0.5 Wynsdey
Thunderbird version: 115.12.2
Gpg version: 2.4.5

@excited-bore excited-bore changed the title Importing keys by setting 'gpg --homedir ~/.thunderbird/xxxx-release/ --import keys.asc' does not import secret keys properly? Importing PGP keys by setting 'gpg --homedir ~/.thunderbird/xxxx-release/ --import keys.asc' does not import secret keys properly? Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant