New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better x509->email support #1239
Comments
This issue was solved on #1196 in different way with Crypt::OpenSSL::x509 1.8.8, and the fix was included in Sympa 6.2.64. Your solution looks simpler, but requires recent version of Crypt::OpenSSL::x509 1.9.9 (cf. dsully/perl-crypt-openssl-x509#88). |
That's fine. As I can only test with 6.2.60 I didn't see, that it was fixed by other means. However, the current code still uses |
…tes (sympa-community#1239). Crypt::OpenSSL::X509 1.909 or later is required.
@errror , if possible, could you please check this patch (for 6.2.60)? I rethought the earlier version of Crypt::OpenSSL::X509 would be dropped. |
Yes, it works! |
S/MIME: Simplify the method to get email addresses in X.509 certificates (#1239)
Merged. @errror , thanks you for improvement! |
Version
6.2.60~dfsg-4
Installation method
deb from debian.org
Expected behavior
Recently updated perl-crypt-openssl-x509 1.9.9 returns all email addresses from a X509 certificate via
->email
attribute seperated by whitespace. Split this result into a list of email addresses when using them to get the email addresses of an S/MIME certificate.Actual behavior
$x509->email
is used as a single email address (with spaces if certificate contains multiple addresses).Additional information
I have prepared a patch for sympa-6.2.60, see below. As I have no easy way to run&test current HEAD version, I currently cannot provide a proper pull request, sorry.
The text was updated successfully, but these errors were encountered: