https://bugzilla.novell.com/show_bug.cgi?id=385951 Summary: mcrypt cannot read files written in openpgp format Product: openSUSE 10.2 Version: Final Platform: x86-64 OS/Version: openSUSE 10.2 Status: NEW Severity: Normal Priority: P5 - None Component: Security AssignedTo: security-team@suse.de ReportedBy: R.Vickers@cs.rhul.ac.uk QAContact: qa@suse.de Found By: Customer Created an attachment (id=211942) --> (https://bugzilla.novell.com/attachment.cgi?id=211942) Unencrypted file The mcrypt command has problems reading files written in OpenPGP format. To demonstrate this, encrypt a file with the -g option and then try to decrypt it on the same machine. For example: $ mcrypt -V -g test.gz Enter the passphrase (maximum of 512 characters) Please use a combination of upper and lower case letters and numbers. Enter passphrase: Enter passphrase: Algorithm: rijndael-128 Keysize: 32 Mode: ncfb Keyword mode: s2k-isalted-sha1 File format: openpgp Input File: test.gz Output File: test.gz.nc File test.gz was encrypted. aspasia$ mcrypt -V -d test.gz.nc An OpenPGP encrypted file has been detected. mcrypt: test.gz already exists; do you wish to overwrite (y or n)? Signal 2 caught. Exiting. aspasia$ cp test.gz.nc try.nc aspasia$ mcrypt -d -V try.nc An OpenPGP encrypted file has been detected. Enter passphrase: decryption: wrong key. Algorithm: rijndael-128 Keysize: 32 Mode: ncfb Keyword mode: s2k-isalted-sha1 File format: openpgp Input File: try.nc Output File: try File try.nc was NOT decrypted successfully. Note that: (1) The file CAN be decrypted on a 10.3 system (2) Using -g when decrypting does not help (3) OpenPGP is the default on 10.3, so files encrypted under 10.3 cannot be decrypted under 10.2 (I will submit a separate bug report about this) (4) The problem occurs on both 64 and 32 bit systems I will attach the files I used for this, and the passphrase is "passphrase". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.