# Importing GnuPG keys fails

**URL:** <https://forum.delta.chat/t/importing-gnupg-keys-fails/2299>\
**Category:** Uncategorized\
**Created:** [November 12, 2022, 7:17am UTC](https://forum.delta.chat/t/importing-gnupg-keys-fails/2299 "2022-11-12T07:17:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![notSoClever](https://forum.delta.chat/letter_avatar_proxy/v4/letter/n/d2c977/32.png) [@notSoClever](https://forum.delta.chat/u/notSoClever)\
**Post date:** [November 12, 2022, 7:17am UTC](https://forum.delta.chat/t/importing-gnupg-keys-fails/2299/1 "2022-11-12T07:17:23Z")

</div>

My procedure to create unprotected GnuPG key files was:

1. create option file “gpg-create-keyPair-without-passphrase.txt” with following lines

2. Generate GnuPGP key pair

3. Export private and public key to some folder to be used to import into DeltaChat:

Why key import in DeltaChat failing from folder \DeltaChat ?  
Do I need to change something in my “gpg-create-keyPair-without-passphrase.txt” to create compatible keys?

---

<div class="post-metadata">

**Author:** ![link2xt](https://forum.delta.chat/letter_avatar_proxy/v4/letter/l/ee7513/32.png) [@link2xt](https://forum.delta.chat/u/link2xt)\
**Post date:** [January 17, 2024, 12:25pm UTC](https://forum.delta.chat/t/importing-gnupg-keys-fails/2299/2 "2024-01-17T12:25:18Z")

</div>

I tried this, it fails with an error about DSA. DSA keys are not supported in rPGP, the implementaion of OpenPGP that Delta Chat uses, and it is unlikely that support will be added because it is superseded by RSA. Besides that, DSA-1024 is not considered secure for more than 10 years already.

Use ECC (Curve 25519) instead.

---

<div class="post-metadata">

**Author:** ![r10s](https://forum.delta.chat/user_avatar/forum.delta.chat/r10s/32/1513_2.png) [@r10s](https://forum.delta.chat/u/r10s)\
**Post date:** [February 21, 2026, 11:59am UTC](https://forum.delta.chat/t/importing-gnupg-keys-fails/2299/3 "2026-02-21T11:59:58Z")

</div>


