David Lawrence
00cadc9734
Merge pull request #614 from docker/bump-dependencies
...
Bump go-connections and canonical go dependencies to the latest version
2016-03-09 18:03:47 -08:00
Ying Li
be91b3342c
Fix Makefile to exclude the vendor directory from linting/vetting
...
Signed-off-by: Ying Li <ying.li@docker.com>
2016-03-08 14:54:29 -08:00
Ying Li
00c667a5b1
Update dockerfiles to be go 1.6 and to no longer set the GOPATH
...
Signed-off-by: Ying Li <ying.li@docker.com>
2016-03-08 11:38:39 -08: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
Riyaz Faizullabhoy
40a24c3793
Merge pull request #613 from docker/fix-mispell
...
Fix mispelling of 'occur'
2016-03-07 17:37:12 -08:00
Ying Li
d45b9f86ef
Fix mispelling of 'occur'
...
Signed-off-by: Ying Li <ying.li@docker.com>
2016-03-07 17:22:41 -08:00
David Lawrence
d0256e2244
Merge pull request #610 from docker/finish-client-update-tests
...
Add test to check that if a key is rotated...
2016-03-07 17:04:21 -08:00
Ying Li
1bfafa0b77
Add test to check that if a key is rotated, but the requisite piece of
...
metadata hasn't been resigned, that an update fails because the
cached version is no longer valid.
Signed-off-by: Ying Li <ying.li@docker.com>
2016-03-03 09:22:26 -08:00
David Lawrence
dfeb51f54f
Merge pull request #606 from docker/doc-fixes
...
Documentation fixes
2016-03-02 17:10:46 -08:00
Riyaz Faizullabhoy
638d2f09c8
Replace repository with collection terminology where appropriate
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-03-01 15:45:02 -08:00
Riyaz Faizullabhoy
101b80cf19
formatting fixes
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-03-01 15:45:02 -08:00
Ying Li
4a0837b8ab
Addressing more review comments from client docs
...
Signed-off-by: Ying Li <ying.li@docker.com>
2016-03-01 15:45:02 -08:00
Ying Li
9e6ead4f57
Remove extra tables, add links in full server/signer/client configuration files to the relevant sections
...
Signed-off-by: Ying Li <ying.li@docker.com>
2016-03-01 15:45:02 -08:00
Riyaz Faizullabhoy
2e331971de
fix up docs from review
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-03-01 15:45:02 -08:00
David Lawrence
d7c93d7797
Merge pull request #607 from docker/move-sqlite-to-tests
...
Move all imports of sqlite3 to tests only
2016-03-01 13:26:22 -08:00
Ying Li
c720c56a70
Move all imports of sqlite3 to tests only
...
Signed-off-by: Ying Li <ying.li@docker.com>
2016-03-01 14:56:53 -05:00
David Lawrence
82079618b1
Merge pull request #603 from moxiegirl/carry-293
...
Rewritten Docs. Followup PR to be submitted to fix minor things caught here.
2016-02-29 17:00:29 -08:00
Diogo Monica
79c692a7c6
Cary and close #293
...
Signed-off-by: Mary Anthony <mary@docker.com>
2016-02-29 12:58:55 -08:00
Riyaz Faizullabhoy
d59c97a1f0
Merge pull request #594 from HuKeping/fix-bug
...
Bugfix: the actions should not always be pull and push
2016-02-29 11:52:16 -08:00
Riyaz Faizullabhoy
17a5689f0f
Merge pull request #584 from docker/0.2-changelog
...
notary 0.2 changelog
2016-02-29 11:30:34 -08:00
Ying Li
2d8ff5fb36
Merge pull request #602 from HuKeping/cleanup
...
Kind of cleanup
2016-02-29 13:11:26 -05:00
HuKeping
8455f9fb5a
Kind of cleanup
...
Signed-off-by: Hu Keping <hukeping@huawei.com>
2016-02-29 19:27:56 +08:00
HuKeping
08c0da745f
Drop the actions
...
All the other code would not have to know about the exact auth mechanism.
Use "readOnly", we can just include "pull" when readonly is true,
and "push", "pull" when readonly is false.
Signed-off-by: Hu Keping <hukeping@huawei.com>
2016-02-27 10:26:23 +08:00
Riyaz Faizullabhoy
1a668bb34d
add links to release tags, merge copy
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-02-26 13:03:47 -08:00
HuKeping
af5ee13d8a
Bugfix: the actions should not always be pull and push
...
The similiar fix in docker daemon:
- https://github.com/docker/docker/pull/20382
Signed-off-by: Hu Keping <hukeping@huawei.com>
2016-02-26 10:25:50 +08:00
Riyaz Faizullabhoy
c1c2ca1d6d
Merge pull request #595 from HuKeping/cleanup
...
Cleanup: remove the unused function
2016-02-25 11:14:02 -08:00
HuKeping
f9681e6287
Cleanup: remove the unused function
...
Signed-off-by: Hu Keping <hukeping@huawei.com>
2016-02-25 21:48:32 +08:00
David Lawrence
3a89320e5d
Merge pull request #588 from endophage/fix_snapshot_expiry
...
Fix server signed snapshot expiry/regeneration
2016-02-24 16:40:56 -08:00
Riyaz Faizullabhoy
4904c8882e
Merge pull request #590 from docker/yubi-import-check
...
Move yubikey import role check to avoid excessive passphrase prompting
2016-02-24 16:20:47 -08:00
David Lawrence
cb2dd07edc
the server was not setting the longer snapshot expiry time. When generating a timestamp it was also retriving the snapshot directly from the database and only validating the checksum still matched what was in the timestamp. Due to the addition of consistent downloads, this mean a new snapshot never got generated. It is necessary for GetOrCreateTimestamp to call GetOrCreateSnapshot to ensure a new snapshot is generated as and when required
...
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2016-02-24 15:51:31 -08:00
Riyaz Faizullabhoy
d69d0188a4
Move yubikey import role check to avoid excessive passphrase prompting
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-02-24 14:29:40 -08:00
David Lawrence
e692e5d69e
Merge pull request #589 from docker/del-add-print
...
print IDs instead of key itself
2016-02-24 13:38:13 -08:00
Riyaz Faizullabhoy
596a362a36
print IDs instead of key itself
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-02-24 11:18:33 -08:00
Riyaz Faizullabhoy
6d76ce10ba
Merge pull request #577 from docker/walker-template
...
WalkTargets on tuf repo for targets and delegations
2016-02-23 13:19:54 -08:00
Riyaz Faizullabhoy
bde878cdb6
changing API for updating delegations
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-02-23 11:57:08 -08:00
Riyaz Faizullabhoy
729bb88537
addressing review comments
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-02-23 11:55:31 -08:00
Riyaz Faizullabhoy
06e34e825a
walk for updating/creating delegations, validate changes to paths
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-02-23 11:55:31 -08:00
Riyaz Faizullabhoy
fe1c8ea1d8
More robust errors for visitor and walker, improve comments
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-02-23 11:55:31 -08:00
Riyaz Faizullabhoy
22c220d4d2
RemoveTargets with walker
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-02-23 11:55:31 -08:00
Riyaz Faizullabhoy
456e5054a8
Currently always validate role names and restrict paths while walking
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-02-23 11:55:31 -08:00
Riyaz Faizullabhoy
5398bcf4fd
AddTargets uses walk and visitor
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-02-23 11:55:31 -08:00
Riyaz Faizullabhoy
e279c99daf
use walker for GetDelegationRole
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-02-23 11:55:31 -08:00
Riyaz Faizullabhoy
a7153aeccb
WalkTargets on tuf repo, use in getting targets/roles
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-02-23 11:55:31 -08:00
David Lawrence
9e9802bdd0
Merge pull request #573 from docker/validate-meta-on-parse
...
Adds extra validation when calling `XFromSigned` functions
2016-02-23 10:17:02 -08:00
Riyaz Faizullabhoy
d6d788c31b
add links to release tags, 0.2 will exist soon
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-02-23 10:12:03 -08:00
David Lawrence
926964df29
Merge pull request #585 from endophage/download_valid_children
...
check validity of children during download
2016-02-23 10:08:20 -08:00
Riyaz Faizullabhoy
bc6b260eaa
Add changelog for release tracking
...
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
2016-02-23 09:22:51 -08:00
David Lawrence
1e99830716
check validity of children during download and don't overwrite already loaded children
...
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2016-02-22 20:47:58 -08:00
Ying Li
be3520c011
Update the integration tests after rebase
...
Signed-off-by: Ying Li <ying.li@docker.com>
2016-02-22 19:52:18 -08:00