Commit Graph

807 Commits

Author SHA1 Message Date
Derek McGowan 4adcfa2b2f Update notary godeps
Updated to master of gotuf
Fix awkward docker/docker dependency

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2015-07-31 14:08:59 -07:00
Diogo Mónica 68eed466ff Merge pull request #167 from jfrazelle/updates-to-makefile
Updates to Makefile
2015-07-31 14:07:26 -07:00
Diogo Mónica 09f5b1b38b Merge pull request #172 from docker/safer-aliasmapping
Safer, cleaner use of aliasMap
2015-07-31 13:52:29 -07:00
Nathan McCauley 20e560db3f Safer, cleaner use of aliasMap
Signed-off-by: Nathan McCauley <nathan.mccauley@docker.com>
2015-07-31 13:45:43 -07:00
Diogo Mónica e01218c962 Merge pull request #165 from docker/environment-config-keys
Accept configuration parameters from environment variables
2015-07-31 13:20:13 -07:00
Diogo Mónica 91c0edf410 Merge pull request #170 from docker/passphrase-improvements
Support aliasMap for pretty printing on PhraseRetrieval. Better keyID…
2015-07-31 13:19:20 -07:00
Aaron Lehmann d7f11844c8 Accept configuration parameters from environment variables
For example, trust_service.type becomes
NOTARY_SERVER_TRUST_SERVICE_TYPE.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-07-31 13:05:34 -07:00
Nathan McCauley bbacddb539 Support aliasMap for pretty printing on PhraseRetrieval. Better keyID printing
Signed-off-by: Nathan McCauley <nathan.mccauley@docker.com>
2015-07-31 12:32:44 -07:00
David Lawrence a4459dfc66 Merge pull request #169 from docker/tls_fail
hard fail if TLS is only partially configured
2015-07-31 11:41:05 -07:00
David Lawrence e7fa1951ab hard fail if TLS is only partially configured
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-07-31 10:49:42 -07:00
Jessica Frazelle 9f2e3e3d0f pass ldflags to the notary-signer and notary-server builds
in the dockerfiles

Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2015-07-31 09:57:07 -07:00
David Lawrence 056622d801 Merge pull request #163 from dmcgowan/refactor-keydbstore
Move key database to signer package
2015-07-30 21:13:32 -07:00
Jessica Frazelle 4f94d34a9a Updates to Makefile
not everyone has godeps and all that crap on their host, namely me, i do not so
yeah.... this is better

Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2015-07-30 20:18:05 -07:00
Aaron Lehmann d5b03dc2ec Merge pull request #164 from endophage/remove_bugsnag_config
don't want bugsnag config template in config.json
2015-07-30 17:12:49 -07:00
David Lawrence 58187d97d1 don't want bugsnag config template in config.json
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-07-30 16:39:08 -07:00
Derek McGowan bd9d7c9c74 Move key database to signer package
The key database is not generally used but only used by the signing service.
Move the implementation to the signer package to be imported by the signer.

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2015-07-30 16:22:47 -07:00
Diogo Monica b04ed5042b Added -y no confirmation and more integration tests
Signed-off-by: Diogo Monica <diogo@docker.com>
2015-07-30 16:22:14 -07:00
Diogo Monica af2da799bf Added support for env passphrases and improved integration script
Signed-off-by: Diogo Monica <diogo@docker.com>
2015-07-30 16:22:14 -07:00
Nathan McCauley a15091dc56 add a simple test script, eventually this can grow to be our CI script
Signed-off-by: Nathan McCauley <nathan.mccauley@docker.com>
2015-07-30 16:22:14 -07:00
Diogo Mónica 149ba6fd0f Merge pull request #157 from docker/configurable_key_algo
make key algorithm configurable for local development with in memory …
2015-07-30 13:36:01 -07:00
Diogo Mónica 5e0d9d0faa Merge pull request #160 from dmcgowan/update-expiration-logic
Update expiration logic
2015-07-30 13:33:21 -07:00
David Lawrence 2bf3acd493 adding bugsnag
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-07-30 12:03:47 -07:00
David Lawrence f7ca3ef62e make key algorithm configurable for local development with in memory ed25519 crypto service
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-07-30 11:53:39 -07:00
Nathan McCauley 3746a86509 Merge pull request #161 from docker/consistent_schema
update initial.sql to make schema consistent with staging/prod
2015-07-30 11:31:05 -07:00
David Lawrence 0940417324 update initial.sql to make schema consistent with staging/prod
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-07-30 11:17:27 -07:00
Diogo Monica 612dbf4624 Renaming VERSION to NOTARY_VERSION
Signed-off-by: Diogo Monica <diogo@docker.com>
2015-07-30 11:03:36 -07:00
David Lawrence a095f6ff84 timestamp columns should just be NULL, not DFAULT NULL
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-07-30 10:57:12 -07:00
Derek McGowan f9c63780b7 Use gotuf expires function
The gotuf library defines a function to check expiration of timestamps which notary will make use of.

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2015-07-29 17:11:56 -07:00
Derek McGowan ac5feeb82a Update gotuf
Update gotuf for timestamp expiration change

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
2015-07-29 17:09:26 -07:00
Nathan McCauley 07c97577da Merge pull request #159 from docker/parse_log_level
parse string log level from config
2015-07-29 15:56:59 -07:00
David Lawrence d27f480231 parse string log level from config
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-07-29 15:52:35 -07:00
Diogo Mónica 8ed4c1583b Merge pull request #156 from moxiegirl/docs-infrastructure
Docs infrastructure
2015-07-28 20:42:39 -07:00
Aaron Lehmann 2ac1d44be1 Merge pull request #154 from docker/diogo-add-remove-cert
Added cli cert command, changed keylisting to be a map
2015-07-28 20:13:32 -07:00
Diogo Mónica bbc9b5da75 Merge pull request #155 from docker/column_fix
gorm uses timestamp to represent time.Time, not datetime
2015-07-28 19:38:57 -07:00
Diogo Monica 59b02db807 Addressing nits
Signed-off-by: Diogo Monica <diogo@docker.com>
2015-07-28 19:35:29 -07:00
Mary Anthony 5035c952b3 Remove restriction this build builds it all
Signed-off-by: Mary Anthony <mary@docker.com>
2015-07-28 18:58:31 -07:00
Mary Anthony 701374dc5c Adding initial docs infrastructure
Signed-off-by: Mary Anthony <mary@docker.com>
2015-07-28 18:55:28 -07:00
David Lawrence 0661a87abb gorm uses timestamp to represent time.Time, not datetime
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-07-28 18:45:16 -07:00
Diogo Monica a23bac9130 Fix gofmt
Signed-off-by: Diogo Monica <diogo@docker.com>
2015-07-28 18:25:37 -07:00
Diogo Monica 27461ad9fb Added cli cert command, changed keylisting to be a map, fixed key removal
Signed-off-by: Diogo Monica <diogo@docker.com>
2015-07-28 18:14:29 -07:00
Nathan McCauley de98ed733f Merge pull request #152 from calavera/fix_random_ref
Use the random reader passed as argument to GenerateED25519Key.
2015-07-28 17:15:08 -07:00
David Calavera 740e5b095d Use the random reader passed as argument to GenerateED25519Key.
Rather than the global source.

Signed-off-by: David Calavera <david.calavera@gmail.com>
2015-07-28 16:59:03 -07:00
Diogo Mónica 8403629743 Merge pull request #151 from jfrazelle/fix
fix
2015-07-28 16:32:32 -07:00
Jessica Frazelle f52a63a161 fix
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2015-07-28 16:06:09 -07:00
Diogo Monica 9e9da37d75 Removing default version from version.go
Signed-off-by: Diogo Monica <diogo@docker.com>
2015-07-28 15:38:24 -07:00
Diogo Mónica 9592a19799 Merge pull request #150 from jfrazelle/makefile-compile-time-vars
Makefile compile time vars
2015-07-28 15:34:25 -07:00
Diogo Mónica 0e7d9271e3 Merge pull request #148 from docker/diogo-add-version
Adding version to notary
2015-07-28 15:34:13 -07:00
Diogo Monica 297fc42e66 Fixing tests
Signed-off-by: Diogo Monica <diogo@docker.com>
2015-07-28 15:32:01 -07:00
Jessica Frazelle 9cd84b783b add changes for makefile for compile time vars
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2015-07-28 15:27:53 -07:00
Diogo Monica c4e4518d04 Adding version from version.go
Signed-off-by: Diogo Monica <diogo@docker.com>
2015-07-28 15:27:41 -07:00