View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005921 | GNUnet | GNS | public | 2019-10-05 22:31 | 2020-08-15 10:01 |
Reporter | schanzen | Assigned To | schanzen | ||
Priority | normal | Severity | tweak | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | Git master | ||||
Target Version | 0.12.0 | Fixed in Version | 0.12.0 | ||
Summary | 0005921: Simplify/harmonize GNS key derivations | ||||
Description | The GNS key derivations are kind of all over the place, e.g. for the derivation of the symmetric encryption key we calculate: PRK_kiv := HKDF-Extract (zk, label) K := HKDF-Expand (PRK_kiv, "gns-aes-ctx-key", 512 / 8); IV := HKDF-Expand (PRK_kiv, "gns-aes-ctx-iv", 256 / 8) This means that we use the zone key (zk) as salt and label as initial keying material. Usually, we use a string as salt and key as IKM, for example when we derive the zone key for signing: PRK_h := HKDF-Extract ("key-derivation", zk) h := HKDF-Expand (PRK_h, label | "gns", 512 / 8) In order to harmonize this, LSD001 specifies: PRK_k := HKDF-Extract ("gns-aes-ctx-key", zk) PRK_iv := HKDF-Extract ("gns-aes-ctx-iv", zk) K := HKDF-Expand (PRK_k, label, 512 / 8); IV := HKDF-Expand (PRK_iv, label, 256 / 8) This is already implemented but guarded by the define "LSD001" in src/gnsrecord/gnsrecord_crypto.c. Define for 0.12. | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2019-10-05 22:31 | schanzen | New Issue | |
2019-10-05 22:32 | schanzen | Relationship added | child of 0005920 |
2019-11-08 11:24 | schanzen | Assigned To | => schanzen |
2019-11-08 11:24 | schanzen | Status | new => confirmed |
2019-11-30 15:35 | schanzen | Status | confirmed => resolved |
2019-11-30 15:35 | schanzen | Resolution | open => fixed |
2019-11-30 15:35 | schanzen | Fixed in Version | => 0.12.0 |
2019-12-01 13:03 | schanzen | Status | resolved => assigned |
2019-12-01 13:03 | schanzen | Note Added: 0015112 | |
2019-12-07 14:49 | Christian Grothoff | Status | assigned => resolved |
2019-12-07 14:49 | Christian Grothoff | Note Added: 0015133 | |
2019-12-15 15:18 | schanzen | Note Added: 0015179 | |
2019-12-15 15:18 | schanzen | Status | resolved => closed |
2020-06-01 00:52 |
|
Relationship added | child of 0006324 |
2020-08-15 04:48 | Thehornet17 | Tag Attached: Wallet | |
2020-08-15 10:01 | Christian Grothoff | Tag Detached: Wallet |