Commit Graph

242 Commits

Author SHA1 Message Date
Diogo Monica cf3d7d4b52 Removed all references of GUN from filestore
Signed-off-by: Diogo Monica <diogo@docker.com>
2015-06-30 19:36:17 -07:00
Diogo Monica da7a1e67f5 Rebased off of master, fixed tests 2015-06-28 16:42:27 -07:00
David Lawrence cf2a819b21 validate root file against cert store 2015-06-28 16:35:24 -07:00
David Lawrence 913e2669c9 Merge pull request #16 from docker/mccauley/notary-readme
Initial cut of notary client README
2015-06-21 16:19:44 -07:00
Nathan McCauley ccfa3f44fd Initial cut of notary client README
Signed-off-by: Nathan McCauley <nathan.mccauley@docker.com>
2015-06-21 16:18:39 -07:00
David Lawrence b0ee6f0c4e putting the same warning at the top of all the readmes.
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-06-21 16:13:16 -07:00
David Lawrence 779d3b687e refactoring verify and switching os.Stderr to use logrus which is set to output on stderr 2015-06-21 16:07:29 -07:00
David Lawrence 5efc8c0549 Merge pull request #12 from docker/filestore-refactor
Major refactor the the FileStore
2015-06-21 15:45:24 -07:00
David Lawrence d7955d6b7a adding a little more to notary server readme 2015-06-21 14:54:27 -07:00
David Lawrence ffc135ace9 Merge pull request #9 from docker/notaryserver_readme
Notary Server README
2015-06-21 13:21:06 -07:00
David Lawrence cd8c17b5c3 filling in README for notary-server 2015-06-21 13:19:13 -07:00
Diogo Monica 09c9099fdf Adding ListGUN to allow listing of specific keys 2015-06-21 15:14:46 -04:00
Diogo Monica eb1da6d5c6 Added delete keys by GUN 2015-06-20 23:31:03 -04:00
Diogo Monica db847379df Major refactor the the FileStore 2015-06-20 23:04:34 -04:00
David Lawrence 73f9935ea1 renaming server/version to server/storage. version was a bad name I picked late at night 2015-06-20 19:16:20 -07:00
David Lawrence 989c821d59 validate root file against cert store 2015-06-20 17:03:38 -07:00
Diogo Mónica 6625f1fc86 Merge pull request #5 from docker/mccauley/error-checking
Add error checking
2015-06-20 16:57:26 -04:00
Nathan McCauley 9ee5299b86 Add error checking
Signed-off-by: Nathan McCauley <nathan.mccauley@docker.com>
2015-06-20 13:01:56 -07:00
Diogo Monica ed0ba8c1bf Adding minor stdout cosmetic change 2015-06-19 15:12:20 -07:00
David Lawrence 6ebdbdca0e adding readmes for commands 2015-06-19 13:35:20 -07:00
David Lawrence 03fcba1c98 exist verify with 1 on fail and make size print correctly in cli output 2015-06-19 12:38:33 -07:00
David Lawrence c7a956bdbb updating cli output for tuf to say Trusted Collection rather than TUF Repository 2015-06-19 11:47:21 -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
Nathan McCauley 3f9b5dd6f7 Remove double negative
Signed-off-by: Nathan McCauley <nathan.mccauley@docker.com>
2015-06-19 00:04:03 -07:00
Diogo Monica 7b86665cf8 Descriptions now use Trusted Collection everywhere 2015-06-18 21:44:54 -07:00
Diogo Monica 8da91369b8 Added confirmation for trust 2015-06-18 21:32:30 -07:00
Diogo Monica 21782098cb Initial implementation of verify 2015-06-18 20:43:02 -07:00
David Lawrence c9df04c4c0 remove actually working now 2015-06-18 19:44:33 -07:00
David Lawrence 06abf201c3 adding remove 2015-06-18 19:33:47 -07:00
David Lawrence 0ce1572c20 set logrus to stderr and refactor list/lookup 2015-06-18 19:09:34 -07:00
David Lawrence 91c1380070 list/lookup have empty output if they fail 2015-06-18 18:24:36 -07:00
Diogo Monica 6a7a08195e Rename push to publish 2015-06-18 17:19:42 -07:00
Diogo Monica 49819d239d Remove tuf from cmdline 2015-06-18 17:14:06 -07:00
Diogo Monica a353ee13e7 Merge branch 'demo' of github.com:docker/vetinari into demo 2015-06-18 15:13:29 -07:00
Diogo Monica d63649e54c Add root certificate to trusted store 2015-06-18 15:13:22 -07:00
David Lawrence bfe4d1e196 implementing lookup 2015-06-18 15:07:56 -07:00
Diogo Monica e98a25c94f Fixed Dockerfile and compose 2015-06-18 14:07:02 -07:00
Diogo Monica 1bef68654e Changed cryptoservice and rufus interface 2015-06-18 14:02:44 -07:00
David Lawrence 5b64c7b084 updating calls to CryptoService.Create to pass role name 2015-06-18 13:53:10 -07:00
Diogo Monica 0ee61e25c9 Added Dockerfiles, changed compose 2015-06-18 01:22:15 -07:00
David Lawrence 6ad97259df updating tuf subcommand to list targets when run as 2015-06-18 00:37:31 -07:00
David Lawrence e434232709 list works 2015-06-17 23:45:51 -07:00
David Lawrence 322f60b1ba tuf push working 2015-06-17 22:10:07 -07:00
Diogo Monica b0df67acd3 Added small validation to GUNs, changed logrus loglevel 2015-06-17 22:06:37 -07:00
Diogo Monica e5dd1721b3 Renamed SKID to kID 2015-06-17 21:11:36 -07:00
David Lawrence bb32390698 adding target now works 2015-06-17 21:01:24 -07:00
Diogo Monica 69525459f3 Merge branch 'demo' of github.com:docker/vetinari into demo 2015-06-17 20:51:23 -07:00
Diogo Monica cb6f43e99a Changed universal ID to be TUF, cleaned UI 2015-06-17 20:51:18 -07:00
David Lawrence e11cab0519 tuf init working 2015-06-17 18:19:39 -07:00
Diogo Monica 712ff83945 Added cliCryptoService 2015-06-17 16:05:16 -07:00
Diogo Monica ff169897b6 s/QDN/GUN 2015-06-17 13:31:13 -07:00
David Lawrence 6805f290f0 all vetinari tests pass 2015-06-17 11:28:59 -07:00
Diogo Monica 770cca453a Added listing and removal of signing certs 2015-06-17 11:17:08 -07:00
Diogo Monica 3e828b5796 Fixed compilation errors for vetinari-server 2015-06-17 11:17:08 -07:00
Diogo Monica 08124c18f6 Added key generate 2015-06-17 11:16:11 -07:00
David Lawrence 2aba401607 good start on tuf commands 2015-06-17 11:13:42 -07:00
Diogo Monica 205379efb7 Refactor commands 2015-06-17 11:13:42 -07:00
Diogo Monica be021850d4 Fixing golint 2015-06-17 11:13:42 -07:00
Diogo Monica 836521e166 Refactor cmdline key naming and added TUF skeletons 2015-06-17 11:13:42 -07:00
Diogo Monica 931c5e2a9b Refactored Add by URL out from X509 Key Stores 2015-06-17 11:13:41 -07:00
Diogo Monica ae11e1472e Changed Cli lib to Cobra and renamed to notary 2015-06-17 11:13:41 -07:00
Diogo Monica 181a453adc Added GetVerifyOptions to KeyStores and better filter for loaded CAs 2015-06-17 11:13:41 -07:00
Diogo Monica c90a362cfe Addressing small comments and nits 2015-06-17 11:13:41 -07:00
Diogo Monica 93c7950516 Renamed Trust/Untrust to Add/Remove 2015-06-17 11:13:41 -07:00
Diogo Monica a8be1c7f57 Removed RepoStores and added Viper configuration 2015-06-17 11:13:41 -07:00
Diogo Monica 6ffe6df102 Added trustmanager package and simple CLI 2015-06-17 11:13:40 -07:00
David Lawrence 801dd397ff runs with basic setup for demo 2015-06-16 12:17:40 -07:00
David Lawrence 13c4d05b79 bugfixing so it builds with new gotuf repo. Need to work out what I'm going with CanSign method, might get rid of it and just inspect error response 2015-06-12 15:00:36 -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 953d79888a fixing build errors 2015-06-09 15:04:09 -07:00
David Lawrence 4b39bf0c97 changing over logging to logrus 2015-05-12 11:11:39 -07:00
David Lawrence 61fbfcadf1 fix for double init problem 2015-04-28 23:31:23 -07:00
Diogo Monica 15d9b3a668 Fixing paths on config.json 2015-04-28 11:22:10 -07:00
Nathan McCauley faeed37c22 print debugging on failure to load keys, correct cert paths 2015-04-28 11:22:10 -07:00
Nathan McCauley 95adc15e36 debugging stuffz 2015-04-28 11:22:10 -07:00
Nathan McCauley 5938d9e09c add CA config option 2015-04-28 11:22:10 -07:00
Nathan McCauley c043e6d5a3 Initial docker-compose config for rufus/vetinari integration 2015-04-28 11:22:09 -07:00
Diogo Monica 134fcae497 Adding new certs to vetinari 2015-04-27 18:39:31 -07:00
Nathan McCauley 39103bc6ef PR review fixups on config options 2015-04-27 11:14:12 -07:00
Nathan McCauley 8403c09c1f Hook up SigningService to server, add config 2015-04-27 11:14:12 -07:00
David Lawrence 4cc70c69a6 adding libtrust to godeps 2015-04-24 15:36:35 -07:00
David Lawrence d287dd9974 improving scoping by not exporting some things 2015-04-21 11:38:57 -07:00
David Lawrence 8a7f02c046 fixing vet 2015-04-20 17:02:11 -07:00
David Lawrence b386511b79 commiting config.go change that got missed 2015-04-20 15:17:50 -07:00
David Lawrence 52505d36e1 cleanup work and updating godeps 2015-04-20 11:30:58 -07:00
David Lawrence b2e089c6ee adding tests to utils package 2015-04-16 15:37:08 -07:00
David Lawrence 201546b2d8 interfaces all work together now and it builds 2015-04-13 09:51:02 -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 5f7e002a9a scaffolding for error, handler and context setup 2015-04-07 16:22:16 -07:00
Diogo Monica 9a495fa942 Initial working server commit 2015-03-31 18:40:07 -07:00