6.0.0-beta1
9/6/25

[#9601] Decrypting of S/MIME-Messages fails
Summary Decrypting of S/MIME-Messages fails
Queue IMP
Queue Version Git master
Type Bug
State Duplicate
Priority 1. Low
Owners
Requester hordetest (at) trash-mail (dot) com
Created 02/26/2011 (5306 days ago)
Due
Updated 03/03/2011 (5301 days ago)
Assigned
Resolved 03/03/2011 (5301 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
03/03/2011 10:23:06 PM Michael Slusarz Comment #2
State ⇒ Duplicate
Reply to this comment
Duplicate of Bug #9472.
02/26/2011 11:12:20 AM hordetest (at) trash-mail (dot) com Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Decrypting of S/MIME-Messages fails
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
Reply to this comment
I inserted a break in the coding, but I can't find the files in the 
temporary directory. Is this maybe the issue?

2011-02-26T12:06:05+01:00 DEBUG: HORDE [imp] PHP ERROR: 
openssl_pkcs7_decrypt() [<a 
href='function.openssl-pkcs7-decrypt'>function.openssl-pkcs7-decrypt</a>]: 
unable to get private key [pid 17505 on line 443 of 
"/horde/horde-git/horde/framework/Crypt/lib/Horde/Crypt/Smime.php"]
2011-02-26T12:06:05+01:00 DEBUG:  1. IMP_Ui_Message->getInlineOutput() 
/horde/horde-git/horde/imp/message.php:653
  2. IMP_Contents->getContentTypeMap() 
/horde/horde-git/horde/imp/lib/Ui/Message.php:500
  3. IMP_Contents->_buildMessage() 
/horde/horde-git/horde/imp/lib/Contents.php:997
  4. Horde_Mime_Viewer_Base->getEmbeddedMimeParts() 
/horde/horde-git/horde/imp/lib/Contents.php:928
  5. IMP_Mime_Viewer_Smime->_getEmbeddedMimeParts() 
/horde/horde-git/horde/framework/Mime_Viewer/lib/Horde/Mime/Viewer/Base.php:298
  6. IMP_Mime_Viewer_Smime->_parseEnvelopedData() 
/horde/horde-git/horde/imp/lib/Mime/Viewer/Smime.php:154
  7. IMP_Crypt_Smime->decryptMessage() 
/horde/horde-git/horde/imp/lib/Mime/Viewer/Smime.php:210
  8. Horde_Crypt_Smime->decrypt() 
/horde/horde-git/horde/imp/lib/Crypt/Smime.php:297
  9. Horde_Crypt_Smime->_decryptMessage() 
/horde/horde-git/horde/framework/Crypt/lib/Horde/Crypt/Smime.php:128
10. openssl_pkcs7_decrypt() 
/horde/horde-git/horde/framework/Crypt/lib/Horde/Crypt/Smime.php:443
11. Horde::errorHandler()

Saved Queries