anastasis

Credential backup and recovery protocol and service
Log | Files | Refs | Submodules | README | LICENSE

commit 7dbedccf6a8d66cd2ed184ffe7617e59b0eb0040
parent a38e188fef9903cb4ba9350e7c5de089e4fb99c2
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 21 Apr 2024 14:17:30 +0200

nicer SMS body

Diffstat:
Msrc/authorization/anastasis-authorization-sms.sh | 2--
Msrc/authorization/anastasis_authorization_plugin_sms.c | 2+-
2 files changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/authorization/anastasis-authorization-sms.sh b/src/authorization/anastasis-authorization-sms.sh @@ -20,8 +20,6 @@ STATUS=$(curl --request POST \ --data message_type=OTP \ --data "phone_number=$1" \ -w "%{http_code}" -s -o $TMPFILE) -echo `cat $TMPFILE` >> /var/log/sms.log -rm -f $TMPFILE case $STATUS in 200|203|250|290|291|295) exit 0; diff --git a/src/authorization/anastasis_authorization_plugin_sms.c b/src/authorization/anastasis_authorization_plugin_sms.c @@ -375,7 +375,7 @@ sms_challenge (struct ANASTASIS_AUTHORIZATION_State *as, GNUNET_assert (NULL != pipe_stdin); GNUNET_DISK_pipe_close (p); GNUNET_asprintf (&as->msg, - "%s\nAnastasis\n: %s", + "%s\nAnastasis:\n%s", ANASTASIS_pin2s (as->code), ANASTASIS_CRYPTO_uuid2s (&as->truth_uuid)); {