[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Purpose of waitseconds option to aespipe
Phil H wrote:
> What is the purpose of the waitseconds (-w) option to
> aespipe?
Purpose is to wait before asking passphrase.
For example, if you were to decrypt something already encrypted, and then
re-encrypt it again with different key file or passphrase, you can use two
aespipe processes like this:
... | aespipe -d | aespipe | ...
In above case, both aespipe processes end up asking for passphrase
simultaneously. But how do you know which aespipe process gets first
passphrase? You don't. This works more consistently:
... | aespipe -d | aespipe -w 60 | ...
^^^^^
aespipe README example 3 attempts to prevent aespipe password prompt from
getting lost in mkisofs output noise by using -w option like this:
mkisofs -r directory-tree | aespipe -w 10 -K image.iso -O 16 >>image.iso
^^^^^
But that doesn't always work. It is better to just tell mkisofs to just shut
up. Like this:
mkisofs -quiet -r directory-tree | aespipe -K image.iso -O 16 >>image.iso
^^^^^^
--
Jari Ruusu 1024R/3A220F51 5B 4B F9 BB D3 3F 52 E9 DB 1D EB E3 24 0E A9 DD
-
Linux-crypto: cryptography in and on the Linux system
Archive: http://mail.nl.linux.org/linux-crypto/