totp program outputs the date

This commit is contained in:
Trammell Hudson 2017-04-12 08:12:31 -04:00
parent 782d4cdc7b
commit 3fc174b0f7
Failed to extract signature

View File

@ -20,7 +20,7 @@ tpm unsealfile \
rm -f "$TOTP_SEALED" rm -f "$TOTP_SEALED"
echo -n "`date`: " #echo -n "`date`: "
if ! totp < "$TOTP_SECRET"; then if ! totp < "$TOTP_SECRET"; then
rm -f "$TOTP_SECRET" rm -f "$TOTP_SECRET"
die 'Unable to compute TOTP hash?' die 'Unable to compute TOTP hash?'