Closed jodersky closed 9 years ago
To the best of my knowledge you'd need to implement TripleSec to recreate the hash.
cat statement.txt | openssl base64 -d | openssl dgst -sha256 | awk '{ print $2 } ' | xxd -r -p | openssl base64 -e
did the trick. Thanks!
Hi, I'm trying to recreate the hash displayed on twitter from a signed statement using standard unix tools.
The description given here, says:
So my first attempt was to copy the statement contents into statement.txt and then run
However, I get a different hash from the one displayed on keybase and twitter. I also tried various combinations of newlines and headers in the statement, however with no success.
Any pointers on the exact procedure to reproduce the hash?