Re: CMS with PBE (Was Re: Decrypting a password encrypted pkcs7-envelopedData): success !

2009-11-27 Thread Mathieu Malaterre
On Thu, Nov 26, 2009 at 7:59 PM, Dr. Stephen Henson st...@openssl.org wrote: On Mon, Nov 23, 2009, Mathieu Malaterre wrote: Steve, Do you have a sample PBE blob you want to decrypt? Here is one: $ wget http://idisk.mac.com/dclunie-Public/securedicomfileset.tar.bz2 $ openssl

Re: CMS with PBE (Was Re: Decrypting a password encrypted pkcs7-envelopedData)

2009-11-26 Thread Dr. Stephen Henson
On Mon, Nov 23, 2009, Mathieu Malaterre wrote: Steve, Do you have a sample PBE blob you want to decrypt? Here is one: $ wget http://idisk.mac.com/dclunie-Public/securedicomfileset.tar.bz2 $ openssl asn1parse -in DICOMDIR -inform DER It was generated using Bouncy Castle I

Re: CMS with PBE (Was Re: Decrypting a password encrypted pkcs7-envelopedData)

2009-11-23 Thread Mathieu Malaterre
Steve, Do you have a sample PBE blob you want to decrypt? Here is one: $ wget http://idisk.mac.com/dclunie-Public/securedicomfileset.tar.bz2 $ openssl asn1parse -in DICOMDIR -inform DER It was generated using Bouncy Castle I forgot to mention, if you need help from me, do not hesitate !

Re: CMS with PBE (Was Re: Decrypting a password encrypted pkcs7-envelopedData)

2009-11-10 Thread Mathieu Malaterre
On Wed, Nov 4, 2009 at 12:17 PM, Mathieu Malaterre mathieu.malate...@gmail.com wrote: Hi, On Wed, Apr 29, 2009 at 9:41 PM, Dr. Stephen Henson st...@openssl.org wrote: On Wed, Apr 29, 2009, Randy Turner wrote: Just for my own edification, from this thread, it sounds like OpenSSL doesn't

Re: CMS with PBE (Was Re: Decrypting a password encrypted pkcs7-envelopedData)

2009-11-10 Thread Dr. Stephen Henson
On Tue, Nov 10, 2009, Mathieu Malaterre wrote: On Wed, Nov 4, 2009 at 12:17 PM, Mathieu Malaterre mathieu.malate...@gmail.com wrote: Answering to myself, it looks like it: *) Initial support for Cryptographic Message Syntax (aka CMS) based on RFC3850, RFC3851 and RFC3852. New

Re: CMS with PBE (Was Re: Decrypting a password encrypted pkcs7-envelopedData)

2009-11-10 Thread Dr. Stephen Henson
On Tue, Nov 10, 2009, Mathieu Malaterre wrote: Thanks for taking the time to answer, this will save me some time ! How hard would you say is this task (I have neither a previous knowledge of OpenSSL, nor a knowledge of cryptography) ? As a first step I would just like to decrypt a PBE

Re: CMS with PBE (Was Re: Decrypting a password encrypted pkcs7-envelopedData)

2009-11-10 Thread Mathieu Malaterre
On Tue, Nov 10, 2009 at 4:56 PM, Dr. Stephen Henson st...@openssl.org wrote: On Tue, Nov 10, 2009, Mathieu Malaterre wrote: On Wed, Nov 4, 2009 at 12:17 PM, Mathieu Malaterre mathieu.malate...@gmail.com wrote: Answering to myself, it looks like it:   *) Initial support for Cryptographic

Re: CMS with PBE (Was Re: Decrypting a password encrypted pkcs7-envelopedData)

2009-11-10 Thread Mathieu Malaterre
On Tue, Nov 10, 2009 at 5:15 PM, Dr. Stephen Henson st...@openssl.org wrote: On Tue, Nov 10, 2009, Mathieu Malaterre wrote:   Thanks for taking the time to answer, this will save me some time !   How hard would you say is this task (I have neither a previous knowledge of OpenSSL, nor a

CMS with PBE (Was Re: Decrypting a password encrypted pkcs7-envelopedData)

2009-11-04 Thread Mathieu Malaterre
Hi, On Wed, Apr 29, 2009 at 9:41 PM, Dr. Stephen Henson st...@openssl.org wrote: On Wed, Apr 29, 2009, Randy Turner wrote: Just for my own edification, from this thread, it sounds like OpenSSL doesn't support password-protected PKCS#7 bundlesis this interpreation correct? No. It

Decrypting a password encrypted pkcs7-envelopedData

2009-04-29 Thread Mathieu Malaterre
Hi there, I am trying to decrypt a file like this: $ openssl asn1parse -in sec -inform DER 0:d=0 hl=2 l=inf cons: SEQUENCE 2:d=1 hl=2 l= 9 prim: OBJECT:pkcs7-envelopedData 13:d=1 hl=2 l=inf cons: cont [ 0 ] 15:d=2 hl=2 l=inf cons: SEQUENCE 17:d=3 hl=2 l=

Re: Decrypting a password encrypted pkcs7-envelopedData

2009-04-29 Thread Dr. Stephen Henson
On Wed, Apr 29, 2009, Mathieu Malaterre wrote: Hi there, I am trying to decrypt a file like this: $ openssl asn1parse -in sec -inform DER 0:d=0 hl=2 l=inf cons: SEQUENCE 2:d=1 hl=2 l= 9 prim: OBJECT:pkcs7-envelopedData 13:d=1 hl=2 l=inf cons: cont [ 0 ]

Re: Decrypting a password encrypted pkcs7-envelopedData

2009-04-29 Thread Mathieu Malaterre
On Wed, Apr 29, 2009 at 12:14 PM, Dr. Stephen Henson st...@openssl.org wrote: On Wed, Apr 29, 2009, Mathieu Malaterre wrote: Hi there, I am trying to decrypt a file like this: $ openssl asn1parse -in sec -inform DER 0:d=0 hl=2 l=inf cons: SEQUENCE 2:d=1 hl=2 l= 9 prim:

Re: Decrypting a password encrypted pkcs7-envelopedData

2009-04-29 Thread Dr. Stephen Henson
On Wed, Apr 29, 2009, Mathieu Malaterre wrote: On Wed, Apr 29, 2009 at 12:14 PM, Dr. Stephen Henson st...@openssl.org wrote: On Wed, Apr 29, 2009, Mathieu Malaterre wrote: That involves the use of a password based recipient info structure which OpenSSL doesn't currently support. Ah

Re: Decrypting a password encrypted pkcs7-envelopedData

2009-04-29 Thread Randy Turner
Just for my own edification, from this thread, it sounds like OpenSSL doesn't support password-protected PKCS#7 bundlesis this interpreation correct? Randy On Apr 29, 2009, at 6:16 AM, Dr. Stephen Henson wrote: On Wed, Apr 29, 2009, Mathieu Malaterre wrote: On Wed, Apr 29, 2009 at

Re: Decrypting a password encrypted pkcs7-envelopedData

2009-04-29 Thread Dr. Stephen Henson
On Wed, Apr 29, 2009, Randy Turner wrote: Just for my own edification, from this thread, it sounds like OpenSSL doesn't support password-protected PKCS#7 bundlesis this interpreation correct? No. It supports password encrypted data for PKCS#7. That uses the encrypted data type.