Ying Li
|
191307fc07
|
specifying other non-base roles on the root metadata is not invalid
Signed-off-by: Ying Li <ying.li@docker.com>
|
2016-02-22 19:16:32 -08:00 |
Ying Li
|
4b13e7d358
|
Refactor RootRole verification into a helper function used by root and targets validation
Signed-off-by: Ying Li <ying.li@docker.com>
|
2016-02-22 19:16:32 -08:00 |
Ying Li
|
57e28e4f09
|
Rename the validation functions and add more tests
Signed-off-by: Ying Li <ying.li@docker.com>
|
2016-02-22 19:16:32 -08:00 |
Ying Li
|
36ea1f6901
|
Add root metadata validation to the root data structure
Signed-off-by: Ying Li <ying.li@docker.com>
|
2016-02-22 19:16:32 -08:00 |
Jessica Frazelle
|
a64db12c04
|
change url from jfrazelle/go to docker/go
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
|
2016-01-26 08:43:38 -08:00 |
Ying Li
|
f57f2beb08
|
Factor marshalling a SignedRoot into JSON into TUF/data/root.go, and
add an injectable serializer (so we can test JSON marshalling/unmarshalling
error propagation).
Signed-off-by: Ying Li <ying.li@docker.com>
|
2016-01-14 10:51:24 -08:00 |