gnunet-svn
[Top][All Lists]
Advanced

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

[taler-donau] branch master updated: working on keys path


From: gnunet
Subject: [taler-donau] branch master updated: working on keys path
Date: Tue, 12 Mar 2024 19:37:29 +0100

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

johannes-casaburi pushed a commit to branch master
in repository donau.

The following commit(s) were added to refs/heads/master by this push:
     new a5a38ba  working on keys path
a5a38ba is described below

commit a5a38ba13eb964a5b162874f4785b44932908b67
Author: Casaburi Johannes <johannes.casaburi@students.bfh.ch>
AuthorDate: Tue Mar 12 19:36:49 2024 +0100

    working on keys path
---
 src/donau/donau-httpd_keys.c | 25 +++++++++++++++----------
 1 file changed, 15 insertions(+), 10 deletions(-)

diff --git a/src/donau/donau-httpd_keys.c b/src/donau/donau-httpd_keys.c
index 3a6eff4..3efae3e 100644
--- a/src/donau/donau-httpd_keys.c
+++ b/src/donau/donau-httpd_keys.c
@@ -518,16 +518,22 @@ add_sign_key_cb (void *cls,
   //                                sk->meta.expire_sign.abs_time));
   // }
   GNUNET_assert (0 == json_array_append_new (ctx->signkeys, GNUNET_JSON_PACK (
-                                               // GNUNET_JSON_pack_timestamp 
("stamp_start",
-                                               //                            
sk->meta.start),
-                                               // GNUNET_JSON_pack_timestamp 
("stamp_expire",
-                                               //                            
sk->meta.expire_sign),
-                                               // GNUNET_JSON_pack_timestamp 
("stamp_end",
-                                               //                            
sk->meta.expire_legal),
-                                               // GNUNET_JSON_pack_data_auto 
("master_sig",
-                                               //                            
&sk->master_sig),
+                                               GNUNET_JSON_pack_timestamp (
+                                                 "stamp_start",
+                                                 sk->
+                                                 meta.valid_from),
+                                               GNUNET_JSON_pack_timestamp (
+                                                 "stamp_expire",
+                                                 sk->
+                                                 meta.expire_sign),
+                                               GNUNET_JSON_pack_timestamp (
+                                                 "stamp_end",
+                                                 sk->
+                                                 meta.expire_legal),
                                                GNUNET_JSON_pack_data_auto (
-                                                 "key", &sk->donau_pub))));
+                                                 "key",
+                                                 &sk->
+                                                 donau_pub))));
   return GNUNET_OK;
 }
 
@@ -1741,7 +1747,6 @@ donation_unit_info_cb (
  * @param cls closure with a `struct DH_KeyStateHandle *`
  * @param donau_pub the public key
  * @param meta meta data information about the denomination type (expirations)
- * @param master_sig master signature affirming the validity of this 
denomination
  */
 static void
 iterate_active_signing_keys_cb (

-- 
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]