anastasis

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

commit 333dfe91630f5b7d4afde94f53e77720539fe4c7
parent c46543428f293bda5c9a11fadf789f58921cce7d
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Mon, 26 Dec 2022 17:44:28 +0100

-simple test script

Diffstat:
Asrc/authorization/test-post.sh | 12++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)

diff --git a/src/authorization/test-post.sh b/src/authorization/test-post.sh @@ -0,0 +1,12 @@ +#!/bin/bash +# This file is in the public domain. +set -eu +ADDR=`jq -n '{ + full_name: "John Doe", + street: "Bar street 3", + city: "Wuppertal", + postcode: 42289, + country: "Deutschland", + }'` + +echo "Your recovery code is 1234" | ./anastasis-authorization-post.sh "$ADDR"