[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-docs] branch master updated: update spec based on actual implemen
From: |
gnunet |
Subject: |
[taler-docs] branch master updated: update spec based on actual implementation |
Date: |
Sun, 04 Apr 2021 16:43:07 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository docs.
The following commit(s) were added to refs/heads/master by this push:
new db20ce2 update spec based on actual implementation
db20ce2 is described below
commit db20ce2cdf58391166bc2c1b60abdbeeb2e56bd4
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Apr 4 16:43:05 2021 +0200
update spec based on actual implementation
---
anastasis.rst | 23 +++++++----------------
1 file changed, 7 insertions(+), 16 deletions(-)
diff --git a/anastasis.rst b/anastasis.rst
index 7929bd6..797f642 100644
--- a/anastasis.rst
+++ b/anastasis.rst
@@ -1787,29 +1787,20 @@ into an ERROR state instead of allowing the user to
continue.
**enter_secret:**
-This transition provides the reducer with the actual core secret of the user
+This transition provides the reducer with the actual core ``secret`` of the
user
that Anastasis is supposed to backup (and possibly recover). The argument is
-simply the Crockford-Base32 encoded ``secret``, for example:
+simply the Crockford-Base32 encoded ``value`` together with its ``mime`` type,
+for example:
.. code-block:: javascript
{
- "secret": "EDJP6WK5EG50"
+ "secret": {
+ "value": "EDJP6WK5EG50",
+ "mime" : "text/plain"
}
-Applications SHOULD prefix the encoded ``secret`` with some data that allows
-applications to recognize the application and the version of the secret. The
-suggested notation is ``$APPLICATION/$VERSION:$SECRET``, for example
-``taler-wallet/42:KEYMATERIAL``. In case the secret is provided from a file
-and the application is oblivious to the details, the same syntax can be used
-to prefix the secret with a MIME type, for example ``image/png:IMAGE``. If
-the application is unaware of the format, it should use ``*/*:DATA``.
-
-..note::
-
- The prefixing of the secret with the mime-type or application version
- is currently not implemented (#6825).
-
+If the application is unaware of the format, it set the ``mime`` field to
``null`.
After adding a secret, the reducer may transition into different states
depending on whether payment(s) are necessary. If payments are needed, the
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-docs] branch master updated: update spec based on actual implementation,
gnunet <=