Re: Crypto headaches.

2009-02-18 Thread SamG
On Feb 18, 7:10 pm, "M.-A. Lemburg" wrote: > On 2009-02-18 14:23, SamG wrote: > > > Hi, > > > Using the python's Crypto.Cipher.Blowfish is create and encrypted file > > in the CBC mode. Now... when try to decrypt it with OpenSSL i get an > > error stating "bad magic number". > > Are you getting th

Re: Crypto headaches.

2009-02-18 Thread M.-A. Lemburg
On 2009-02-18 14:23, SamG wrote: > Hi, > > Using the python's Crypto.Cipher.Blowfish is create and encrypted file > in the CBC mode. Now... when try to decrypt it with OpenSSL i get an > error stating "bad magic number". Are you getting the error message from openssl ? It looks a lot like an erro

Crypto headaches.

2009-02-18 Thread SamG
Hi, Using the python's Crypto.Cipher.Blowfish is create and encrypted file in the CBC mode. Now... when try to decrypt it with OpenSSL i get an error stating "bad magic number". I tried $ cat encr-file | openssl bf-cbc -d -pass pass:sam > org-file or $ openssl bf-cbc -d -pass pass:sam -in encr-fi