[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Encrytped root with "mount-slusky"?
On Tue, 02 Sep 2003 23:18:58 -0600, Boyd Waters wrote:
> So I need something like Jari's lomount patch, which expands the getpass
> ~ functions in lomount to call GPG (with the --no-tty option, and using
> xgetpass).
>
> Is there some way to merge the two approaches? Or to use your approach
> with GPG that I am missing?
Looking over Jari's patch, it seems that
gpg --homedir /mnt/usb/.gnupg --batch \
--no-tty --passphrase-fd 0 -q \
-d /mnt/usb/.gnupg/hard-disk-keyfile.gpg |
losetup -e twofish-cbc-128 -p 0 /dev/loop/5 $DATA
ought to work. Or do I misunderstand what you're trying to accomplish?
--
Ben Slusky | Trust is your enemy.
sluskyb@paranoiacs.org | -Dan Farmer and
sluskyb@stwing.org | Wietse Venema
PGP keyID ADA44B3B
-
Linux-crypto: cryptography in and on the Linux system
Archive: http://mail.nl.linux.org/linux-crypto/