Diogo Monica
39482c2397
Working ECDSA implementation
...
Signed-off-by: Diogo Monica <diogo@docker.com >
2015-07-12 22:21:29 -07:00
David Lawrence
d1b09962f1
using roundtripper in notary client
...
Signed-off-by: David Lawrence <david.lawrence@docker.com > (github: endophage)
2015-07-10 10:02:38 -07:00
Diogo Mónica
436e02d390
Merge pull request #32 from dmcgowan/fix-default-loglevel
...
Fix default log level
2015-07-09 23:56:13 -07:00
Ian Duffy
ed4454c9c9
Fix example configuration file given in README.md
...
The example configuration given in README.md is missing a comma character and doesn't form valid JSON.
This PR adds the comma as required.
Signed-off-by: Ian Duffy <ian@ianduffy.ie >
2015-07-10 04:35:02 +01:00
Diogo Monica
06a28c89ee
Added root key creation if non-existing to notary
...
Signed-off-by: Diogo Monica <diogo@docker.com >
2015-07-09 18:56:06 -07:00
Aaron Lehmann
082d4f3c7c
Change NotaryRepository to honor the baseURL passed in
...
Remove "transport", because it's not used.
In the actual notary client, pass in a hard-coded URL for now (same one
previously hardcoded in getRemoteStore). In tests, create a trivial HTTP
server using net/http/httptest, which returns a timestamp.key file.
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com >
Signed-off-by: Diogo Monica <diogo@docker.com >
2015-07-09 17:58:33 -07:00
Diogo Monica
8c6de46aca
Added list keys that ignores symlinks
2015-07-09 17:58:10 -07:00
David Lawrence
73ca456297
annotating Publish and making it accept a password retriever function
...
Signed-off-by: David Lawrence <david.lawrence@docker.com > (github: endophage)
2015-07-09 17:58:09 -07:00
David Lawrence
6bff14a679
refactoring NotaryClient out
...
Signed-off-by: David Lawrence <david.lawrence@docker.com > (github: endophage)
2015-07-09 17:58:09 -07:00
David Lawrence
ebbb30b56c
hold unlocked signer on repository
...
Signed-off-by: David Lawrence <david.lawrence@docker.com > (github: endophage)
2015-07-09 17:58:09 -07:00
David Lawrence
c9ab3394de
further publish updates, it pushes now, but doesn't sign roots correctly
...
Signed-off-by: David Lawrence <david.lawrence@docker.com > (github: endophage)
2015-07-09 17:58:09 -07:00
Diogo Monica
f9f11e5781
Starting the key refactor; rename UnlockedRootKey
...
Signed-off-by: Diogo Monica <diogo@docker.com >
2015-07-09 17:58:09 -07:00
David Lawrence
1d163650a3
changelist implementation
...
Signed-off-by: David Lawrence <david.lawrence@docker.com > (github: endophage)
Signed-off-by: David Lawrence <david.lawrence@docker.com > (github: endophage)
2015-07-09 17:58:09 -07:00
David Lawrence
9d5e988586
working refactor
...
Signed-off-by: David Lawrence <david.lawrence@docker.com > (github: endophage)
2015-07-09 17:58:08 -07:00
Diogo Monica
e66dc12eca
More refactor
2015-07-09 17:58:08 -07:00
Diogo Monica
93f7d9911f
Implementing ListTargets
2015-07-09 17:58:08 -07:00
Diogo Monica
30c0856266
Remove config from libnotary
2015-07-09 17:58:08 -07:00
Diogo Monica
1346296869
Initial libnotary refactor
...
Signed-off-by: Diogo Monica <diogo@docker.com >
Ported more functionality to libnotary
2015-07-09 17:57:48 -07:00
Derek McGowan
0f5f340d0c
Fix default log level
...
Work around bug in viper configuration.
Viper will always use the default since it matches the whole key match first.
Setting the default to a map keeps the config file as the first matched item.
Signed-off-by: Derek McGowan <derek@mcgstyle.net > (github: dmcgowan)
2015-07-07 11:55:49 -07:00
Diogo Monica
d5cdeb93bb
Adding EncryptedFileStore and changing interfaces
...
Signed-off-by: Diogo Monica <diogo@docker.com >
2015-07-05 21:02:16 -07:00
Diogo Monica
fd8471038c
Added a keyfilestore with encrypted PEM support
2015-07-04 12:17:54 -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
Diogo Mónica
66aec225f2
Merge pull request #8 from docker/validate_root
...
validate root file against cert store
2015-07-03 14:23:25 -07:00
Diogo Monica
1eb972a820
Changed FingerprintCert to return string; renamed kID fingerprint everywhere in notary
...
Signed-off-by: Diogo Monica <diogo@docker.com >
2015-06-30 21:44:57 -07:00
Diogo Monica
a0e63bcaeb
Fixed verification to use exact match and fallback to CA + tests
...
Signed-off-by: Diogo Monica <diogo@docker.com >
2015-06-30 19:38:52 -07:00
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