6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
10/16/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#6323] False positive SMIME verification
*
Your Email Address
*
Spam protection
Enter the letters below:
.___.. .. . .. . | |\ || |\ ||__| | | \||___| \|| |
Comment
> In file framework/Crypt/Crypt/smime.php,v 1.49.2.14 line 215 > > 212:/* Try again without verfying the signer's cert */ > > 213: $result = openssl_pkcs7_verify($input, PKCS7_NOVERIFY, $output); > > 214: > > 215: if (($result === true) || ($result === -1)) { > > 216: [Verification OK] > > 217: } else { > > 218: [Verification KO] > > 219: } > > > > Verification is OK if "$result === -1" but "openssl_pkcs7_verify" > documentation specify that "[openssl_pkcs7_verify] Returns [...] -1 > on error." > > Why do you consider -1 a valid verification ??? > > > > In my case, I had malformed smime signature which lead to an > encouraging message "valid message verification, but unknown > issuer"...
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers