6.0.0-beta1
7/5/25

[#10947] Can't verify signed and encrypted S/MIME message
Summary Can't verify signed and encrypted S/MIME message
Queue IMP
Queue Version 5.0.18
Type Bug
State Resolved
Priority 2. Medium
Owners slusarz (at) horde (dot) org
Requester maciej.uhlig (at) us (dot) edu (dot) pl
Created 01/31/2012 (4904 days ago)
Due
Updated 02/02/2012 (4902 days ago)
Assigned
Resolved 02/02/2012 (4902 days ago)
Github Issue Link
Github Pull Request
Milestone 5.0.19
Patch No

History
02/02/2012 09:47:07 AM Jan Schneider Milestone ⇒ 5.0.19
 
02/02/2012 09:46:51 AM Jan Schneider Version ⇒ 5.0.18
Queue ⇒ IMP
 
02/02/2012 01:15:56 AM Git Commit Comment #4 Reply to this comment
Changes have been made in Git (develop):

commit bd6437e4915f121da7a355cfe0b8243b162f407b
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Wed Feb 1 17:54:14 2012 -0700

     [mms] Fix regression in verifying signed & encrypted S/MIME 
messages (Bug #10947).

  imp/docs/CHANGES     |    2 ++
  imp/lib/Contents.php |    2 +-
  imp/package.xml      |    2 ++
  3 files changed, 5 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/bd6437e4915f121da7a355cfe0b8243b162f407b
02/02/2012 12:57:34 AM Michael Slusarz Comment #3
Assigned to Michael Slusarz
State ⇒ Resolved
Reply to this comment
Fixed in IMP 5.0.19.
02/02/2012 12:56:22 AM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (master):

commit bd6437e4915f121da7a355cfe0b8243b162f407b
Author: Michael M Slusarz <slusarz@horde.org>
Date:   Wed Feb 1 17:54:14 2012 -0700

     [mms] Fix regression in verifying signed & encrypted S/MIME 
messages (Bug #10947).

  imp/docs/CHANGES     |    2 ++
  imp/lib/Contents.php |    2 +-
  imp/package.xml      |    2 ++
  3 files changed, 5 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/bd6437e4915f121da7a355cfe0b8243b162f407b
01/31/2012 10:16:25 AM maciej (dot) uhlig (at) us (dot) edu (dot) pl Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Can't verify signed and encrypted S/MIME message
Queue ⇒ Horde Groupware Webmail Edition
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
The signature of signed and encrypted S/MIME message (for instance 
sent by Horde/Imp) can not be verified. You get the following result:

S/MIME Encrypted Message
The data in this part has been encrypted via S/MIME.
Signed part
The data in this part has been digitally signed via S/MIME.
Verification failed - this message may have been tampered with.
Text part
Message

The reason of this behaviour is: \pear\php\Horde\Crypt\Smime.php 
public function verify($text, $certs) is called with $text being raw 
encrypted message and thus can't be verified. The message should be 
decrypted before trying to verify signature.

Saved Queries