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
Diogo Monica
4cf84b3e46
Adding version to notary
...
Signed-off-by: Diogo Monica <diogo@docker.com>
2015-07-28 15:27:41 -07:00
Diogo Mónica
e0e574f9ff
Merge pull request #147 from docker/import-export-cli
...
Import export cli
2015-07-28 15:26:17 -07:00
Aaron Lehmann
c3cf6c4083
Add a flag to change the password of the root key when exporting it
...
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-07-28 15:08:41 -07:00
Diogo Mónica
659dd2a047
Merge pull request #149 from docker/misleading-passphrase-error
...
Avoid printing "Passphrases do not match" when passphrase is too short
2015-07-28 14:43:54 -07:00
Aaron Lehmann
3a1292a287
Avoid printing "Passphrases do not match" when passphrase is too short
...
Also, wrap the passphrase instructions paragraph at 80 columns, and
change the passphrase variable name in addKey to avoid a conflict with
the package name.
Fixes #146
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-07-28 14:41:27 -07:00
Aaron Lehmann
3af03daa42
Change "notary keys" command to "notary key"
...
This makes the full subcommand names smoother; for example "notary key
generate" instead of "notary keys generate".
Add a "notary key list" subcommand to list keys, so "notary key"
lists the possible subcommands, instead of needing to use "notary key
-h".
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-07-28 13:46:45 -07:00
Aaron Lehmann
558f52530b
Add key import and export commands
...
This adds four commands:
- notary keys export: export all keys, or keys for a particular GUN
(with -g)
- notary keys export-root: export root key by ID
- notary keys import: import a zip file of keys
- notary keys import-root: import a single root key
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2015-07-28 13:46:45 -07:00
Aaron Lehmann
17a0373eb3
Merge pull request #142 from docker/diogo-improve-cli
...
Removed all local keystores, added configurable trust dir
2015-07-28 13:38:24 -07:00
Diogo Monica
bdd6760c69
Changing key removal message
...
Signed-off-by: Diogo Monica <diogo@docker.com>
2015-07-28 13:30:41 -07:00
Diogo Mónica
914cffd6af
Merge pull request #145 from jfrazelle/have-your-html-back
...
add back html
2015-07-28 12:07:03 -07:00
Diogo Monica
5a57f5e970
Rebased off of master, working removes
...
Signed-off-by: Diogo Monica <diogo@docker.com>
2015-07-28 11:55:53 -07:00
Jessica Frazelle
8d0086002e
add back html
...
Signed-off-by: Jessica Frazelle <acidburn@docker.com>
2015-07-28 11:51:20 -07:00
Diogo Monica
e7fb8ab46c
Fixing golint
...
Signed-off-by: Diogo Monica <diogo@docker.com>
2015-07-28 11:47:14 -07:00
Diogo Monica
579f51866b
Removed all local keystores, added configurable trust dir
...
Signed-off-by: Diogo Monica <diogo@docker.com>
2015-07-28 11:47:14 -07:00
Diogo Mónica
0d03d8a8e5
Merge pull request #143 from docker/remove_target
...
fixing remove
2015-07-28 11:39:30 -07:00
David Lawrence
529230369a
tests for changelist client helpers
...
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-07-28 11:29:46 -07:00
David Lawrence
0f322c69a2
fixing remove
...
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
2015-07-28 10:21:14 -07:00