02-04-2013, 02:40 AM
Keep getting line length exception with ssha from openldap.
I've made sure no tabs/spaces as per the faq. Here's an outout of xxd
cat testhash.txt | xxd
0000000: 7b53 5348 417d 3063 3062 6c46 5458 584e {SSHA}0c0blFTXXN
0000010: 7541 4d48 4543 5334 7578 726a 335a 6965 uAMHECS4uxrj3Zie
0000020: 4d6f 5749 6d72 0a MoWImr.
Which clearly shows nothing but a new line character after the hash.
example hash {SSHA}0c0blFTXXNuAMHECS4uxrj3ZieMoWImr from http://www.openldap.org/faq/data/cache/347.html
I tried using both no -m option or -m 111 which should be ssha.
I know the hashes are in the format of {SSHA}base64(sha1(password + salt) + salt) . Any idea what i'm doing wrong?
I've made sure no tabs/spaces as per the faq. Here's an outout of xxd
cat testhash.txt | xxd
0000000: 7b53 5348 417d 3063 3062 6c46 5458 584e {SSHA}0c0blFTXXN
0000010: 7541 4d48 4543 5334 7578 726a 335a 6965 uAMHECS4uxrj3Zie
0000020: 4d6f 5749 6d72 0a MoWImr.
Which clearly shows nothing but a new line character after the hash.
example hash {SSHA}0c0blFTXXNuAMHECS4uxrj3ZieMoWImr from http://www.openldap.org/faq/data/cache/347.html
I tried using both no -m option or -m 111 which should be ssha.
I know the hashes are in the format of {SSHA}base64(sha1(password + salt) + salt) . Any idea what i'm doing wrong?