[SOLVED] Re: thunderbird can not import gpg-key
Am Samstag, 25. März 2023, 15:52:03 CET schrieb Hans:
I am answering myself.
It is now working. Problem was, that I first tried to use the 
"lkhjpoqwrpoqfjiah.key" files below ".gnupg/private-keys--v1.d/, which did not 
work.
Then, during testings, I changed permissions of .gnupg, which led to a new 
error.
Reverting this, I tried "gpg -K" and then saw the keys with its name.
Then I could export the keys using the correct syntax (name of the key, not 
some filename). Such I got a new file, which could be imported into 
thunderbird.
So, one mistake led to another, however, now its working and I learnt 
something.
Thanks for all the help.
Best regards
Hans
> Hmm, maybe it is because I changed the permissions during my testing
> purposes.
> 
> I reset them to original and tried again.
> 
> The error is gone, but nothing is exported.
> 
> Ok, thanks guys, I will try some more. Maybe kleopatra is interfeering with
> my keys.
> 
> If I know more, I will let you know.
> 
> Best regards
> 
> Hans
> 
> > Did you read the output of the command? You have unsafe permissions on
> > your
> > .gnupg directory, therefore nothing was exported.
> > 
> > Not strange at all...
> > 
> > Cheers,
> > Tom
Reply to: