manbytesgnu_site

Source files for manbytesgnu.org
git clone git://holbrook.no/manbytesgnu_site.git
Info | Log | Files | Refs

extra.sh (417B)


      1 VANITY_STRING=${VANITY_STRING:-"Kitabu Sarafu Karibu Sana"}
      2 echo -n "$VANITY_STRING" > .vanity 
      3 truncate .vanity -s 32 && \
      4 hexdump -v -n 32 -e '1/1 "%02x"' .vanity > .extra
      5 
      6 WALLET_PASSPHRASE=test eth-keyfile -0 > keyfile_validator.json 
      7 WALLET_PASSPHRASE=test eth-sign-msg -0 -f keyfile_validator.json `cat .extra` > .sig
      8 WALLET_PASSPHRASE=test eth-keyfile -0 -d keyfile_validator.json >> .extra
      9 cat .sig >> .extra