tag:blogger.com,1999:blog-284994234534839525.post3067171070760414476..comments2023-02-13T11:24:17.469+01:00Comments on qistoph's blog: PKCS#7 and OpenSSLqistophhttp://www.blogger.com/profile/15914652540202586608noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-284994234534839525.post-6926225266709846392016-09-22T09:16:59.425+02:002016-09-22T09:16:59.425+02:00Sure, I'll have a look.
Sorry for the late rep...Sure, I'll have a look.<br />Sorry for the late reply, I was on a holiday.qistophhttps://www.blogger.com/profile/15914652540202586608noreply@blogger.comtag:blogger.com,1999:blog-284994234534839525.post-70393916825558647042016-09-11T17:27:37.945+02:002016-09-11T17:27:37.945+02:00Hi Chris,
Thank for reply! I was trying to use th...Hi Chris,<br /><br />Thank for reply! I was trying to use this function but without success.<br />Would it be possible to send you somehow the files so you can try to find the solution? Would you be so kind?<br /><br />Thanks a lot<br />VladekAnonymoushttps://www.blogger.com/profile/13109457160859941246noreply@blogger.comtag:blogger.com,1999:blog-284994234534839525.post-82457458902918400952016-09-10T19:06:49.880+02:002016-09-10T19:06:49.880+02:00Hi Vladek,
The one you're looking for is pro...Hi Vladek, <br /><br />The one you're looking for is probably openssl_pkcs7_decrypt. <br /><br />http://php.net/manual/en/function.openssl-pkcs7-decrypt.phpqistophhttps://www.blogger.com/profile/15914652540202586608noreply@blogger.comtag:blogger.com,1999:blog-284994234534839525.post-75332499483168578492016-09-10T13:59:10.092+02:002016-09-10T13:59:10.092+02:00Hi Chris,
I can see you are profi regarding decry...Hi Chris,<br /><br />I can see you are profi regarding decrypting and verifying PKCS#7 messages with OpenSSL. I would like to ask you for help.<br /><br />I have got data "encrypted with X.509 certificates based on PKCS#7 message standard". Now I need to decrypt it using PHP. There is the OpenSSL library installed on the Apache server so it should be no problem. However I spent already days to make it without success. Can you advise me what PHP function is the right one and how to make it? I have the required X.509 certificate and RSA private key (both in one .pem file).<br /><br />Thanks a lot!<br />Vladek<br /> Anonymoushttps://www.blogger.com/profile/13109457160859941246noreply@blogger.comtag:blogger.com,1999:blog-284994234534839525.post-39435268767906427492014-08-28T14:33:44.102+02:002014-08-28T14:33:44.102+02:00Dear Bartek,
Sorry for my very late reply. Your m...Dear Bartek,<br /><br />Sorry for my very late reply. Your message some how went unnoticed.<br /><br />If your still having problems with this, could you maybe send me the files you're having trouble with? That why I could try and see what's causing your problems.qistophhttps://www.blogger.com/profile/15914652540202586608noreply@blogger.comtag:blogger.com,1999:blog-284994234534839525.post-32720900166020846922014-03-13T14:53:53.382+01:002014-03-13T14:53:53.382+01:00I have a problem.
Could you explain why providing ...I have a problem.<br />Could you explain why providing external content to be checked against signed content causes an error<br /><br /> openssl smime -verify -in signed.p7 -inform pem -noverify -content unsigned-original.txt <br /><br />I get <br />This message could only have been sent by me.<br />Verification failure<br />140190814914240:error:21071065:PKCS7 routines:PKCS7_signatureVerify:digest failure:pk7_doit.c:1097:<br />140190814914240:error:21075069:PKCS7 routines:PKCS7_verify:signature failure:pk7_smime.c:410:<br />Anonymoushttps://www.blogger.com/profile/08958293854668062170noreply@blogger.comtag:blogger.com,1999:blog-284994234534839525.post-22837563575923750002014-03-13T14:29:13.434+01:002014-03-13T14:29:13.434+01:00I'm impressed. Thank you!I'm impressed. Thank you!Anonymoushttps://www.blogger.com/profile/08958293854668062170noreply@blogger.comtag:blogger.com,1999:blog-284994234534839525.post-82726545765299464362014-03-13T12:25:50.135+01:002014-03-13T12:25:50.135+01:00Thank you for such descriptive post! It's a gr...Thank you for such descriptive post! It's a great introduction for PKCS7.Tomasz Kalkosińskihttps://www.blogger.com/profile/12111381907111251016noreply@blogger.comtag:blogger.com,1999:blog-284994234534839525.post-71829409907848981992014-02-12T15:12:55.998+01:002014-02-12T15:12:55.998+01:00I need to do it programmatically. Can you point me...I need to do it programmatically. Can you point me to any manual or tutorial? The OpenSSL documentation is GNU-style: it teaches all car mechanics, but not how to drive. :-Pℭacilhας, ℒa ℬatalemahttps://www.blogger.com/profile/14265747724618147106noreply@blogger.com