Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 546226 - app-crypt/mcrypt-2.6.8-r2 fails with enigmatic error message
Summary: app-crypt/mcrypt-2.6.8-r2 fails with enigmatic error message
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-10 22:18 UTC by Yanestra
Modified: 2015-04-22 06:34 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
output of emerge --info (gentoo-info.txt,5.31 KB, text/plain)
2015-04-10 22:18 UTC, Yanestra
Details
output of mcrypt --list (mcrypt-list.txt,752 bytes, text/plain)
2015-04-10 22:19 UTC, Yanestra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yanestra 2015-04-10 22:18:44 UTC
Created attachment 401004 [details]
output of emerge --info

When using an encryption algorithm (apparently it does not matter, which one), mcrypt refuses and wants to use a different one because the original one be "not available in OpenPGP encryption".

I did not set nor want OpenPGP encryption.

Then, mcrypt chooses an algorithm that is NOT in the list of available algorithms (mcrypt --list). This obviously must fail.


$ mcrypt -b -a rijndael-192 -m cbc testfile 
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-192 is not available in OpenPGP encryption.
cast-128 will be used instead.
Could not open module
Comment 1 Yanestra 2015-04-10 22:19:56 UTC
Created attachment 401006 [details]
output of mcrypt --list
Comment 2 Yanestra 2015-04-19 01:58:35 UTC
Can someone please verify this?
Comment 3 Alon Bar-Lev (RETIRED) gentoo-dev 2015-04-19 18:30:01 UTC
please try adding --no-openpgp
Comment 4 Yanestra 2015-04-21 12:43:36 UTC
--no-openpgp makes mcrypt work. A pity this option is not documented (at least I can't find it at the first glance).
Comment 5 Alon Bar-Lev (RETIRED) gentoo-dev 2015-04-21 12:45:32 UTC
Good.

You can suggest upstream to document/improve error message, although error message makes sense.
Comment 6 Yanestra 2015-04-22 03:20:13 UTC
May I suggest at least compiling in the required encrypted schemes for the default setting?

It's no use pointing to upstream and keeping a dysfunctional tool.

If you close this again, pls use VERIFIED/UPSTREAM.

Thx.
Comment 7 Yanestra 2015-04-22 06:34:07 UTC
Lazy sunofabitch