#! /bin/sh

set -e

./bin/sigsum-key gen -o test.key

./bin/sigsum-token record -k test.key.pub -o test.record.txt
grep >/dev/null '^_sigsum_v1 IN TXT "[0-9a-z]\{64\}"$' test.record.txt
