Summary | Common Name is 0 while using S/MIME certificates with non-ASCII characters |
Queue | Horde Groupware Webmail Edition |
Queue Version | 4.0.6 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | maciej.uhlig (at) us (dot) edu (dot) pl |
Created | 02/02/2012 (4901 days ago) |
Due | |
Updated | 02/07/2012 (4896 days ago) |
Assigned | 02/02/2012 (4901 days ago) |
Resolved | 02/07/2012 (4896 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
correct first and last name in Turba.
damages the name here.
not send correctly?
first and last name in Turba.
not send correctly?
remains: new Turba contact name!surname are malformed after
certificate save..
not send correctly?
remains: new Turba contact name!surname are malformed after
certificate save..
commit b43b04882a077b644733ba62f1a593c2fceaad04
Author: Michael M Slusarz <slusarz@horde.org>
Date: Thu Feb 2 15:03:38 2012 -0700
[mms] Improved parsing of S/MIME certificate information (
Bug #10956).framework/Crypt/lib/Horde/Crypt/Smime.php | 733
++++-------------------------
framework/Crypt/package.xml | 7 +-
2 files changed, 89 insertions(+), 651 deletions(-)
http://git.horde.org/horde-git/-/commit/b43b04882a077b644733ba62f1a593c2fceaad04
Priority ⇒ 1. Low
State ⇒ Feedback
Assigned to Michael Slusarz
been touched in probably 10 years. And most of the work it is doing
is to grab completely esoteric information that we don't need (the
modulus for the public key? do I care?). The important info is
probably validity dates and personal information (name, email), so
that's all we should really care about.
So switch you using openssl_x509_parse() to parse the certs. I
realize it says the API may change, but it has been this way for 10
years so at some point we should use it.
So try this and see if it fixes things.
commit b43b04882a077b644733ba62f1a593c2fceaad04
Author: Michael M Slusarz <slusarz@horde.org>
Date: Thu Feb 2 15:03:38 2012 -0700
[mms] Improved parsing of S/MIME certificate information (
Bug #10956).framework/Crypt/lib/Horde/Crypt/Smime.php | 733
++++-------------------------
framework/Crypt/package.xml | 7 +-
2 files changed, 89 insertions(+), 651 deletions(-)
http://git.horde.org/horde-git/-/commit/b43b04882a077b644733ba62f1a593c2fceaad04
Priority ⇒ 2. Medium
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Groupware Webmail Edition
Due ⇒ 02/29/2012
Summary ⇒ Common Name is 0 while using S/MIME certificates with non-ASCII characters
Type ⇒ Bug
The data in this part has been digitally signed via S/MIME.
Message verified successfully.
Sender: 0 (user.name@example.pl)
[View Certificate]
The issue is "Sender:0" instead of "Sender: User Name". This is due to
Polish diacritic marks in user name or surname which can be found in
Common Name of Certificate Owner. 'View Certificate' shows "Common
Name: 0". The certificate CA is Comodo/TERENA.
The side effect of this is incorrect import of the certificate into
Turba addressbook where name or surname are truncated.
The certificate with Polish diacritic marks is available upon request.