# What's wrong with this pubkey?

**URL:** <https://community.ciphermail.com/t/whats-wrong-with-this-pubkey/743>\
**Category:** Gateway\
**Created:** [June 22, 2021, 10:01am UTC](https://community.ciphermail.com/t/whats-wrong-with-this-pubkey/743 "2021-06-22T10:01:51Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jorge\_Gonzalez](https://avatars.discourse-cdn.com/v4/letter/j/13edae/32.png) [@Jorge\_Gonzalez](https://community.ciphermail.com/u/Jorge_Gonzalez)\
**Post date:** [June 22, 2021, 10:01am UTC](https://community.ciphermail.com/t/whats-wrong-with-this-pubkey/743/1 "2021-06-22T10:01:51Z")

</div>

Hi people,

I'm having trouble sending encrypted PGP emails to the user of key with  
ID 0xd465eef3f810745c (attached). I have imported and trusted it in  
Ciphermail, and then tried to send test emails with no success.

At first I thought it was something related with the "é" or "()"  
characters ("e" with a tilde), but I created a test PGP key with similar  
characters in it, and everything worked fine with the test key.

My personal PGP key (0xaa976e29616d42d4) when imported in Ciphermail  
shows in exactly the same way as the problematic one (except the  
obviousfields: fingerprint, associated emails, dates, etc.), but test  
emails addressed to both keys work fine for my key but not for the other.

Any ideas on what's special about this key that may prevent it from  
working correctly?

Thanks

Jorge

[attachment.htm](https://community.ciphermail.com/uploads/short-url/gHNml1DZfY80zEdUEsCwMbIuQgG.htm) (1.44 KB)

[C5C0375C920BD3F66564FB2AD465EEF3F810745C1.asc](https://community.ciphermail.com/uploads/short-url/tlBaFPhtzIAhvVVSx0pz1Mrnoro.asc) (11.7 KB)

> **···**
>
> --  
> \*Jorge Gonzalez Villalonga\*  
> Systems Engineer  
> \*The International Consortium of Investigative Journalists\*  
> \<[https://www.icij.org](https://www.icij.org)\>  
> 1710 Rhode Island Ave NW, 11th floor | Washington DC 20036 | United States  
> Phone: +34 672 173 200 (Madrid, Spain)

---

<div class="post-metadata">

**Author:** ![tbahn](https://dub1.discourse-cdn.com/flex017/user_avatar/community.ciphermail.com/tbahn/32/141_2.png) [@tbahn](https://community.ciphermail.com/u/tbahn)\
**Post date:** [June 22, 2021, 11:45am UTC](https://community.ciphermail.com/t/whats-wrong-with-this-pubkey/743/2 "2021-06-22T11:45:59Z")

</div>

Hi Jorge,

what happens,exactly when you send the email? What does "no success".mean?

Do you (as sender) get some information?

Had you have a look into the server logs?

Regards  
Thomas

[attachment.htm](https://community.ciphermail.com/uploads/short-url/3V2EP5HN0iaP4loTPy95Yrh4nFA.htm) (6.31 KB)

![12375973.gif](https://europe1.discourse-cdn.com/flex017/uploads/ciphermail/original/1X/fbcc3d49400ef048baaf7925493468725e27ef40.gif)

![graycol.gif](https://europe1.discourse-cdn.com/flex017/uploads/ciphermail/original/1X/8d131f16ac63f0a9c083c1291a79b729af029b34.gif)

> **···**
>
> --  
> Thomas Bahn  
> Diplom-Mathematiker  
> Geschäftsführer
> 
> Tel.: 04307 900-401  
> Fax: 04307 900-409  
> Mobil: 0173 935 79 16  
> E-Mail: tbahn(a)assono.de
> 
> > **[Sie wollen als Unternehmen von der Digitalisierung profitieren?
> –...](https://www.assono.de)**
> >
> > Um die Zukunft des Arbeitens für Unternehmen zu vereinfachen, bietet assono als anerkanntes IT-Beratungsunternehmen effektive IT-Lösungen an
> 
> > **[assonos Blog](https://www.assono.de/blog/)**
> >
> > Auf unserem Blog finden Sie informative Beiträge für Unternehmen zur den Themen Digitalisierung, KI-Lösungen & Chatbots sowie Notes & Domino
> 
> assono GmbH  
> Lise-Meitner-Straße 1-7  
> 24223 Schwentinental
> 
> Geschäftsführer: Lydia Bahn, Thomas Bahn  
> Amtsgericht Kiel, HRB 8202 KI  
> Hauptsitz des Unternehmens: Schwentinental
> 
> Profitieren Sie von Künstlicher Intelligenz mit individuellen,  
> intelligenten Chatbots von assono.
> 
> Supportkosten senken - Kundenzufriedenheit steigern - Umsätze erhöhen  
> - Prozesse beschleunigen - Mehr Zeit für das Wesentliche
> 
> Von: "Jorge Gonzalez via Users" \<users(a)lists.ciphermail.com\>  
> An: users(a)lists.ciphermail.com  
> Kopie: "Jorge Gonzalez" \<jorgegv(a)icij.org\>  
> Datum: 22.06.2021 12:02  
> Betreff: What's wrong with this pubkey?
> 
> Hi people,
> 
> I'm having trouble sending encrypted PGP emails to the user of key with ID  
> 0xd465eef3f810745c (attached). I have imported and trusted it in  
> Ciphermail, and then tried to send test emails with no success.
> 
> At first I thought it was something related with the "é" or "()" characters  
> ("e" with a tilde), but I created a test PGP key with similar characters in  
> it, and everything worked fine with the test key.
> 
> My personal PGP key (0xaa976e29616d42d4) when imported in Ciphermail shows  
> in exactly the same way as the problematic one (except the obviousfields:  
> fingerprint, associated emails, dates, etc.), but test emails addressed to  
> both keys work fine for my key but not for the other.
> 
> Any ideas on what's special about this key that may prevent it from working  
> correctly?
> 
> Thanks
> 
> Jorge
> 
> --  
> Jorge Gonzalez Villalonga  
> Systems Engineer  
> The International Consortium of Investigative Journalists  
> 1710 Rhode Island Ave NW, 11th floor | Washington DC 20036 | United States  
> Phone: +34 672 173 200 (Madrid, Spain)[Anhang  
> "C5C0375C920BD3F66564FB2AD465EEF3F810745C (1).asc" gelöscht von Thomas  
> Bahn/assono]

---

<div class="post-metadata">

**Author:** ![Jorge\_Gonzalez](https://avatars.discourse-cdn.com/v4/letter/j/13edae/32.png) [@Jorge\_Gonzalez](https://community.ciphermail.com/u/Jorge_Gonzalez)\
**Post date:** [June 22, 2021, 12:18pm UTC](https://community.ciphermail.com/t/whats-wrong-with-this-pubkey/743/3 "2021-06-22T12:18:06Z")

</div>

Yes, of course, my fault for now having written about it 🙂

Here is the mail log I see when the email enters Ciphermail:

Jun 14 16:33:37 localhost postfix/smtp[32363]: EA68240146:  
to=\<miguel.fiandor.gutierrez(a)gmail.com\>,  
relay=127.0.0.1[127.0.0.1]:10025, delay=0.1, delays=0.01/0.01/0.04/0.04, dsn  
=2.6.0, status=sent (250 2.6.0 Message received)  
Jun 14 16:33:37 localhost postfix/qmgr[2163]: EA68240146: removed  
Jun 14 16:33:37 localhost postfix/smtp[32364]: 016DF4030C:  
to=\<mfiandor(a)icij.org\>, relay=127.0.0.1[127.0.0.1]:10025, delay=0.09,  
delays=0.01/0.01/0.04/0.04, dsn=2.6.0, status=sent (250 2.6.0 Message  
received)  
Jun 14 16:33:37 localhost postfix/qmgr[2163]: 016DF4030C: removed

(There are no corresponding outgoing emails - Our setup goes through an  
external smart host, Mailgun)

And the DJIGZO log says:

14 Jun 2021 16:33:37 | INFO There are no valid PGP encryption keys for  
recipient(s); MailID: 638f3049-d431-4d82-b2f9-d290d048aac3; Recipients:  
[miguel.fiandor.gutierrez(a)gmail.com];  
(mitm.application.djigzo.james.mailets.Log) [Spool Thread #3]

(...)

14 Jun 2021 16:33:37 | INFO There are no valid PGP encryption keys for  
recipient(s); MailID: 51aa83ff-8cc3-43cc-b04a-4571dbd21f7e; Recipients:  
[mfiandor(a)icij.org]; (mitm.application.djigzo.james.mailets.Log) [Spool  
Thread #2]

The logs say that there is no PGP key available for encryption for that  
email, but the key is enrolled in Ciphermail, it's trusted, and it's  
associated to both emails.

J.

\*Jorge Gonzalez Villalonga\*  
Systems Engineer  
\*The International Consortium of Investigative Journalists\*  
\<[https://www.icij.org](https://www.icij.org)\>  
1710 Rhode Island Ave NW, 11th floor | Washington DC 20036 | United States  
Phone: +34 672 173 200 (Madrid, Spain)

[attachment.htm](https://community.ciphermail.com/uploads/short-url/8WGn62i4H9aL1lUhfmjjAo1DnQB.htm) (10.7 KB)

![12375973.gif](https://europe1.discourse-cdn.com/flex017/uploads/ciphermail/original/1X/fbcc3d49400ef048baaf7925493468725e27ef40.gif)

![graycol.gif](https://europe1.discourse-cdn.com/flex017/uploads/ciphermail/original/1X/8d131f16ac63f0a9c083c1291a79b729af029b34.gif)

> **···**
>
> El 22/6/21 a las 13:45, Thomas Bahn escribió:
> 
> > Hi Jorge,
> > 
> > what happens,exactly when you send the email? What does "no success".mean?
> > 
> > Do you (as sender) get some information?
> > 
> > Had you have a look into the server logs?
> > 
> > Regards  
> > Thomas
> > 
> > --  
> > \*Thomas Bahn\*  
> > Diplom-Mathematiker  
> > Geschäftsführer
> > 
> > Tel.: 04307 900-401  
> > Fax: 04307 900-409  
> > Mobil: 0173 935 79 16  
> > E-Mail: tbahn(a)assono.de
> > 
> > \_[https://www.assono.de](https://www.assono.de)\_ \<[https://www.assono.de/&gt](https://www.assono.de/&gt);  
> > \_[https://www.assono.de/blog\_](https://www.assono.de/blog_) \<[https://www.assono.de/blog&gt](https://www.assono.de/blog&gt);
> > 
> > \*assono GmbH\*  
> > Lise-Meitner-Straße 1-7  
> > 24223 Schwentinental
> > 
> > Geschäftsführer: Lydia Bahn, Thomas Bahn  
> > Amtsgericht Kiel, HRB 8202 KI  
> > Hauptsitz des Unternehmens: Schwentinental
> > 
> > \<[https://www.assono.de/&gt](https://www.assono.de/&gt);
> > 
> > Profitieren Sie von Künstlicher Intelligenz mit \_individuellen,  
> > intelligenten Chatbots\_ \<[https://www.assono.de/chatbot&gt](https://www.assono.de/chatbot&gt); von assono.
> > 
> > \*Supportkosten\* senken - \*Kundenzufriedenheit \*steigern - \*Umsätze  
> > \*erhöhen - \*Prozesse \*beschleunigen - Mehr Zeit für das \*Wesentliche\*
> > 
> > Inaktiv: Details verbergen für "Jorge Gonzalez via Users"  
> > ---22.06.2021 12:02:06---Hi people, I'm having trouble sending  
> > encryp"Jorge Gonzalez via Users" ---22.06.2021 12:02:06---Hi people,  
> > I'm having trouble sending encrypted PGP emails to the user of key with
> > 
> > Von: "Jorge Gonzalez via Users" \<users(a)lists.ciphermail.com\>  
> > An: users(a)lists.ciphermail.com  
> > Kopie: "Jorge Gonzalez" \<jorgegv(a)icij.org\>  
> > Datum: 22.06.2021 12:02  
> > Betreff: What's wrong with this pubkey?
> > 
> > ------------------------------------------------------------------------
> > 
> > Hi people,
> > 
> > I'm having trouble sending encrypted PGP emails to the user of key  
> > with ID 0xd465eef3f810745c (attached). I have imported and trusted it  
> > in Ciphermail, and then tried to send test emails with no success.
> > 
> > At first I thought it was something related with the "é" or "()"  
> > characters ("e" with a tilde), but I created a test PGP key with  
> > similar characters in it, and everything worked fine with the test key.
> > 
> > My personal PGP key (0xaa976e29616d42d4) when imported in Ciphermail  
> > shows in exactly the same way as the problematic one (except the  
> > obviousfields: fingerprint, associated emails, dates, etc.), but test  
> > emails addressed to both keys work fine for my key but not for the other.
> > 
> > Any ideas on what's special about this key that may prevent it from  
> > working correctly?
> > 
> > Thanks
> > 
> > Jorge
> > 
> > -- \*  
> > Jorge Gonzalez Villalonga\*  
> > Systems Engineer\_  
> > \_\*\_The International Consortium of Investigative Journalists\_\*  
> > \<[https://www.icij.org/&gt](https://www.icij.org/&gt);  
> > 1710 Rhode Island Ave NW, 11th floor | Washington DC 20036 | United States  
> > Phone: +34 672 173 200 (Madrid, Spain)[Anhang  
> > "C5C0375C920BD3F66564FB2AD465EEF3F810745C (1).asc" gelöscht von Thomas  
> > Bahn/assono]

---

<div class="post-metadata">

**Author:** ![Jorge\_Gonzalez](https://avatars.discourse-cdn.com/v4/letter/j/13edae/32.png) [@Jorge\_Gonzalez](https://community.ciphermail.com/u/Jorge_Gonzalez)\
**Post date:** [June 22, 2021, 2:11pm UTC](https://community.ciphermail.com/t/whats-wrong-with-this-pubkey/743/4 "2021-06-22T14:11:43Z")

</div>

Well, finally my user updated his key to not have the special "é" and  
"()" chars, I reimported it in Ciphermail and now it works fine with the  
updated key.

So it looks that special characters in the PGP metadata are finally the  
culprits of this issue?

Martijn, what's your opinion? Should a ticket be opened for this?

Best regards

Jorge

\*Jorge Gonzalez Villalonga\*  
Systems Engineer  
\*The International Consortium of Investigative Journalists\*  
\<[https://www.icij.org](https://www.icij.org)\>  
1710 Rhode Island Ave NW, 11th floor | Washington DC 20036 | United States  
Phone: +34 672 173 200 (Madrid, Spain)

[attachment.htm](https://community.ciphermail.com/uploads/short-url/vQ5uCxbixfyKwEKswwqX06jExjr.htm) (12.5 KB)

![12375973.gif](https://europe1.discourse-cdn.com/flex017/uploads/ciphermail/original/1X/fbcc3d49400ef048baaf7925493468725e27ef40.gif)

![graycol.gif](https://europe1.discourse-cdn.com/flex017/uploads/ciphermail/original/1X/8d131f16ac63f0a9c083c1291a79b729af029b34.gif)

> **···**
>
> El 22/6/21 a las 14:18, Jorge Gonzalez escribió:
> 
> > Yes, of course, my fault for now having written about it 🙂
> > 
> > Here is the mail log I see when the email enters Ciphermail:
> > 
> > Jun 14 16:33:37 localhost postfix/smtp[32363]: EA68240146:  
> > to=\<miguel.fiandor.gutierrez(a)gmail.com\>,  
> > relay=127.0.0.1[127.0.0.1]:10025, delay=0.1,  
> > delays=0.01/0.01/0.04/0.04, dsn  
> > =2.6.0, status=sent (250 2.6.0 Message received)  
> > Jun 14 16:33:37 localhost postfix/qmgr[2163]: EA68240146: removed  
> > Jun 14 16:33:37 localhost postfix/smtp[32364]: 016DF4030C:  
> > to=\<mfiandor(a)icij.org\>, relay=127.0.0.1[127.0.0.1]:10025, delay=0.09,  
> > delays=0.01/0.01/0.04/0.04, dsn=2.6.0, status=sent (250 2.6.0 Message  
> > received)  
> > Jun 14 16:33:37 localhost postfix/qmgr[2163]: 016DF4030C: removed
> > 
> > (There are no corresponding outgoing emails - Our setup goes through  
> > an external smart host, Mailgun)
> > 
> > And the DJIGZO log says:
> > 
> > 14 Jun 2021 16:33:37 | INFO There are no valid PGP encryption keys  
> > for recipient(s); MailID: 638f3049-d431-4d82-b2f9-d290d048aac3;  
> > Recipients: [miguel.fiandor.gutierrez(a)gmail.com];  
> > (mitm.application.djigzo.james.mailets.Log) [Spool Thread #3]
> > 
> > (...)
> > 
> > 14 Jun 2021 16:33:37 | INFO There are no valid PGP encryption keys  
> > for recipient(s); MailID: 51aa83ff-8cc3-43cc-b04a-4571dbd21f7e;  
> > Recipients: [mfiandor(a)icij.org];  
> > (mitm.application.djigzo.james.mailets.Log) [Spool Thread #2]
> > 
> > The logs say that there is no PGP key available for encryption for  
> > that email, but the key is enrolled in Ciphermail, it's trusted, and  
> > it's associated to both emails.
> > 
> > J.
> > 
> > \*Jorge Gonzalez Villalonga\*  
> > Systems Engineer  
> > \*The International Consortium of Investigative Journalists\*  
> > \<[https://www.icij.org](https://www.icij.org)\>  
> > 1710 Rhode Island Ave NW, 11th floor | Washington DC 20036 | United States  
> > Phone: +34 672 173 200 (Madrid, Spain)  
> > El 22/6/21 a las 13:45, Thomas Bahn escribió:
> > 
> > > Hi Jorge,
> > > 
> > > what happens,exactly when you send the email? What does "no  
> > > success".mean?
> > > 
> > > Do you (as sender) get some information?
> > > 
> > > Had you have a look into the server logs?
> > > 
> > > Regards  
> > > Thomas
> > > 
> > > --  
> > > \*Thomas Bahn\*  
> > > Diplom-Mathematiker  
> > > Geschäftsführer
> > > 
> > > Tel.: 04307 900-401  
> > > Fax: 04307 900-409  
> > > Mobil: 0173 935 79 16  
> > > E-Mail: tbahn(a)assono.de
> > > 
> > > \_[https://www.assono.de](https://www.assono.de)\_ \<[https://www.assono.de/&gt](https://www.assono.de/&gt);  
> > > \_[https://www.assono.de/blog\_](https://www.assono.de/blog_) \<[https://www.assono.de/blog&gt](https://www.assono.de/blog&gt);
> > > 
> > > \*assono GmbH\*  
> > > Lise-Meitner-Straße 1-7  
> > > 24223 Schwentinental
> > > 
> > > Geschäftsführer: Lydia Bahn, Thomas Bahn  
> > > Amtsgericht Kiel, HRB 8202 KI  
> > > Hauptsitz des Unternehmens: Schwentinental
> > > 
> > > \<[https://www.assono.de/&gt](https://www.assono.de/&gt);
> > > 
> > > Profitieren Sie von Künstlicher Intelligenz mit \_individuellen,  
> > > intelligenten Chatbots\_ \<[https://www.assono.de/chatbot&gt](https://www.assono.de/chatbot&gt); von assono.
> > > 
> > > \*Supportkosten\* senken - \*Kundenzufriedenheit \*steigern - \*Umsätze  
> > > \*erhöhen - \*Prozesse \*beschleunigen - Mehr Zeit für das \*Wesentliche\*
> > > 
> > > Inaktiv: Details verbergen für "Jorge Gonzalez via Users"  
> > > ---22.06.2021 12:02:06---Hi people, I'm having trouble sending  
> > > encryp"Jorge Gonzalez via Users" ---22.06.2021 12:02:06---Hi people,  
> > > I'm having trouble sending encrypted PGP emails to the user of key with
> > > 
> > > Von: "Jorge Gonzalez via Users" \<users(a)lists.ciphermail.com\>  
> > > An: users(a)lists.ciphermail.com  
> > > Kopie: "Jorge Gonzalez" \<jorgegv(a)icij.org\>  
> > > Datum: 22.06.2021 12:02  
> > > Betreff: What's wrong with this pubkey?
> > > 
> > > ------------------------------------------------------------------------
> > > 
> > > Hi people,
> > > 
> > > I'm having trouble sending encrypted PGP emails to the user of key  
> > > with ID 0xd465eef3f810745c (attached). I have imported and trusted it  
> > > in Ciphermail, and then tried to send test emails with no success.
> > > 
> > > At first I thought it was something related with the "é" or "()"  
> > > characters ("e" with a tilde), but I created a test PGP key with  
> > > similar characters in it, and everything worked fine with the test key.
> > > 
> > > My personal PGP key (0xaa976e29616d42d4) when imported in Ciphermail  
> > > shows in exactly the same way as the problematic one (except the  
> > > obviousfields: fingerprint, associated emails, dates, etc.), but test  
> > > emails addressed to both keys work fine for my key but not for the  
> > > other.
> > > 
> > > Any ideas on what's special about this key that may prevent it from  
> > > working correctly?
> > > 
> > > Thanks
> > > 
> > > Jorge
> > > 
> > > -- \*  
> > > Jorge Gonzalez Villalonga\*  
> > > Systems Engineer\_  
> > > \_\*\_The International Consortium of Investigative Journalists\_\*  
> > > \<[https://www.icij.org/&gt](https://www.icij.org/&gt);  
> > > 1710 Rhode Island Ave NW, 11th floor | Washington DC 20036 | United  
> > > States  
> > > Phone: +34 672 173 200 (Madrid, Spain)[Anhang  
> > > "C5C0375C920BD3F66564FB2AD465EEF3F810745C (1).asc" gelöscht von  
> > > Thomas Bahn/assono]

---

<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:** [June 23, 2021, 8:34am UTC](https://community.ciphermail.com/t/whats-wrong-with-this-pubkey/743/5 "2021-06-23T08:34:44Z")

</div>

Hi Jorge,

I'll look into it. Yes please file a bug report.

Kind regards,

Martijn

> **···**
>
> On Tue, 2021-06-22 at 16:11 +0200, Jorge Gonzalez via Users wrote:
> 
> > Well, finally my user updated his key to not have the special "é" and  
> > "()" chars, I reimported it in Ciphermail and now it works fine with  
> > the updated key.  
> > So it looks that special characters in the PGP metadata are finally  
> > the culprits of this issue?  
> > Martijn, what's your opinion? Should a ticket be opened for this?  
> > Best regards  
> > Jorge  
> > Jorge Gonzalez Villalonga  
> > Systems Engineer  
> > The International Consortium of Investigative Journalists  
> > 1710 Rhode Island Ave NW, 11th floor | Washington DC 20036 | United  
> > States  
> > Phone: +34 672 173 200 (Madrid, Spain)  
> > El 22/6/21 a las 14:18, Jorge Gonzalez escribió:  
> > \> Yes, of course, my fault for now having written about it 🙂  
> > \> Here is the mail log I see when the email enters Ciphermail:  
> > \> Jun 14 16:33:37 localhost postfix/smtp[32363]: EA68240146: to=\<  
> > \> miguel.fiandor.gutierrez(a)gmail.com\>,  
> > \> relay=127.0.0.1[127.0.0.1]:10025, delay=0.1,  
> > \> delays=0.01/0.01/0.04/0.04, dsn  
> > \> =2.6.0, status=sent (250 2.6.0 Message received)  
> > \> Jun 14 16:33:37 localhost postfix/qmgr[2163]: EA68240146: removed  
> > \> Jun 14 16:33:37 localhost postfix/smtp[32364]: 016DF4030C: to=\<  
> > \> mfiandor(a)icij.org\>, relay=127.0.0.1[127.0.0.1]:10025, delay=0.09,  
> > \> delays=0.01/0.01/0.04/0.04, dsn=2.6.0, status=sent (250 2.6.0  
> > \> Message received)  
> > \> Jun 14 16:33:37 localhost postfix/qmgr[2163]: 016DF4030C: removed  
> > \> (There are no corresponding outgoing emails - Our setup goes  
> > \> through an external smart host, Mailgun)  
> > \> And the DJIGZO log says:  
> > \> 14 Jun 2021 16:33:37 | INFO There are no valid PGP encryption keys  
> > \> for recipient(s); MailID: 638f3049-d431-4d82-b2f9-d290d048aac3;  
> > \> Recipients: [miguel.fiandor.gutierrez(a)gmail.com];  
> > \> (mitm.application.djigzo.james.mailets.Log) [Spool Thread #3]  
> > \> (...)  
> > \> 14 Jun 2021 16:33:37 | INFO There are no valid PGP encryption keys  
> > \> for recipient(s); MailID: 51aa83ff-8cc3-43cc-b04a-4571dbd21f7e;  
> > \> Recipients: [mfiandor(a)icij.org];  
> > \> (mitm.application.djigzo.james.mailets.Log) [Spool Thread #2]  
> > \>  
> > \> The logs say that there is no PGP key available for encryption for  
> > \> that email, but the key is enrolled in Ciphermail, it's trusted,  
> > \> and it's associated to both emails.  
> > \> J.  
> > \> Jorge Gonzalez Villalonga  
> > \> Systems Engineer  
> > \> The International Consortium of Investigative Journalists  
> > \> 1710 Rhode Island Ave NW, 11th floor | Washington DC 20036 | United  
> > \> States  
> > \> Phone: +34 672 173 200 (Madrid, Spain)  
> > \> El 22/6/21 a las 13:45, Thomas Bahn escribió:  
> > \> \> Hi Jorge,  
> > \> \>  
> > \> \> what happens,exactly when you send the email? What does "no  
> > \> \> success".mean?  
> > \> \>  
> > \> \> Do you (as sender) get some information?  
> > \> \>  
> > \> \> Had you have a look into the server logs?  
> > \> \>  
> > \> \> Regards  
> > \> \> Thomas  
> > \> \>  
> > \> \> --  
> > \> \> Thomas Bahn  
> > \> \> Diplom-Mathematiker  
> > \> \> Geschäftsführer  
> > \> \>  
> > \> \> Tel.: 04307 900-401  
> > \> \> Fax: 04307 900-409  
> > \> \> Mobil: 0173 935 79 16  
> > \> \> E-Mail: tbahn(a)assono.de  
> > \> \>  
> > \> \> [https://www.assono.de](https://www.assono.de)  
> > \> \> [https://www.assono.de/blog](https://www.assono.de/blog)  
> > \> \>  
> > \> \> assono GmbH  
> > \> \> Lise-Meitner-Straße 1-7  
> > \> \> 24223 Schwentinental  
> > \> \>  
> > \> \> Geschäftsführer: Lydia Bahn, Thomas Bahn  
> > \> \> Amtsgericht Kiel, HRB 8202 KI  
> > \> \> Hauptsitz des Unternehmens: Schwentinental  
> > \> \>  
> > \> \>  
> > \> \>  
> > \> \> Profitieren Sie von Künstlicher Intelligenz mit individuellen,  
> > \> \> intelligenten Chatbots von assono.  
> > \> \>  
> > \> \> Supportkosten senken - Kundenzufriedenheit steigern - Umsätze  
> > \> \> erhöhen - Prozesse beschleunigen - Mehr Zeit für das  
> > \> \> Wesentliche  
> > \> \>  
> > \> \> "Jorge Gonzalez via Users" ---22.06.2021 12:02:06---Hi people,  
> > \> \> I'm having trouble sending encrypted PGP emails to the user of  
> > \> \> key with  
> > \> \>  
> > \> \> Von: "Jorge Gonzalez via Users" \<users(a)lists.ciphermail.com\>  
> > \> \> An: users(a)lists.ciphermail.com  
> > \> \> Kopie: "Jorge Gonzalez" \<jorgegv(a)icij.org\>  
> > \> \> Datum: 22.06.2021 12:02  
> > \> \> Betreff: What's wrong with this pubkey?  
> > \> \>  
> > \> \>  
> > \> \>  
> > \> \> Hi people,  
> > \> \> I'm having trouble sending encrypted PGP emails to the user of  
> > \> \> key with ID 0xd465eef3f810745c (attached). I have imported and  
> > \> \> trusted it in Ciphermail, and then tried to send test emails with  
> > \> \> no success.  
> > \> \> At first I thought it was something related with the "é" or "()"  
> > \> \> characters ("e" with a tilde), but I created a test PGP key with  
> > \> \> similar characters in it, and everything worked fine with the  
> > \> \> test key.  
> > \> \> My personal PGP key (0xaa976e29616d42d4) when imported in  
> > \> \> Ciphermail shows in exactly the same way as the problematic one  
> > \> \> (except the obviousfields: fingerprint, associated emails, dates,  
> > \> \> etc.), but test emails addressed to both keys work fine for my  
> > \> \> key but not for the other.  
> > \> \> Any ideas on what's special about this key that may prevent it  
> > \> \> from working correctly?  
> > \> \> Thanks  
> > \> \> Jorge  
> > \> \> --  
> > \> \> Jorge Gonzalez Villalonga  
> > \> \> Systems Engineer  
> > \> \> The International Consortium of Investigative Journalists  
> > \> \> 1710 Rhode Island Ave NW, 11th floor | Washington DC 20036 |  
> > \> \> United States  
> > \> \> Phone: +34 672 173 200 (Madrid, Spain)[Anhang  
> > \> \> "C5C0375C920BD3F66564FB2AD465EEF3F810745C (1).asc" gelöscht von  
> > \> \> Thomas Bahn/assono]

---

<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:** [June 28, 2021, 11:33am UTC](https://community.ciphermail.com/t/whats-wrong-with-this-pubkey/743/6 "2021-06-28T11:33:48Z")

</div>

Hi Jorge,

The issue was that the library I use for PGP (BC) did not take all  
self-signature certification types into account. There can be different  
types of certifications (0x10: Generic certification, 0x11: Persona  
certification, 0x12: Casual certification, 0x13: Positive  
certification).

The expiration check is able to check all certification types but if  
one type returned an expiration value, it would not check the other  
certification types for longer expiration values. The key you had  
issues with used different self-signature certification types.

I changed the code to take all certification types into account.

There are some additional details, for example the faulty expiration  
was only taken into account for the expiration value stored in the  
database, so if you want more details, let me know.

The following commit should fix the issue:

> **[SAML single sign-on for CipherMail B.V. · GitLab](https://gitlab.com/groups/ciphermail/-/saml/sso?redirect=%2Fciphermail%2Fciphermail-core%2F-%2Fcommit%2Fc779db1a04a3bd1ebb47f764301e19cb65a09ab6&token=xZDK9D5Y)**
>
> GitLab.com

Thanks for reporting.

Kind regards,

Martijn Brinkers

> **···**
>
> --  
> CipherMail email encryption  
> Email encryption with support for S/MIME,  
> OpenPGP, PDF Messenger and Webmail Messenger
> 
> On Tue, 2021-06-22 at 12:01 +0200, Jorge Gonzalez via Users wrote:
> 
> > Hi people,  
> > I'm having trouble sending encrypted PGP emails to the user of key  
> > with ID 0xd465eef3f810745c (attached). I have imported and trusted it  
> > in Ciphermail, and then tried to send test emails with no success.  
> > At first I thought it was something related with the "é" or "()"  
> > characters ("e" with a tilde), but I created a test PGP key with  
> > similar characters in it, and everything worked fine with the test  
> > key.  
> > My personal PGP key (0xaa976e29616d42d4) when imported in Ciphermail  
> > shows in exactly the same way as the problematic one (except the  
> > obviousfields: fingerprint, associated emails, dates, etc.), but test  
> > emails addressed to both keys work fine for my key but not for the  
> > other.  
> > Any ideas on what's special about this key that may prevent it from  
> > working correctly?  
> > Thanks  
> > Jorge
> > 
> > --  
> > Jorge Gonzalez Villalonga  
> > Systems Engineer  
> > The International Consortium of Investigative Journalists  
> > 1710 Rhode Island Ave NW, 11th floor | Washington DC 20036 | United  
> > States  
> > Phone: +34 672 173 200 (Madrid, Spain)

---

<div class="post-metadata">

**Author:** ![Jorge\_Gonzalez](https://avatars.discourse-cdn.com/v4/letter/j/13edae/32.png) [@Jorge\_Gonzalez](https://community.ciphermail.com/u/Jorge_Gonzalez)\
**Post date:** [June 28, 2021, 12:06pm UTC](https://community.ciphermail.com/t/whats-wrong-with-this-pubkey/743/7 "2021-06-28T12:06:29Z")

</div>

Hi Martijn,

thanks for the feedback. I wonder if it has something to do with the  
program used for managing the keys. The affected user was using  
Mailvelope for his key (the one that caused problems), but I was using  
plain CLI GPG myself for the test keys (the one that worked, even with  
the "é" and "()" chars).

Maybe Mailvelope and GPG generate/manage keys differently, and the  
differences are the ones you mentioned?

Anyway, thanks for the very detailed information 🙂

Have fun

Jorge

\*Jorge Gonzalez Villalonga\*  
Systems Engineer  
\*The International Consortium of Investigative Journalists\*  
\<[https://www.icij.org](https://www.icij.org)\>  
1710 Rhode Island Ave NW, 11th floor | Washington DC 20036 | United States  
Phone: +34 672 173 200 (Madrid, Spain)

[attachment.htm](https://community.ciphermail.com/uploads/short-url/yBTVQn9Ggs2yVp5ujtKXvYTL0nB.htm) (2.46 KB)

> **···**
>
> El 28/6/21 a las 13:33, Martijn Brinkers escribió:
> 
> > Hi Jorge,
> > 
> > The issue was that the library I use for PGP (BC) did not take all  
> > self-signature certification types into account. There can be different  
> > types of certifications (0x10: Generic certification, 0x11: Persona  
> > certification, 0x12: Casual certification, 0x13: Positive  
> > certification).
> > 
> > The expiration check is able to check all certification types but if  
> > one type returned an expiration value, it would not check the other  
> > certification types for longer expiration values. The key you had  
> > issues with used different self-signature certification types.
> > 
> > I changed the code to take all certification types into account.
> > 
> > There are some additional details, for example the faulty expiration  
> > was only taken into account for the expiration value stored in the  
> > database, so if you want more details, let me know.
> > 
> > The following commit should fix the issue:
> > 
> > [SAML single sign-on for CipherMail B.V. · GitLab](https://gitlab.com/ciphermail/ciphermail-core/-/commit/c779db1a04a3bd1ebb47f764301e19cb65a09ab6)
> > 
> > Thanks for reporting.
> > 
> > Kind regards,
> > 
> > Martijn Brinkers
