David Lawrence
b561f347ed
updating errors to use distribution's errcode package
...
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-07-17 18:02:56 -07:00
Derek McGowan
e4bb29a669
Fix access controller resource type
...
The token server returns tokens with the type as "repository" not "repo".
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2015-07-13 16:22:05 -07:00
Diogo Mónica
935b9a9366
Merge pull request #47 from docker/cryptoservice-refactor
...
Refactor crypto service
2015-07-13 15:29:59 -07:00
Aaron Lehmann
e4704f9729
Update notary for removal of signed.Signer
...
We now deal with CryptoServices directly instead of passing around
Signers.
UnlockedSigner becomes UnlockedCryptoService because it no longer
contains a Signer.
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-07-13 15:18:02 -07:00
David Lawrence
12dd2c2273
challenge.ServeHTTP doesn't set Unauthorized status code
...
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-07-13 14:21:14 -07:00
David Lawrence
da59198191
adding htpasswd auth to support the same set of mechanisms as distribution
...
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-07-13 14:17:24 -07:00
David Lawrence
89379a728c
adding timestamping and some general cleanup
...
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-07-03 15:38:09 -07:00
Nathan McCauley
518d0a2702
Notary Server in server log messages
...
Signed-off-by: Nathan McCauley <nathan.mccauley@docker.com>
2015-06-19 11:17: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
801dd397ff
runs with basic setup for demo
2015-06-16 12:17:40 -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
6055569d48
fixing lint
2015-04-24 11:23:59 -07:00
David Lawrence
929828ba52
token authorizer with passing tests
2015-04-24 11:12:05 -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
d287dd9974
improving scoping by not exporting some things
2015-04-21 11:38:57 -07:00
David Lawrence
52505d36e1
cleanup work and updating godeps
2015-04-20 11:30:58 -07:00
Derek McGowan
6fd6773b21
Fix go vet and lint issues
...
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2015-04-10 16:52:33 -07:00
David Lawrence
36d8ce0094
interfaces all work together now and it builds
2015-04-09 14:56:57 -07:00
David Lawrence
2096a423bd
fleshing out the interfaces some more
2015-04-07 17:18:01 -07:00
David Lawrence
5f7e002a9a
scaffolding for error, handler and context setup
2015-04-07 16:22:16 -07:00