Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 484498 - support for decrypting multiple drives with a gpg key
Summary: support for decrypting multiple drives with a gpg key
Status: CONFIRMED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: Normal enhancement with 1 vote (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-10 16:35 UTC by Matthew Thode ( prometheanfire )
Modified: 2013-09-10 18:12 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 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2013-09-10 16:35:57 UTC
so far, genkernel doesn't support this.

Right now I use a script manually every boot from a rescue shell and this script.

        read -s -p "Password: " password
        echo ""
        for disk in a b c d e f g h i j k l m n o p; do 
                echo -n ${password} | gpg -q -d --no-tty --passphrase-fd 0 /mnt/key/decrypt.gpg | cryptsetup -q --key-file=- luksOpen /dev/sd${disk}2 crypt${disk}2
        done    
        unset password

Reproducible: Always