gnunet-svn
[Top][All Lists]
Advanced

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

[taler-anastasis] branch master updated: clarify truth_salt name


From: gnunet
Subject: [taler-anastasis] branch master updated: clarify truth_salt name
Date: Tue, 19 Oct 2021 20:31:30 +0200

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

dold pushed a commit to branch master
in repository anastasis.

The following commit(s) were added to refs/heads/master by this push:
     new 6a26aed  clarify truth_salt name
6a26aed is described below

commit 6a26aedeab3237dfa2da358c0a7546397786ed6f
Author: Florian Dold <florian@dold.me>
AuthorDate: Tue Oct 19 20:31:23 2021 +0200

    clarify truth_salt name
---
 doc/sphinx/rest.rst          | 4 ++--
 src/lib/anastasis_backup.c   | 2 +-
 src/lib/anastasis_recovery.c | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/sphinx/rest.rst b/doc/sphinx/rest.rst
index a9b8fbc..eebe56e 100644
--- a/doc/sphinx/rest.rst
+++ b/doc/sphinx/rest.rst
@@ -303,8 +303,8 @@ In the following, UUID is always defined and used according 
to `RFC 4122`_.
       // Client has to provide this key to the server when using ``/truth/``.
       truth_key: [32]; //bytearray
 
-      // Salt used to encrypt the truth on the Anastasis server.
-      salt: [32]; //bytearray
+      // Salt used to hash the security answer if appliccable.
+      truth_salt: [32]; //bytearray
 
       // Salt from the provider to derive the user ID
       // at this provider.
diff --git a/src/lib/anastasis_backup.c b/src/lib/anastasis_backup.c
index b9981f0..95e9ee9 100644
--- a/src/lib/anastasis_backup.c
+++ b/src/lib/anastasis_backup.c
@@ -826,7 +826,7 @@ ANASTASIS_secret_share (struct GNUNET_CURL_Context *ctx,
                                                   pt->instructions),
                          GNUNET_JSON_pack_data_auto ("truth_key",
                                                      &pt->truth_key),
-                         GNUNET_JSON_pack_data_auto ("salt",
+                         GNUNET_JSON_pack_data_auto ("truth_salt",
                                                      &pt->salt),
                          GNUNET_JSON_pack_data_auto ("provider_salt",
                                                      &pt->provider_salt),
diff --git a/src/lib/anastasis_recovery.c b/src/lib/anastasis_recovery.c
index 70bfa36..ef2ccd0 100644
--- a/src/lib/anastasis_recovery.c
+++ b/src/lib/anastasis_recovery.c
@@ -791,7 +791,7 @@ policy_lookup_cb (void *cls,
                                &instructions),
       GNUNET_JSON_spec_fixed_auto ("truth_key",
                                    &cs->truth_key),
-      GNUNET_JSON_spec_fixed_auto ("salt",
+      GNUNET_JSON_spec_fixed_auto ("truth_salt",
                                    &cs->salt),
       GNUNET_JSON_spec_fixed_auto ("provider_salt",
                                    &cs->provider_salt),

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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