What gpg file format to import gpg keys into email account?

Hello,
i have some gpg keys for my email accounts on my linux.
Exporting it from thunderbird creates .asc files with

-----BEGIN PGP PUBLIC KEY BLOCK-----
...
-----END PGP PUBLIC KEY BLOCK-----

and

-----BEGIN PGP PRIVATE KEY BLOCK-----
...
-----END PGP PRIVATE KEY BLOCK-----

section.
Importing the files via settings → accounts → import did not work.
I did not find which file format is required for the import.

Many thanks for any help gabs5807

I think you can just copy the .gnupg folder to your home$.
I guess you will need some patch in order to sign mails from the genuine email client.

Thank you for the information.
I take a look to the gnupg sides and tried to import my key to the keyring.

gpg2 --import xxx@yyy-ABCDEF00.asc 
gpg: Ohhhh jeeee: mpi larger than packet
Abgebrochen (Speicherabzug geschrieben)

The problem is that the newer keys could not be imported because the gpg2 is to old :roll_eyes:

root@fp2-4:~ # gpg2 --version
gpg (GnuPG) 2.0.4 
...

The fix for my problem is on 2.0.28 release.

For me email encryption is a essential thing that should work :roll_eyes:.
Everybody talk about e2e encryption for various chat tools but the easiest implementation (for email) did not work? Very strange …

But many thanks again gabs5807

Unfortunately Jolla will stay on that ancient release because GNU changed the license to GPL3 after that.

1 Like

Also, there is no support for encrypted emails in the Jolla Email application. GPG can only be used for signing and verifying signatures.

1 Like

Many thanks for the info.
This is very sad :frowning_face:. With this approach the system will become unusable sooner or later :face_with_raised_eyebrow:.

I have to say: Without email encryption it is already unusable for me since years!