Succeed!
Try using 'echo -n' Yes, -n has to be used with echo, this was one of the fault.
This, and also the value shown by freeradius output is a hex dump of an ASCII encoded string. Yes, this was the second thing I made.
And I also found a typo in the secret I gave to echo -n, so after all I changed all errors, got the proper value. Thank you! Brian Julin <BJulin@clarku.edu> ezt írta (időpont: 2019. jan. 16., Sze, 15:46):
This and also the value shown by freeradius output is a hex dump of an ASCII encoded string. So 38393465333261356361356239306362353834323337323435363634373735386531393266613933 is 894e32a5ca5b90cb5842372456647758e192fa93
Adam Bishop <Adam.Bishop@jisc.ac.uk> wrote
On 16 Jan 2019, at 13:52, Fekete Tamás <fektom@gmail.com> wrote:
echo "<mystringwhichisnotrevealed>" | sha1sum
Try using 'echo -n'
echo has an implicit newline unless you tell it otherwise.
This, and also the value shown by freeradius output is a hex dump of an ASCII encoded string. So 38393465333261356361356239306362353834323337323435363634373735386531393266613933 is 894e32a5ca5b90cb5842372456647758e192fa93
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html