Closed dstotijn closed 4 years ago
The crypto spec states that a Daily Tracing Key is 16 bytes, and that it's the (truncated) result of a HKDF. It makes no mention of UUID.
The type of diag.DiagnosisKey.Key should be changed to [16]byte, and the column diagnosis_keys.key should be changed to bytea.
diag.DiagnosisKey.Key
[16]byte
diagnosis_keys.key
bytea
The crypto spec states that a Daily Tracing Key is 16 bytes, and that it's the (truncated) result of a HKDF. It makes no mention of UUID.
The type of
diag.DiagnosisKey.Key
should be changed to[16]byte
, and the columndiagnosis_keys.key
should be changed tobytea
.