commit | dc9bcd0f9ab209e8deb14925797cc61063762b0b | [log] [tgz] |
---|---|---|
author | Lewis Marshall <lewis@lmars.net> | Tue Mar 06 13:34:17 2018 +0100 |
committer | Lewis Marshall <lewis@lmars.net> | Tue Mar 06 13:34:17 2018 +0100 |
tree | 7815a65626d5548c76d1d9e79efd899ea8b3c17a | |
parent | aedb9e2bbc6ec02472246d6e0bee5215a9d52d59 [diff] |
data: Add scheme and algorithm fields to Key type Signed-off-by: Lewis Marshall <lewis@lmars.net>
diff --git a/data/types.go b/data/types.go index fb4be67..8c029a4 100644 --- a/data/types.go +++ b/data/types.go
@@ -28,8 +28,10 @@ } type Key struct { - Type string `json:"keytype"` - Value KeyValue `json:"keyval"` + Type string `json:"keytype"` + Scheme string `json:"scheme"` + Algorithms []string `json:"keyid_hash_algorithms"` + Value KeyValue `json:"keyval"` id string idOnce sync.Once