I seem to have run into a bug in which binary files encrypted in
OpenPGP format with the latest versions of mcrypt and libmcrypt can't
be decrypted. This is unfortunate since I have some data encrypted in
this format that I would like back.

I built libmcrypt-2.5.8 and mcrypt-2.6.7, then ran the following test.
Note that in each case, I'm just hitting enter at the "Enter
passphrase:" prompt.

[EMAIL PROTECTED] ~/tmp/mcrypt-2.6.7/src $ dd if=/dev/zero of=testfile count=1
1+0 records in
1+0 records out
512 bytes (512 B) copied, 6.3584e-05 s, 8.1 MB/s
[EMAIL PROTECTED] ~/tmp/mcrypt-2.6.7/src $ ./mcrypt testfile
Enter the passphrase (maximum of 512 characters)
Please use a combination of upper and lower case letters and numbers.
Enter passphrase: 
Enter passphrase: 

File testfile was encrypted.
[EMAIL PROTECTED] ~/tmp/mcrypt-2.6.7/src $ ./mcrypt -d testfile.nc 
mcrypt: testfile already exists; do you wish to overwrite (y or n)?y
Enter passphrase: 
decryption: wrong key.
File testfile.nc was NOT decrypted successfully.

This has also been reported as a Gentoo bug:

http://bugs.gentoo.org/show_bug.cgi?id=213088

Any advice? Thanks in advance.

-- 
Elliot Kendall <[EMAIL PROTECTED]>
Network Security Architect
Brandeis University

Trouble replying? See http://people.brandeis.edu/~ekendall/sign/

Attachment: smime.p7s
Description: S/MIME cryptographic signature

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Mcrypt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mcrypt-users

Reply via email to