|
From: Elliot K. <eke...@br...> - 2008-04-16 02:13:03
|
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. el@paprika ~/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 el@paprika ~/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. el@paprika ~/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 <eke...@br...> Network Security Architect Brandeis University Trouble replying? See http://people.brandeis.edu/~ekendall/sign/ |