Use 64 characters with lamassu-coinatmradar

This commit is contained in:
Neal Conner 2019-03-28 22:57:30 -04:00 committed by Josh Harvey
parent c1bb84652a
commit d2f36b8019

View file

@ -5,9 +5,9 @@ SEED="$(cat ~/seeds/seed.txt)"
echo
echo "Here is the 'External ID' of your paired machine(s), for use under the 'ATM / Teller details' of your CoinATMRadar listing:"
echo
su - postgres -c "psql \"lamassu\" -Atc \"select regexp_replace(left(device_id,32), '$', ' '),regexp_replace(name, '^', ' ') from devices\""
su - postgres -c "psql \"lamassu\" -Atc \"select regexp_replace(device_id, '$', ' '),regexp_replace(name, '^', ' ') from devices\""
echo
echo "If communicating with CoinATMRadar, it may be helpful to relay your 'Operator ID':"
echo "If speaking with CoinATMRadar directly, it may be helpful to let them know your 'Operator ID':"
echo
/usr/bin/hkdf operator-id "$SEED" | cut -c -32
/usr/bin/hkdf operator-id "$SEED"
echo