gnunet-svn
[Top][All Lists]
Advanced

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

[gnunet] branch master updated (a964469a9 -> de09c89d5)


From: gnunet
Subject: [gnunet] branch master updated (a964469a9 -> de09c89d5)
Date: Wed, 31 Aug 2022 18:18:53 +0200

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

martin-schanzenbach pushed a change to branch master
in repository gnunet.

    from a964469a9 DID: change method name
     new fd8d41f2c -fix
     new de09c89d5 -actually change method name

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/reclaim/did.h             | 4 ++--
 src/reclaim/did_helper.h      | 4 ++--
 src/reclaim/test_did_helper.c | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/reclaim/did.h b/src/reclaim/did.h
index 4a3778f9d..fc465da3b 100644
--- a/src/reclaim/did.h
+++ b/src/reclaim/did.h
@@ -25,7 +25,7 @@
 
 /**
  * Create a DID string from an ego in the format
- * did:reclaim:<pubkey>
+ * did:gns:<pubkey>
  *
  * @param ego the Ego to use
  * @return the DID string
@@ -36,7 +36,7 @@ DID_ego_to_did (struct GNUNET_IDENTITY_Ego *ego);
 
 /**
  * Extract the public key from a DID
- * in the format did:reclaim:<pubkey>
+ * in the format did:gns:<pubkey>
  *
  * @param did the DID parse
  * @param pk where to store the public key
diff --git a/src/reclaim/did_helper.h b/src/reclaim/did_helper.h
index c3ee457af..5cad48ca8 100644
--- a/src/reclaim/did_helper.h
+++ b/src/reclaim/did_helper.h
@@ -24,7 +24,7 @@
  * @author Tristan Schwieren
  */
 
-#define GNUNET_DID_METHOD_PREFIX "did:reclaim:"
+#define GNUNET_DID_METHOD_PREFIX "did:gns:"
 #define MAX_DID_SPECIFIC_IDENTIFIER_LENGTH 59
 
 /**
@@ -71,4 +71,4 @@ DID_pkey_to_did_document (struct GNUNET_IDENTITY_PublicKey 
*pkey);
  * @brief Generate the default DID document for a GNUNET ego
  */
 char *
-DID_identity_to_did_document (struct GNUNET_IDENTITY_Ego *ego);
\ No newline at end of file
+DID_identity_to_did_document (struct GNUNET_IDENTITY_Ego *ego);
diff --git a/src/reclaim/test_did_helper.c b/src/reclaim/test_did_helper.c
index 2f72c3496..698edf180 100644
--- a/src/reclaim/test_did_helper.c
+++ b/src/reclaim/test_did_helper.c
@@ -41,7 +41,7 @@ static const char test_skey_bytes[32] = {
 
 // TODO: Create a did manual from private key / independet of implementation
 static const char *test_did =
-  "did:reclaim:000G0509BYD1MPAXVSTNV0KRD1JAT0YZMPJFQNM869B66S72PSF17K4Y8G";
+  "did:gns:000G0509BYD1MPAXVSTNV0KRD1JAT0YZMPJFQNM869B66S72PSF17K4Y8G";
 
 static const char *test_multibase_key =
   "u7QEJX5oaWV3edV2CeGhkrQPfpaT71ogyVmNk4rZeE8yeRA";
@@ -128,4 +128,4 @@ main ()
   test_GNUNET_DID_pkey_to_did_document ();
   test_GNUNET_DID_key_covert_gnunet_to_multibase_base64 ();
   return 0;
-}
\ No newline at end of file
+}

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