Hi
I have a small problem with the digest utility.
I experienced it several times - it sometimes produces small errors when
used with "grep", I get about 10 non-matching lines pass grep unnoticed
on 30K of entries.
It's not a big deal, it's easy to weed them out manually.
Reproduce it this way: use a randomly-created text file with say 10K
(the more the better, I had 30K) of lines. On 800 entries, for example,
I get zero errors.
Then parse the file, digest lines with SHA, pipe to grep.
./digest $pass | grep SHA
Check the resulting file for non-SHA entries, like:
# grep "{MD" result.txt
(interesting enough, I get very few RMD160 lines in there, usually MD4/5
beats it 10:1)
My result on 25K of digest-ed passwords:
# grep "{MD" results.txt.final
userPassword: {MD4}ptH/opC1Di2aT5wtSJTSHA==
userPassword: {MD4}F+hjtV6Ert0Tqe4lDMASHA==
userPassword: {MD4}xt+iDa4P2mef3fQzNi6SHA==
userPassword: {MD5}IUg0+fKsxqWZNiSHA3fa7g==
userPassword: {MD4}nQeqzeMHtSHAmoVlyAhc2g==
userPassword: {MD5}85RNly6zSHAcg5/3iE8LXQ==
userPassword: {MD4}D18Ff22rLbxbqz3RaCqSHA==
userPassword: {MD4}g2v4SHAy1g5ie8uX2JCCCA==
My OS is up-to-date RH8, bash 2.05, digest is (I think) 20021201.
Regards
Sean
--
Sean Lee <[EMAIL PROTECTED]>