Bug 618500
Summary: | S/MIME signing does not work | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Maximiliano Bertacchini <maxiberta> |
Component: | m2crypto | Assignee: | Miloslav Trmač <mitr> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 13 | CC: | mitr |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | m2crypto-0.21.1-3.fc15 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-04-15 21:28:39 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 691513 | ||
Bug Blocks: |
Description
Maximiliano Bertacchini
2010-07-27 05:27:01 UTC
Thanks for your report. I'm afraid the HOWTO is incorrect, at least for current versions of OpenSSL. Both "s.sign" and "s.write" must use the same value of the SMIME.PKCS7_DETACHED flag; passing a third argument to SMIME.write implies SMIMEl.PKCS7_DETACHED. I get something looking like the expected result after replacing the "s.sign" line with p7 = s.sign(buf, SMIME.PKCS7_DETACHED) Scripts from the howto are shipped in the m2crypto package and should be fixed; I'll keep this bug open to track that. That fixed the issue. Thanks! Patch submitted upstream: https://bugzilla.osafoundation.org/show_bug.cgi?id=13020 m2crypto-0.21.1-3.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/m2crypto-0.21.1-3.fc15 Package m2crypto-0.21.1-3.fc15: * should fix your issue, * was pushed to the Fedora 15 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing m2crypto-0.21.1-3.fc15' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/m2crypto-0.21.1-3.fc15 then log in and leave karma (feedback). m2crypto-0.21.1-3.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. python26-m2crypto-0.21.1-5.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/python26-m2crypto-0.21.1-5.el5 python26-m2crypto-0.21.1-5.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report. |