View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0010223 | GNUnet | other | public | 2025-07-31 12:02 | 2025-07-31 12:02 |
Reporter | ch3 | Assigned To | ch3 | ||
Priority | normal | Severity | major | Reproducibility | N/A |
Status | assigned | Resolution | open | ||
Summary | 0010223: PILS: find and replace obsolete usages of secret key to pid | ||||
Description | The introduction of the pils service deprecates the reading and usage of the secret key to the peer id outside of pils. (Exceptions exist.) Find the remaining usages and replace them with calls to pils! (Sample code to look for is attached.) | ||||
Additional Information | char *keyfile; // FIXME remove if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_filename (GDS_cfg, "PEER", "PRIVATE_KEY", &keyfile)) { GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR, "PEER", "PRIVATE_KEY"); GNUNET_SCHEDULER_shutdown (); return; } if (GNUNET_SYSERR == GNUNET_CRYPTO_eddsa_key_from_file (keyfile, GNUNET_YES, &GDS_my_private_key)) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, "Failed to setup peer's private key\n"); GNUNET_free (keyfile); GNUNET_SCHEDULER_shutdown (); return; } GNUNET_free (keyfile); } GNUNET_CRYPTO_eddsa_key_get_public (&GDS_my_private_key, &GDS_my_identity.public_key); | ||||
Tags | No tags attached. | ||||