Re: Script for loop-AES key generation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux