summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-03-01 23:25:43 +0100
committerChristian Grothoff <christian@grothoff.org>2021-03-01 23:25:43 +0100
commitfc65218aa7a0179418a8531423ce158b35d661a8 (patch)
treeb4b58e76e58294cb526e648e0a336201e2f38c1d
parent46c74b3f32078932199c0bc05813338c637730fd (diff)
downloaddocs-fc65218aa7a0179418a8531423ce158b35d661a8.tar.gz
docs-fc65218aa7a0179418a8531423ce158b35d661a8.tar.bz2
docs-fc65218aa7a0179418a8531423ce158b35d661a8.zip
clarify API
-rw-r--r--anastasis.rst12
1 files changed, 8 insertions, 4 deletions
diff --git a/anastasis.rst b/anastasis.rst
index 3d0bc1ff..8e6d0028 100644
--- 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):