summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Neufeld <dennis.neufeld@students.bfh.ch>2020-04-13 16:35:23 +0000
committerDennis Neufeld <dennis.neufeld@students.bfh.ch>2020-04-13 16:35:23 +0000
commit4e05ec8010ff4b93c5aeadd39f43f9d166d8028a (patch)
tree9da972c9efce08a1d67e6148c7b0fc97d6c17dc1
parent95f5214432d6f58ac374db481cc13e5542b2572c (diff)
downloaddocs-4e05ec8010ff4b93c5aeadd39f43f9d166d8028a.tar.gz
docs-4e05ec8010ff4b93c5aeadd39f43f9d166d8028a.tar.bz2
docs-4e05ec8010ff4b93c5aeadd39f43f9d166d8028a.zip
correction anastasis spec
-rw-r--r--anastasis.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/anastasis.rst b/anastasis.rst
index 73a2eeda..0140e336 100644
--- a/anastasis.rst
+++ b/anastasis.rst
@@ -691,7 +691,7 @@ charge per truth operation using GNU Taler.
interface TruthUploadRequest {
// Contains the information of an interface `EncryptedKeyShare`, but simply
// as one binary block (in Crockford Base32 encoding for JSON).
- key_share_data: []; //bytearray of undefined length
+ key_share_data: []; //bytearray
// Key share method, i.e. "security question", "SMS", "e-mail", ...
method: string;
@@ -710,7 +710,7 @@ charge per truth operation using GNU Taler.
//
// The nonce of the HKDF for this encryption must include the
// string "ECT".
- encrypted_truth: []; //bytearray of undefined length
+ encrypted_truth: [80]; //bytearray
// mime type of truth, i.e. text/ascii, image/jpeg, etc.
truth_mime: string;
@@ -772,7 +772,7 @@ charge per truth operation using GNU Taler.
// the HKDF may additionally include
// bits from the response (i.e. some hash over the
// answer to the security question)
- encrypted_key_share_i: []; //bytearray of undefined length
+ encrypted_key_share_i: [32]; //bytearray
}