diff options
author | jospaeth <spaethj@in.tum.de> | 2020-08-21 17:17:49 +0200 |
---|---|---|
committer | jospaeth <spaethj@in.tum.de> | 2020-08-21 17:17:49 +0200 |
commit | fad9b5ac52c85dacd2fe5f08687944ee8339f592 (patch) | |
tree | be9b5aa92bcce38bd82ecdf8c3ccb018487f1847 | |
parent | 21d4a4190434310f44e4a566dfefbd0e9e1bdf75 (diff) | |
download | gnunet-fad9b5ac52c85dacd2fe5f08687944ee8339f592.tar.gz gnunet-fad9b5ac52c85dacd2fe5f08687944ee8339f592.zip |
add note for the uniqueness of the GNS userSecret
-rw-r--r-- | src/escrow/escrow_api.c | 1 | ||||
-rw-r--r-- | src/escrow/plugin_escrow_gns.c | 3 | ||||
-rw-r--r-- | src/include/gnunet_escrow_lib.h | 1 | ||||
-rw-r--r-- | src/include/gnunet_escrow_plugin.h | 1 |
4 files changed, 5 insertions, 1 deletions
diff --git a/src/escrow/escrow_api.c b/src/escrow/escrow_api.c index 1c81a7f6e..ddbf6a2b7 100644 --- a/src/escrow/escrow_api.c +++ b/src/escrow/escrow_api.c | |||
@@ -232,6 +232,7 @@ handle_start_escrow_result (void *cls) | |||
232 | * @param h the handle for the escrow component | 232 | * @param h the handle for the escrow component |
233 | * @param ego the identity ego to put in escrow | 233 | * @param ego the identity ego to put in escrow |
234 | * @param userSecret the user secret (e.g. for derivation of escrow identities) | 234 | * @param userSecret the user secret (e.g. for derivation of escrow identities) |
235 | * for GNS escrow, this has to be UNIQUE in the whole network! | ||
235 | * @param method the escrow method to use | 236 | * @param method the escrow method to use |
236 | * @param cb function to call with the escrow anchor on completion | 237 | * @param cb function to call with the escrow anchor on completion |
237 | * @param cb_cls closure for @a cb | 238 | * @param cb_cls closure for @a cb |
diff --git a/src/escrow/plugin_escrow_gns.c b/src/escrow/plugin_escrow_gns.c index 985449625..79b2519fa 100644 --- a/src/escrow/plugin_escrow_gns.c +++ b/src/escrow/plugin_escrow_gns.c | |||
@@ -996,7 +996,8 @@ continue_start (void *cls) | |||
996 | * | 996 | * |
997 | * @param h the handle for the escrow component | 997 | * @param h the handle for the escrow component |
998 | * @param ego the identity ego containing the private key | 998 | * @param ego the identity ego containing the private key |
999 | * @param userSecret the user secret (e.g. for derivation of escrow identities) | 999 | * @param userSecret the user secret (used for derivation of escrow identities) |
1000 | * this has to be UNIQUE in the whole network! | ||
1000 | * @param cb the function called upon completion | 1001 | * @param cb the function called upon completion |
1001 | * @param op_id unique ID of the respective ESCROW_Operation | 1002 | * @param op_id unique ID of the respective ESCROW_Operation |
1002 | * | 1003 | * |
diff --git a/src/include/gnunet_escrow_lib.h b/src/include/gnunet_escrow_lib.h index dabd0d83d..069328151 100644 --- a/src/include/gnunet_escrow_lib.h +++ b/src/include/gnunet_escrow_lib.h | |||
@@ -281,6 +281,7 @@ GNUNET_ESCROW_fini ( | |||
281 | * @param h the handle for the escrow component | 281 | * @param h the handle for the escrow component |
282 | * @param ego the identity ego to put in escrow | 282 | * @param ego the identity ego to put in escrow |
283 | * @param userSecret the user secret (e.g. for derivation of escrow identities) | 283 | * @param userSecret the user secret (e.g. for derivation of escrow identities) |
284 | * for GNS escrow, this has to be UNIQUE in the whole network! | ||
284 | * @param method the escrow method to use | 285 | * @param method the escrow method to use |
285 | * @param cb function to call with the escrow anchor on completion | 286 | * @param cb function to call with the escrow anchor on completion |
286 | * @param cb_cls closure for @a cb | 287 | * @param cb_cls closure for @a cb |
diff --git a/src/include/gnunet_escrow_plugin.h b/src/include/gnunet_escrow_plugin.h index 4387ff613..b54506970 100644 --- a/src/include/gnunet_escrow_plugin.h +++ b/src/include/gnunet_escrow_plugin.h | |||
@@ -50,6 +50,7 @@ extern "C" { | |||
50 | * @param h the handle for the escrow component | 50 | * @param h the handle for the escrow component |
51 | * @param ego the identity ego containing the private key | 51 | * @param ego the identity ego containing the private key |
52 | * @param userSecret the user secret (e.g. for derivation of escrow identities) | 52 | * @param userSecret the user secret (e.g. for derivation of escrow identities) |
53 | * for GNS escrow, this has to be UNIQUE in the whole network! | ||
53 | * @param cb the function called upon completion | 54 | * @param cb the function called upon completion |
54 | * @param op_id unique ID of the respective ESCROW_Operation | 55 | * @param op_id unique ID of the respective ESCROW_Operation |
55 | * | 56 | * |