gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-anastasis] branch master updated: Discarded last cha


From: gnunet
Subject: [GNUnet-SVN] [taler-anastasis] branch master updated: Discarded last change: Added specification of the purpose of the masterkey to DecryptionPolicy
Date: Tue, 20 Aug 2019 10:17:27 +0200

This is an automated email from the git hooks/post-receive script.

dennis-neufeld pushed a commit to branch master
in repository anastasis.

The following commit(s) were added to refs/heads/master by this push:
     new 52379d1  Discarded last change: Added specification of the purpose of 
the masterkey to DecryptionPolicy
52379d1 is described below

commit 52379d18ad13e932a5ef68595f2cbef0f6d1784c
Author: Dennis Neufeld <address@hidden>
AuthorDate: Tue Aug 20 10:17:21 2019 +0200

    Discarded last change: Added specification of the purpose of the masterkey 
to DecryptionPolicy
---
 src/api/api-anastasis.rst | 22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)

diff --git a/src/api/api-anastasis.rst b/src/api/api-anastasis.rst
index 9cf3195..d4bae1d 100644
--- a/src/api/api-anastasis.rst
+++ b/src/api/api-anastasis.rst
@@ -37,7 +37,7 @@ The client is identified and authorized by $ACCOUNT_PUB, 
which should be kept se
 EdDSA public key. 
 
 
-.. http:get:: /policy/$ACCOUNT_PUB[?type=$TYPE&version=$NUMBER]
+.. http:get:: /policy/$ACCOUNT_PUB[?version=$NUMBER]
 
   Get the customer's policy and encrypted master key share data.  The
   response must begin with an ephemeral ECDHE public key and continue
@@ -48,14 +48,8 @@ EdDSA public key.
     The escrow provider responds with an `EncryptedPolicyDocument`_ object. 
This request should
     virtually always be successful, if the account exists.
 
-    X-Anastasis-Type: $TYPE --- return the type of policy specified in header;
-    The variable specifies the type of service for which a key backup is 
stored (e.g. GNU Taler Wallet, Password Safe, etc.) 
-    and is used to distinguish backups if you want to store more than one 
backup with the escrow provider.
-    (if not specified in request, check if there is more then one type 
available: If there is only
-    one type, return it. Else, let the client choose one type).
-
-    X-Anastatis-Version: $NUMBER --- return actual version number in header;
-    (if not specified in request, return latest).
+  X-Anastatis-Version: $NUMBER --- return actual version number in header;
+  (if not specified in request, return latest).
     
   **Details:**
  
@@ -94,18 +88,28 @@ EdDSA public key.
 
     interface EscrowMethod {
       provider_url : string;
+
       escrow_method: string;
+
       uuid: uuid;
+
       salt: byte[32];
     }
 
     interface DecryptionPolicy {
       salt: byte[32];
+
       // Master key, AES-encrypted with key derived from
       // salt and secrets revealed by the following list of
       // escrow methods identified by UUID.
       master_key: byte[32];
+
+      // List of escrow methods identified by their uuid
       uuid: uuid[];
+
+      // Name of the service/program the masterkey is for (e.g. GNU Taler 
Wallet No.1, 
+      // GNU Taler Wallet No.2, KeePass No.1 etc.)
+      name: string;
     }
 
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]