Commit Graph

97 Commits

Author SHA1 Message Date
David Lawrence
9bac73b7f7 update vendoring
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2016-03-23 11:34:39 -07:00
Ying Li
51dc1747e4 Move the godeps workspace to the vendor directory to be compliant with Go 1.6
Signed-off-by: Ying Li <ying.li@docker.com>
2016-03-08 11:28:04 -08:00
Ying Li
dc377b3ceb Bump go-connections and canonical go dependencies to the latest version
Logging bugfix for github.com/docker/go-connections
github.com/docker/go rebased to go 1.6

Signed-off-by: Ying Li <ying.li@docker.com>
2016-03-08 11:16:59 -08:00
David Lawrence
9db2ae3ed6 updating miekg/pkcs11 for go 1.6
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2016-02-22 17:53:24 -08:00
Ying Li
1074e11881 Bump the cobra requirement, since they have some nice usage printing fixes.
Signed-off-by: Ying Li <ying.li@docker.com>
2016-02-04 11:43:19 -08:00
Ying Li
9c2940ae2b Bump go-connections version. Looks like I had previously vendored a merged branch,
so this just makes the version number correct.

Signed-off-by: Ying Li <ying.li@docker.com>
2016-02-03 11:43:01 -08:00
Ying Li
c495410402 Add the github.com/docker/go-connections/tlsconfig dependency to godeps
Signed-off-by: Ying Li <ying.li@docker.com>
2016-02-03 10:00:29 -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
David Lawrence
13eaaf1a22 Merge pull request #426 from endophage/canonical_json
use canonical json for all marshalling of TUF data
2016-01-07 11:36:02 -08:00
David Lawrence
02ec86cd1b adding testify/require dependency
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2016-01-06 11:39:55 -08:00
Justin Cormack
00efd4a4c9 Update jose2go to latest to fix #239
This seems to have never been applied; fixes Arm build

Signed-off-by: Justin Cormack <justin.cormack@unikernel.com>
2016-01-06 14:04:25 +00:00
Qiang Huang
f8ef61fe82 Update github.com/bugsnag/panicwrap
With this, we can build notary on ARM64.

Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
2015-12-26 15:28:43 +00:00
Ying Li
51cb6e7296 Add github.com/olekukonko/tablewriter dependency to Godeps.
Signed-off-by: Ying Li <ying.li@docker.com>
2015-11-13 01:41:01 -08:00
David Lawrence
45de2828b5 Merge pull request #271 from docker/adding-pkcs11-signed
Adding pkcs11 signed
2015-11-12 01:40:38 -08:00
Ying Li
24cca5d6cc Update the cobra dependency and its subdependencies (pflag, blackfriday, sanitized_anchor_name, and go-md2man).
Signed-off-by: Ying Li <ying.li@docker.com>
Signed-off-by: David Lawrence <david.lawrence@docker.com>

Signed-off-by: Ying Li <ying.li@docker.com> (github: endophage)
2015-11-12 01:09:14 -08:00
Jessica Frazelle
8e8c2977da rebased canonical/json off go 1.5.1
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2015-11-02 10:26:42 -08:00
Ying Li
8696c64d12 Add prometheus as a dependency
Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-28 20:21:45 -07: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
Diogo Monica
efb71c9ef1 Update gotuf
Signed-off-by: Diogo Monica <diogo@docker.com>
2015-10-21 12:15:23 -07:00
David Lawrence
8a996f417a updating godeps and notary for some syntax changes in gotuf brought on by golint
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-10-20 23:56:35 -07:00
David Lawrence
15b07101c0 updating gotuf dependency
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-10-15 14:52:18 -07:00
Ying Li
b5690cfc51 Undo accidental downgrade of Go version
Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-14 11:09:46 -07:00
Ying Li
f49b74675d Update Gotuf to the latest version (sqlite3 dependency changed) and clean up some old
Godep dependencies that are no longer needed.

Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-14 10:53:07 -07:00
David Lawrence
98cde51f18 working basic key rotation for targets and snapshot key. Command is 'notary key rotate [GUN]'
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-10-09 20:35:06 -07:00
Ying Li
77fa33f737 Update godeps
Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-07 21:00:20 -07:00
Joe Beda
87b1b2efbc Add new dependency: github.com/mitchellh/go-homedir
Signed-off-by: Joe Beda <joe.github@bedafamily.com>
2015-09-10 16:07:38 -07:00
Jessica Frazelle
74b4ef064c change canonical json package
update godeps for gotuf and canonical json

Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2015-09-03 20:11:49 -07:00
Derek McGowan
e50e750fb0 Update vendor to add distribution client authentication
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2015-08-19 13:48:16 -07:00
David Lawrence
6616bed616 validation tests
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-08-06 17:38:37 -07:00
David Lawrence
0ece438313 server side validation during updates
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-08-05 14:00:07 -07:00
Derek McGowan
4adcfa2b2f Update notary godeps
Updated to master of gotuf
Fix awkward docker/docker dependency

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2015-07-31 14:08:59 -07:00
Diogo Mónica
149ba6fd0f Merge pull request #157 from docker/configurable_key_algo
make key algorithm configurable for local development with in memory …
2015-07-30 13:36:01 -07:00
David Lawrence
2bf3acd493 adding bugsnag
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-07-30 12:03:47 -07:00
Derek McGowan
ac5feeb82a Update gotuf
Update gotuf for timestamp expiration change

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2015-07-29 17:09:26 -07:00
Aaron Lehmann
f8dc88a372 Updating godeps
The github.com/docker/distribution/registry/api/v2 package needs to be
vendored now that it's used by notary-server.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-07-27 14:53:31 -07:00
Diogo Monica
0fb0877c3c Adding new jose dependency, fixing nits
Signed-off-by: Diogo Monica <diogo@docker.com>
2015-07-26 20:32:47 -07:00
David Lawrence
47f651ef8a fixing timestamp key retrieval
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-07-24 18:05:46 -07:00
Diogo Monica
9e11389b53 Adding new godeps
Signed-off-by: Diogo Monica <diogo@docker.com>
2015-07-24 05:45:52 -07:00
David Lawrence
94de318202 ErrSigVerifyFail isn't used, we should be retrying on ErrRoleThreshold which means we didn't have enough keys to validate the signatures
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-07-23 11:57:40 -07:00
David Lawrence
8a97c99c1e updating gotuf
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-07-22 19:37:23 -07:00
David Lawrence
6fd60f88d1 add ErrExpired to notary client to translate from gotuf ErrExpired
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-07-22 18:54:00 -07:00
David Lawrence
1fc3257f6e updating gotuf dep with some better http error handling.
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-07-22 13:19:52 -07:00
David Lawrence
1f53e171bc updating vendored gotuf with updating signing error messages
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-07-21 14:04:05 -07:00
David Lawrence
8b2888d122 latest vendored gotuf
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-07-21 13:57:21 -07:00
David Lawrence
b44e835275 update default expiry times to those agreed on
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-07-20 14:59:19 -07:00
David Lawrence
0e2fe2137b updating gotuf dep
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-07-20 11:23:07 -07:00
Diogo Monica
7de1acfc04 Bump gotuf
Signed-off-by: Diogo Monica <diogo@docker.com>
2015-07-18 01:48:06 -07:00
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
David Lawrence
d453c6548d client side of multi TUF file atomic update
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-07-17 17:48:06 -07:00
Aaron Lehmann
d2ea9cc0d5 Updates to notary for gotuf's split of PublicKey and PrivateKey interfaces
Functions should now take data.PublicKey or data.PrivateKey instead of
data.Key.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-07-17 11:35:22 -07:00