Commit Graph

1696 Commits

Author SHA1 Message Date
Riyaz Faizullabhoy
cb080ede06 Fix test_output path and remove
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-04-12 15:32:58 -07:00
Riyaz Faizullabhoy
4216a37149 Write to file to signal success for make integration
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-04-12 15:32:58 -07:00
Ying Li
9303df90d5 Merge pull request #675 from docker/key-id-verification
Key ID verification
2016-04-12 13:29:22 -07:00
David Lawrence
3354e2f44f Merge pull request #674 from cyli/godep-makefile-check
Stop using godep in CI and Makefile since we use vendoring now
2016-04-12 10:45:08 -07:00
David Lawrence
55aee374e1 fixing some certs tests as additional validation meant we weren't testing what we thought we were
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2016-04-11 17:34:35 -07:00
Riyaz Faizullabhoy
f7f8a961b5 Unit test for verifying invalid key ID
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-04-11 17:28:14 -07:00
Riyaz Faizullabhoy
7fe11bd102 Add key ID verification to Verify
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-04-11 17:26:08 -07:00
Ying Li
9c0e58c46e Stop using godep in CI and Makefile since we use vendoring now, and check for go version >= 1.6
Signed-off-by: Ying Li <ying.li@docker.com>
2016-04-11 15:40:53 -07:00
David Lawrence
d3e0002740 Merge pull request #673 from cyli/fix-signer-tests
Add the buildtags to go list ./... in the Makefile
2016-04-11 14:50:57 -07:00
Ying Li
bc4e8a0f9e Change the HTTP server returned by signer config to be a pointer
Signed-off-by: Ying Li <ying.li@docker.com>
2016-04-11 14:31:41 -07:00
Ying Li
77b33cf10f Add the buildtags to go list ./... in the Makefile, signer should not be pkcs11
Signed-off-by: Ying Li <ying.li@docker.com>
2016-04-11 13:25:23 -07:00
David Lawrence
22d46f847c Merge pull request #668 from cyli/simplify-client-update-retvalue
NotaryRepository.Update now just returns an error, rather than a client and error
2016-04-11 12:57:26 -07:00
Riyaz Faizullabhoy
ed99253c3f Merge pull request #672 from Anvil/patch-1
Minor grammar fix in TUF overview
2016-04-11 09:24:53 -07:00
Dams Nadé
9a38a573de Minor grammar fix in TUF overview
"These files" and "They" are plural.

Signed-off-by: Damien Nadé <github@livna.org>
2016-04-11 15:48:15 +02:00
David Lawrence
a14c601e13 Merge pull request #666 from cyli/tuf-embed-signed-common
Embed SignedCommon in Root, Snapshot, and Timestamp
2016-04-08 10:27:09 -07:00
Ying Li
ce1f9d6b11 Merge pull request #669 from HuKeping/master
Kind of cleanup
2016-04-08 10:14:46 -07:00
HuKeping
31851edf81 Kind of cleanup
Move the configuration parsing for notary-server to its own file.

Signed-off-by: Hu Keping <hukeping@huawei.com>
2016-04-08 09:28:02 +08:00
Ying Li
7404f4ff55 Embed SignedCommon in Root, Snapshot, and Timestamp, as it's already
embedded in Targets.  This way we can easily get a SignedCommon object
out after calling RootFromSigned, etc.

Signed-off-by: Ying Li <ying.li@docker.com>
2016-04-07 17:27:13 -07:00
Riyaz Faizullabhoy
77bf588830 Merge pull request #670 from cyli/stop-installing-go-vet
Do not install go vet on the Dockerfile
2016-04-07 15:00:54 -07:00
Ying Li
4301c3f402 Pin the version of oscross, similarly to docker/docker
Signed-off-by: Ying Li <ying.li@docker.com>
2016-04-07 14:09:57 -07:00
Ying Li
55436e6348 Do not install go vet on the Dockerfile, as it should already be in the image, and godeps no longer necessary
Signed-off-by: Ying Li <ying.li@docker.com>
2016-04-07 14:09:27 -07:00
Ying Li
f8c42e4cbf NotaryRepository.Update now just returns an error, rather than a client
an error, because we don't actually use the client anymore.

Signed-off-by: Ying Li <ying.li@docker.com>
2016-04-06 14:08:08 -07:00
Ying Li
819499d6d7 Merge pull request #652 from docker/docs-update
Include docs about what happens if a client's keys get compromised
2016-04-06 00:23:32 -07:00
Ying Li
6e84b596ca Merge pull request #665 from cyli/changelist-assert-require
Change assert to require in client/changelist
2016-04-05 15:59:05 -07:00
Ying Li
38cfb6f961 Change assert to require in client/changelist package.
Signed-off-by: Ying Li <ying.li@docker.com>
2016-04-05 15:13:29 -07:00
Ying Li
b623214737 Link Audit PDF. Other grammatical and formatting changes.
Signed-off-by: Ying Li <ying.li@docker.com>
2016-04-05 15:08:52 -07:00
Ying Li
4881afd56c Single space after a full stop in already-touched files
Signed-off-by: Ying Li <ying.li@docker.com>
2016-04-05 15:08:52 -07:00
Ying Li
7cbe4da88f Turn external links into html tags that target a new window.
Make the links to www.theupdateframework.com consistent.
Link to a particular git sha of the TUF spec.

Signed-off-by: Ying Li <ying.li@docker.com>
2016-04-05 15:08:52 -07:00
Ying Li
ac213d44c8 Update README to link to our other docs
Signed-off-by: Ying Li <ying.li@docker.com>
2016-04-05 15:08:52 -07:00
Ying Li
1396e8890d Convert the key compromise data into a tabular format
Signed-off-by: Ying Li <ying.li@docker.com>
2016-04-05 15:08:52 -07:00
Ying Li
3ad94c8e51 Bump GO version requirement in README to 1.6
Signed-off-by: Ying Li <ying.li@docker.com>
2016-04-05 15:08:52 -07:00
Ying Li
71c5e29ee1 Address review comments with regard to key hierarchy
Signed-off-by: Ying Li <ying.li@docker.com>
2016-04-05 15:08:52 -07:00
Ying Li
bbc70996cd Include docs about what happens if a client's keys get compromised
Signed-off-by: Ying Li <ying.li@docker.com>
2016-04-05 15:08:52 -07:00
Riyaz Faizullabhoy
1f3c04a0b1 Merge pull request #651 from docker/update-vendor-test
Update vendoring test to use new vendor structure
2016-04-05 13:46:56 -07:00
Riyaz Faizullabhoy
de36693ce7 Remove vendor from GOPATH, use GO15VENDOREXPERIMENT flag
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-04-05 13:25:32 -07:00
Riyaz Faizullabhoy
66bd0579a3 Update vendoring test to use new vendor structure
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-04-05 13:25:32 -07:00
Ying Li
90c91d568f Merge pull request #664 from cyli/tuf-assert-require
Finish converting assert to require in tuf/* packages
2016-04-05 13:14:53 -07:00
Ying Li
79238e087f Change assert to require in tuf/* packages
Signed-off-by: Ying Li <ying.li@docker.com>
2016-04-05 11:21:14 -07:00
David Lawrence
7bd09c523b Merge pull request #655 from docker/server-signer-alpine
Convert the server and signer images to use alpine
2016-04-05 10:55:39 -07:00
David Lawrence
69a25b8906 Merge pull request #661 from docker/cryptoservice-require
Update to use require for cryptoservice package
2016-04-05 10:07:37 -07:00
David Lawrence
8757f5edb8 Merge pull request #660 from docker/cmd-require-tests
Use require instead of assert for cmd
2016-04-05 10:05:54 -07:00
David Lawrence
541b63d9cc Merge pull request #662 from docker/signer-require
Use require instead of assert for signer package
2016-04-05 10:04:28 -07:00
David Lawrence
b9b0d1f788 Merge pull request #663 from docker/trustmanager-require
Use require for certs and trustmanager
2016-04-05 10:03:37 -07:00
Ying Li
1a7d2ca35d Merge pull request #657 from docker/server-assert-to-requires
Change github.com/docker/notary/server/... tests to use require
2016-04-04 17:39:31 -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
d36e485198 Merge pull request #659 from docker/require-passphrase
Use require instead of assert for passphrase package
2016-04-04 15:09:57 -07:00
Ying Li
4657bbd3c5 Attempt to suppress progress bars when building for the integration test
Signed-off-by: Ying Li <ying.li@docker.com>
2016-04-04 15:08:59 -07:00
Ying Li
93730582d7 Add -fno-PIC options due to https://github.com/golang/go/issues/14851
Signed-off-by: Ying Li <ying.li@docker.com>
2016-04-04 15:08:59 -07:00
Ying Li
a021d16392 Convert the server and signer to use the alpine image and to remove apks after build
Signed-off-by: Ying Li <ying.li@docker.com>
2016-04-04 15:08:59 -07:00
Riyaz Faizullabhoy
5d0b926b7f Use require for certs and trustmanager
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-04-04 14:44:48 -07:00