6.0.0-alpha14
7/3/25

[#13659] wrong fix for openssl_pkcs7_encrypt
Summary wrong fix for openssl_pkcs7_encrypt
Queue Horde Framework Packages
Type Bug
State Resolved
Priority 1. Low
Owners jan (at) horde (dot) org
Requester software-horde (at) interfasys (dot) ch
Created 11/02/2014 (3896 days ago)
Due
Updated 11/03/2014 (3895 days ago)
Assigned
Resolved 11/03/2014 (3895 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
11/03/2014 01:05:38 PM Jan Schneider Assigned to Jan Schneider
State ⇒ Resolved
 
11/03/2014 01:05:19 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (master):

commit 2ac3886defffdde99565da72755a0915556d2d66
Author: Jan Schneider <jan@horde.org>
Date:   Mon Nov 3 14:05:02 2014 +0100

     [jan] Fix using non-deprecated Content-Type for encrypted 
messages (Bug #13659).

  framework/Crypt/lib/Horde/Crypt/Smime.php |    2 +-
  framework/Crypt/package.xml               |    4 ++--
  2 files changed, 3 insertions(+), 3 deletions(-)

http://github.com/horde/horde/commit/2ac3886defffdde99565da72755a0915556d2d66
11/02/2014 10:35:28 PM software-horde (at) interfasys (dot) ch Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ wrong fix for openssl_pkcs7_encrypt
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
Horde/Crypt/Smime.php
Line 290
return $this->_fixContentType($result, 'encrypt');

Should be type 'message' if the goal is to fix the output created by 
openssl_pkcs7_encrypt.

On PHP 5.4+, the fix does not seem to be necessary though since 
messages are created with the proper Content-Type already.


Saved Queries