Ying Li
1bb1f1acd2
Refactor server/storage models to use gorm.Model and to be in their
...
file.
Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-12 14:28:20 -07:00
Diogo Mónica
8b17a84aa0
Small fixes to the README
2015-10-12 12:14:50 -07:00
Diogo Mónica
ee8cb1e2cb
Changed CircleCI location
2015-10-12 12:14:19 -07:00
Diogo Mónica
aac911c91c
Merge pull request #214 from vikstrous/fix_makefile
...
Revert "add `make install`, fix #202"
2015-10-12 10:08:11 -07:00
Viktor Stanchev
48e6ecedca
Revert "add `make install`, fix #202"
...
This reverts commit 77a16d3116
.
Signed-off-by: Viktor Stanchev <me@viktorstanchev.com>
2015-10-12 10:04:31 -07:00
Diogo Mónica
f70a03fb64
Merge pull request #209 from endophage/key_rotation
...
Strawman for targets and snapshot key rotation
2015-10-11 12:01:15 -07:00
Diogo Mónica
c61b9c6f30
Merge pull request #212 from vikstrous/badge
...
add circle ci badge
2015-10-11 11:59:52 -07:00
Viktor Stanchev
987db9e9bf
add circle ci badge
...
Signed-off-by: Viktor Stanchev <me@viktorstanchev.com>
2015-10-10 22:51:18 -07:00
Ying Li
01f7adc80c
Document the intended behavior of each function in the storage
...
interface.
Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-10 18:44:44 -07:00
David Lawrence
e587b0427a
test for key rotation
...
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-10-09 22:53:57 -07:00
Ying Li
99cac889b1
Add some more tests for storing TUF files in the db
...
Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-09 22:48:21 -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
David Lawrence
ac54370fb0
cleanup after discussing with Diogo
...
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-10-09 19:40:36 -07:00
David Lawrence
009400650e
minor tweaks to key rotation
...
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-10-09 19:24:08 -07:00
David Lawrence
959d0267ac
command skeletons in place, changelist actions implemented
...
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-10-09 19:24:08 -07:00
David Lawrence
83f96997d3
changelist management of key rotation
...
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-10-09 19:23:47 -07:00
David Lawrence
c3f39e1e06
Merge pull request #208 from docker/no-warnings-makefile
...
Fixing makefile warnings
2015-10-09 19:20:45 -07:00
Diogo Mónica
a4048f543d
Merge pull request #206 from ryancox/master
...
Add support for 'notary status' command
2015-10-09 19:08:35 -07:00
Diogo Monica
b220d57783
Fixing makefile warnings
...
Signed-off-by: Diogo Monica <diogo@docker.com>
2015-10-09 15:47:47 -07:00
Ying Li
5f70699937
Add more tests for UpdateCurrent
...
Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-09 12:19:17 -07:00
Diogo Mónica
e62151e348
Merge pull request #207 from vikstrous/make_install
...
add `make install`, fix #202
2015-10-09 11:33:41 -07:00
Viktor Stanchev
77a16d3116
add `make install`, fix #202
...
Signed-off-by: Viktor Stanchev <me@viktorstanchev.com>
2015-10-09 11:05:08 -07:00
Ying Li
31bb0b0525
Do more verifications on the server store DB tests using gorm
...
Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-08 23:20:48 -07:00
Ryan Cox
7bee606f43
Add support for 'notary status' command to show details about unpublished changes
...
Signed-off-by: Ryan Cox <ryan.a.cox@gmail.com>
2015-10-08 22:07:36 -07:00
Diogo Mónica
53467fd417
Merge pull request #85 from docker/simple_test_script
...
add a simple test script, eventually this can grow to be our CI script
2015-10-08 16:58:44 -07:00
Diogo Mónica
258e5c645e
Merge pull request #201 from vikstrous/vikstrous-patch-1
...
Mention how to connect to local notary in README
2015-10-08 16:58:03 -07:00
Ying Li
d092f78f05
Merge pull request #205 from cyli/signer-healthcheck
...
Adding a DB check to the signer health check
2015-10-08 16:53:57 -07:00
Ying Li
06e21a234c
Convert server/storage/database tests to use SQLite3
...
Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-08 16:42:05 -07:00
Ying Li
a70605a9e6
Shorten health check name and remove redundant logging
...
Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-08 15:42:14 -07:00
Diogo Mónica
b4e1c80fc4
Merge pull request #203 from cyli/osx-getting-started
...
More details in the README on how to compile notary and run the README example
2015-10-08 14:23:34 -07:00
Ying Li
77fa33f737
Update godeps
...
Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-07 21:00:20 -07:00
Ying Li
2740fd011a
Fix docstring comment
...
Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-07 21:00:01 -07:00
Ying Li
815675eea9
After upgrading grpc, update how the server is set up with TLS for the signer
...
Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-07 20:52:48 -07:00
Ying Li
75516a1e84
Add the CheckHealth implementations to the RPC servers, go fmt some other files
...
Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-07 20:51:53 -07:00
Ying Li
701e5df79e
Change the rpc Server objects to take a function that can check health
...
Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-07 18:12:51 -07:00
Ying Li
74a5b1b541
Change the signer protocol to include a health check
...
Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-07 18:12:23 -07:00
Ying Li
a67ed67bdc
Add a health check function for the key DB store that verifies we can access the required table
...
Signed-off-by: Ying Li <ying.li@docker.com>
2015-10-07 16:31:24 -07:00
cyli
3e60d0acd5
Move the skipTLSVerify information to Configure Notary Server.
...
Signed-off-by: cyli <cyli@twistedmatrix.com>
2015-10-05 16:07:33 -07:00
cyli
c188fc18bc
Add prerequisites section to Using Notary and Compiling Notary Server.
...
Signed-off-by: Ying Li ying.li@docker.com
2015-10-05 14:30:57 -07:00
cyli
331cd799c4
Include basic setup instructions on how to compile notary applications.
2015-10-05 13:50:43 -07:00
cyli
684a8253fb
Provide the default uesrname/password in the mysql start file, for ease of starting with notary
...
As per #75 , the default username/password should not be hardcoded, so when that changes this README should also change
2015-10-05 12:08:24 -07:00
Viktor Stanchev
cd77fe8737
Mention how to connect to local notary in README
...
Signed-off-by: Viktor Stanchev <me@viktorstanchev.com>
2015-10-05 11:16:30 -07:00
moxiegirl
1ce6aa4c34
Merge pull request #196 from ggtools/birthday-pr
...
Minor improvements on server url
2015-09-24 17:15:01 -07:00
Diogo Mónica
add67a3213
Merge pull request #195 from jbeda/master
...
Make static cross darwin builds work
2015-09-20 14:23:52 -07:00
Christophe Labouisse
be6813ed43
Add documentation for environment variable.
2015-09-20 19:26:33 +02:00
Christophe Labouisse
f9508e37e0
Add env var for default server url
...
The default server URL can now be set using the `NOTARY_SERVER_URL`
environment variable. Specifying the `--server` parameter still
override this value.
Signed-off-by: Christophe Labouisse <christophe@labouisse.org>
2015-09-19 17:25:12 +02:00
Christophe Labouisse
36594b360c
Add missing --server option to verify.
...
Verify was making call to the server but didn't have a way to
override the default value.
Signed-off-by: Christophe Labouisse <christophe@labouisse.org>
2015-09-19 17:15:08 +02:00
Joe Beda
f7d0ea70af
Use pure-go library to get user home directory.
...
Fixes #194 .
Signed-off-by: Joe Beda <joe.github@bedafamily.com>
2015-09-10 16:07:38 -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
David Lawrence
ac05822d7d
Merge pull request #182 from jfrazelle/change-canonical-json-dep
...
LGTM
2015-09-04 11:22:11 -07:00