commit fc65218aa7a0179418a8531423ce158b35d661a8
parent 46c74b3f32078932199c0bc05813338c637730fd
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 1 Mar 2021 23:25:43 +0100
clarify API
Diffstat:
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/anastasis.rst b/anastasis.rst
@@ -1207,6 +1207,10 @@ Expected new state:
**add_authentication**:
+Note that the "instructions" must be given in Crockford Base32
+encoding. We use here ASCII-Text that is both, but in reality,
+any text must be first Crockford Base32 encoded!
+
Arguments (example):
.. code-block:: json
@@ -1217,7 +1221,7 @@ Arguments (example):
"type": "question",
"mime_type" : "text/plain",
"instructions" : "What is your favorite GNU package?",
- "challenge" : "gdb",
+ "challenge" : "poke",
}
}
@@ -1232,7 +1236,7 @@ Expected new state:
"type": "question",
"mime_type" : "text/plain",
"instructions" : "What is your favorite GNU package?",
- "challenge" : "gdb",
+ "challenge" : "poke",
},
{
"type": "email",
@@ -1242,7 +1246,7 @@ Expected new state:
}
-**del_authentication**:
+**delete_authentication**:
Arguments (example):
@@ -1378,7 +1382,7 @@ Expected new state:
}
-**del_policy:**
+**delete_policy:**
Arguments (example):