Riyaz Faizullabhoy
|
db2e625341
|
Transaction-logic for rethink
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
|
2016-04-18 17:41:06 -07:00 |
Ying Li
|
15908298bd
|
Use require, not assert, in server/... tests.
Signed-off-by: Ying Li <ying.li@docker.com>
|
2016-04-04 17:18:53 -07:00 |
Ying Li
|
d3bb063fb2
|
Update the server to generate the timestamp on update, just like snapshot.
Signed-off-by: Ying Li <ying.li@docker.com>
|
2016-03-23 13:24:52 -07:00 |
Ying Li
|
e25746dac3
|
Use a CacheControlHandler that wraps other handlers instead
Signed-off-by: Ying Li <ying.li@docker.com>
|
2016-03-14 17:19:13 -07:00 |
Ying Li
|
9b022a9cda
|
Modify server handler to set cache headers based upon a cache configuration object
Signed-off-by: Ying Li <ying.li@docker.com>
|
2016-03-14 17:18:18 -07:00 |
Ying Li
|
802673fc9d
|
Add cache control headers to Getting metadata
Signed-off-by: Ying Li <ying.li@docker.com>
|
2016-03-14 17:18:18 -07:00 |
Ying Li
|
8768c12901
|
Return the creation date for GetChecksum and GetCurrent from the server database store.
Signed-off-by: Ying Li <ying.li@docker.com>
|
2016-03-14 17:18:18 -07:00 |
David Lawrence
|
1db128778d
|
completely removing KeyDB
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
|
2016-02-16 21:11:13 -08:00 |
Ying Li
|
200fefbff8
|
EmptyRepo needs to take a GUN in order to generate a valid cert.
Signed-off-by: Ying Li <ying.li@docker.com>
|
2016-01-18 10:46:06 -08:00 |
Ying Li
|
0bbf979cf4
|
Change testutils.EmptyRepo() to use a cert as the root.json root key.
This involves making it use ECDSA keys since we can't generate ED25519 certs.
Signed-off-by: Ying Li <ying.li@docker.com>
|
2016-01-15 19:11:17 -08:00 |
Riyaz Faizullabhoy
|
8d0ff6c996
|
Pass original invalid version storage error details into standardized errors
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
|
2016-01-14 09:57:36 -08:00 |
Ying Li
|
cf4b77b760
|
Revert "switching out to consistently use canonical json for all marshalling of TUF data"
This reverts commit f417c834c4 .
Signed-off-by: Ying Li <ying.li@docker.com>
|
2016-01-08 14:53:09 -08:00 |
David Lawrence
|
f417c834c4
|
switching out to consistently use canonical json for all marshalling of TUF data
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
|
2016-01-06 11:15:27 -08:00 |
Miloslav Trmač
|
da7c87f9dc
|
Fix (make vet)
server/handlers/default_test.go:353: GetCurrent passes Lock by value: handlers.failStore contains github.com/docker/notary/server/storage.MemStorage contains sync.Mutex
tuf/store/httpstore_test.go:208: github.com/docker/notary/tuf/validation.ErrBadRoot composite literal uses unkeyed fields
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
|
2015-12-11 19:59:16 +01:00 |
Ying Li
|
6aa114a49f
|
Fix all instances where 'propagate' was mispelled as 'propogate'
Signed-off-by: Ying Li <ying.li@docker.com>
|
2015-12-10 15:12:05 -08:00 |
Ying Li
|
fb9afbc5d8
|
Server propogates validation failures in the 400 response.
Previously, it just said that the update was invalid, but not why.
Signed-off-by: Ying Li <ying.li@docker.com>
|
2015-12-09 15:10:17 -08:00 |
Ying Li
|
d59ae2d90f
|
Add the handler for GET-ting a snapshot key.
Signed-off-by: Ying Li <ying.li@docker.com>
|
2015-12-07 15:13:58 -08:00 |
David Lawrence
|
09a6fa07a1
|
some tests for the handlers
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
|
2015-12-07 12:55:09 -08:00 |
David Lawrence
|
2833a88292
|
adding gotuf to notary
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
|
2015-10-27 16:36:06 -07:00 |
Nathan McCauley
|
e46a95227c
|
rename vetinari to notary
Signed-off-by: Nathan McCauley <nathan.mccauley@docker.com>
|
2015-06-19 11:01:19 -07:00 |
David Lawrence
|
6805f290f0
|
all vetinari tests pass
|
2015-06-17 11:28:59 -07:00 |
David Lawrence
|
cc0782d3d2
|
rewriting imports to 'gotuf', adding config to set log level, making
restart/shutdown cleanup connections after timeout, updating godeps
|
2015-06-11 16:30:25 -07:00 |
David Lawrence
|
70b749bb46
|
renaming interfaces to be more go-like now that arch is settling down
|
2015-04-21 15:01:09 -07:00 |
David Lawrence
|
2ec64fcec6
|
adding server tests
|
2015-04-20 16:09:44 -07:00 |
Diogo Monica
|
9a495fa942
|
Initial working server commit
|
2015-03-31 18:40:07 -07:00 |