Script for loop-AES key generation

Max Vozeler max at nusquama.org
Sat Dec 16 15:46:03 CET 2006


Hi all,

On Sat, Nov 25, 2006 at 06:16:14PM +0100, Lionel Elie Mamane wrote:
> On Sat, Nov 25, 2006 at 03:20:21PM +0100, Max Vozeler wrote:
> 
> > On Wed, Nov 22, 2006 at 11:07:10PM +0100, Richard Zidlicky wrote:
> >> why strings? "grep -a" works since ages and saves one command.
> 
> > The attached patch changes the script to use grep -a (which is not
> > in POSIX/SuSv3 or busybox grep, but should generally be available on
> > normal systems)
> 
> I don't get the point of combining -a and -q; the effect of -a is that
> even if the file is binary, "lines" that match are printed on
> stdout. -q tells it not to output anything. So as far as I
> understand,"-a -q" is the same as "-q". Which is in SuSv3.

Good point. I wonder why I didn't notice that :-)
It now uses plain grep -q.

BTW: We maintain the keygen script in an SVN repository; You can
always find the latest version there:

http://svn.debian.org/wsvn/pkg-loop-aes/trunk/loop-aes-utils/debian/loop-aes-keygen?op=file&rev=0&sc=0

cheers,
Max



More information about the Pkg-loop-aes-maint mailing list