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@xxxxxxxxxxxxxx | -Dan Farmer and sluskyb@xxxxxxxxxx | Wietse Venema PGP keyID ADA44B3B - Linux-crypto: cryptography in and on the Linux system Archive: http://mail.nl.linux.org/linux-crypto/