New GPL'ed obscure.c replacement

Tito farmatito at tiscali.it
Wed Jan 18 13:46:06 UTC 2006


Hi to all,
this is a proposal to substitute obscure.c with a new GPL'ed version.
This is just a proof of concept for auditing and review by the list members.
This version is more restrictive than the previous ( maybe to much?)
and doesn't allow passwords that do not contain all four types
of characters: upper,  lower, digits and special chars.
Size is:

root at localhost:/dev/pts/2:/root/Desktop/busybox/libbb# size obscure.o.orig
   text    data     bss     dec     hex filename
    757       0       0     757     2f5 obscure.o.orig
   text    data     bss     dec     hex filename
    667       0       0     667     29b obscure.o

Comments, critics and improvements are as always welcome.

BTW: as this function is used only by passwd.c I think this file
          should be moved from libbb/ to loginutils/ dir.

Thanks in advance for your time and help.
Ciao,
Tito

-------------- next part --------------
A non-text attachment was scrubbed...
Name: obscure.c
Type: text/x-csrc
Size: 4451 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20060118/64705e1b/attachment.c 


More information about the busybox mailing list