# Imported PGP public isn't displayed

**URL:** <https://community.ciphermail.com/t/imported-pgp-public-isnt-displayed/830>\
**Category:** Gateway\
**Created:** [February 26, 2023, 9:38am UTC](https://community.ciphermail.com/t/imported-pgp-public-isnt-displayed/830 "2023-02-26T09:38:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![smguenther](https://dub1.discourse-cdn.com/flex017/user_avatar/community.ciphermail.com/smguenther/32/179_2.png) [@smguenther](https://community.ciphermail.com/u/smguenther)\
**Post date:** [February 26, 2023, 9:38am UTC](https://community.ciphermail.com/t/imported-pgp-public-isnt-displayed/830/1 "2023-02-26T09:38:00Z")

</div>

Hello,  
we have downloaded a pgp public key for a known contact. When I import the key on a Ciphermail system version 5.4.1.0, the webinterface reports a successful import. But although no filter is active, the key is not displayed. When we create an account for that key, we cannot select it as encryption key either.  
On an old CM 4.10.0-0 system the key is visible after the import.

What could be the reason, that the key is imported but not visible on the current system?

Thanks for any hints or suggestions,

Stefan

---

<div class="post-metadata">

**Author:** ![martijn](https://dub1.discourse-cdn.com/flex017/user_avatar/community.ciphermail.com/martijn/32/127_2.png) [@martijn](https://community.ciphermail.com/u/martijn)\
**Post date:** [February 27, 2023, 8:54am UTC](https://community.ciphermail.com/t/imported-pgp-public-isnt-displayed/830/2 "2023-02-27T08:54:40Z")

</div>

Is it possible to attach the key so I can have a look?

---

<div class="post-metadata">

**Author:** ![smguenther](https://dub1.discourse-cdn.com/flex017/user_avatar/community.ciphermail.com/smguenther/32/179_2.png) [@smguenther](https://community.ciphermail.com/u/smguenther)\
**Post date:** [February 27, 2023, 5:28pm UTC](https://community.ciphermail.com/t/imported-pgp-public-isnt-displayed/830/3 "2023-02-27T17:28:52Z")

</div>

As a new user I’m not allowed to upload files, but here it is:

-----BEGIN PGP PUBLIC KEY BLOCK-----  
Version: BCPG v1.66

mI0EYV0sngEEAKnh42RKJW14Z+7e70E1PZWiwGZ04gVSxNMuzmgnRYyI52PhsP0q  
CgdqqsMdhRWeEtA7IuhoTGkgokQm7E4q4A5OdagMyQp6I3cEcqhJjWPhyaZPlxLl  
b6RpH1eOKfcqxzSMsXohYpyDDXaVufRIHls/oYuJynDS8g6NCXzRA7hJABEBAAG0  
EWluZm9AaXJscy1zdWVkLmRliJwEEAEIAAYFAmFdLJ4ACgkQC71MiIlljsl7IQP8  
D0zB/q6FDMd7Uc963rrKDO/5xklfcx6gakyslT74EmXwaM9lBFe+cKUPMizKi8nt  
3ima1afpFiEvNv77rHpsrglgbbSew63jDlTIg/q8FyZuP1vNNSXOAAieyEc3n0VT  
8XpIeN/nurbWsu9CdW7mcLjmR4jXucXgrBReEC9F784=  
=CP/8  
-----END PGP PUBLIC KEY BLOCK-----

Thanks for your help,

Stefan

---

<div class="post-metadata">

**Author:** ![martijn](https://dub1.discourse-cdn.com/flex017/user_avatar/community.ciphermail.com/martijn/32/127_2.png) [@martijn](https://community.ciphermail.com/u/martijn)\
**Post date:** [March 3, 2023, 9:21am UTC](https://community.ciphermail.com/t/imported-pgp-public-isnt-displayed/830/4 "2023-03-03T09:21:39Z")

</div>

This is a bug. If the email address of a PGP key is not enclosed in angle brackets (“\<” and “\>”) the email address is ignored.

This is probably an old key (looking at the key size). I think that most keys are created with the email address enclosed in angle brackets.

This will be fixed in an upcoming release.

The bug is only that the email address from the UserID is not manually assigned to the imported key. You however manually assigning an email address as a workaround.
