View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002303 | GNUnet | namestore service | public | 2012-05-04 14:30 | 2012-11-05 18:34 |
| Reporter | schanzen | Assigned To | Christian Grothoff | ||
| Priority | high | Severity | feature | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Product Version | Git master | ||||
| Target Version | 0.9.4 | Fixed in Version | 0.9.4 | ||
| Summary | 0002303: RecordFlags, RecordData and the DHT signature problem | ||||
| Description | The RecordFlags field in a RecordData struct is only relevant locally. In fact putting records into the DHT that are private or pending (or not authoritative) should never happen. So the flags field should always be empty when iterating a zone etc. This is important, however, for signature verification! (assert flags=0?) The issue is that the authority flag is always set at the moment (obviously). But when another peer learns of the RecordData it is no longer authoritative! Removing the flag will break the signature. However this flag is redundant information. Authoritative RecordData will have a corresponding private key in the usual location. Suggested API Change: 1. Remove GNUNET_NAMESTORE_RF_AUTHORITY from record flags 2. Change zone iteration API to: GNUNET_NAMESTORE_zone_iteration_start (struct GNUNET_NAMESTORE_Handle *h, const struct GNUNET_CRYPTO_ShortHashCode *zone, enum GNUNET_NAMESTORE_RecordFlags must_have_flags, enum GNUNET_NAMESTORE_RecordFlags must_not_have_flags, int authoritative, //We might want to iterate over non-auth zones as well GNUNET_NAMESTORE_RecordProcessor proc, void *proc_cls); | ||||
| Tags | No tags attached. | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-05-04 14:30 | schanzen | New Issue | |
| 2012-05-04 14:30 | schanzen | Status | new => assigned |
| 2012-05-04 14:30 | schanzen | Assigned To | => Matthias Wachs |
| 2012-05-06 21:26 | Christian Grothoff | Severity | minor => feature |
| 2012-05-06 21:26 | Christian Grothoff | Product Version | => Git master |
| 2012-05-06 21:26 | Christian Grothoff | Target Version | => 0.9.4 |
| 2012-06-26 23:28 | Christian Grothoff | Priority | normal => high |
| 2012-06-26 23:42 | Christian Grothoff | Assigned To | Matthias Wachs => Christian Grothoff |
| 2012-06-29 18:16 | Christian Grothoff | Status | assigned => resolved |
| 2012-06-29 18:16 | Christian Grothoff | Fixed in Version | => 0.9.4 |
| 2012-06-29 18:16 | Christian Grothoff | Resolution | open => fixed |
| 2012-11-05 18:34 | Christian Grothoff | Status | resolved => closed |
| 2013-10-02 13:56 | Christian Grothoff | Category | namestore => namestore service |