Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150510 - sys-fs/cryptsetup-luks-1.0.3-r2 needs cryptographic modules to be usable
Summary: sys-fs/cryptsetup-luks-1.0.3-r2 needs cryptographic modules to be usable
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Benjamin Smee (strerror) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-08 13:35 UTC by Petteri Räty (RETIRED)
Modified: 2006-10-12 04:05 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petteri Räty (RETIRED) gentoo-dev 2006-10-08 13:35:51 UTC
ATM the ebuild does not check if you have any Cryptographic options set. The ebuild should instruct the user about this or recuire at least one of the usable ciphers to be selected.

betelgeuse@pena /usr/src/linux/arch/i386 $ sudo cryptsetup -v --verify-passphrase luksFormat /dev/sdc2

WARNING!
========
This will overwrite data on /dev/sdc2 irrevocably.

Are you sure? (Type uppercase yes): YES
Enter LUKS passphrase:
Verify passphrase:
Failed to setup dm-crypt key mapping.
Check kernel for support for the aes-cbc-essiv:sha256 cipher spec and verify that /dev/sdc2 contains at least 133 sectors.
Failed to write to key storage.

so for default luksFormat I needed the sha256 and aes_i586 kernel modules, but it should be able to use others I think with the -c option
Comment 1 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2006-10-12 04:05:58 UTC
Fixed in cvs, try -r3