Diogo Mónica
f62a8b3078
Merge pull request #535 from endophage/official_mysql_image
...
Use official mariadb image
2016-02-08 16:16:10 -08:00
David Lawrence
7a751e5f78
lots of final minor improvements to setup.
...
Signed-off-by: David Lawrence <david.lawrence@docker.com > (github: endophage)
2016-02-08 14:18:07 -08:00
Ying Li
85c2fbea6a
Change the fixture to have all the metadata and certs expire 100 years in the future.
...
Signed-off-by: Ying Li <ying.li@docker.com >
Conflicts:
fixtures/compatibility/notary0.1/tuf/docker.com/notary0.1/samplerepo/metadata/root.json
fixtures/compatibility/notary0.1/tuf/docker.com/notary0.1/samplerepo/metadata/snapshot.json
fixtures/compatibility/notary0.1/tuf/docker.com/notary0.1/samplerepo/metadata/targets.json
fixtures/compatibility/notary0.1/tuf/docker.com/notary0.1/samplerepo/metadata/timestamp.json
2016-02-04 17:11:30 -08:00
Ying Li
d2bc1634d4
Re-check in a notary0.1 file, because we *do* want the timestamp file to test downloads.
...
This also has a target in the targets file, and also has a changelist object.
Signed-off-by: Ying Li <ying.li@docker.com >
2016-02-03 16:02:45 -08:00
HuKeping
e77db8a308
[PATCH 1/4] Use seperate databases for notary server and signer
...
For security, server should not be able to access the `private_key` table
and we can go further more, say, use seperate databases for the server
and signer.
This patch creates two users corresponding to the different databases.
Signed-off-by: Hu Keping <hukeping@huawei.com >
2016-01-29 10:10:25 +08:00
Ying Li
785b2527b1
Test import/export of old repo format.
...
Signed-off-by: Ying Li <ying.li@docker.com >
2015-12-23 11:47:37 -08:00
Ying Li
0c54c6caef
Add an example of a 0.1 style repository for backwards compatibility tests
...
Signed-off-by: Ying Li <ying.li@docker.com >
2015-12-22 18:00:57 -08:00
David Lawrence
77d72ba81c
when using a mysql database, need to set parseTime=True in connection string query params
...
Signed-off-by: David Lawrence <david.lawrence@docker.com > (github: endophage)
2015-12-03 10:39:13 -08:00
Ying Li
56e8d864ce
Add some standalone (does not require MySQL) configuration files for
...
server and signer, and set these to be the default configuration
files when running the images.
Compose specifies the configuration with MySQL.
Signed-off-by: Ying Li <ying.li@docker.com >
2015-11-30 14:14:16 -08:00
Ying Li
f1bd28caf4
The TLS certificates are now relative to the config file used.
...
Previously, if a relative path was provided, it was relative to the
current working directory to wherever the binaries were run. Now
it is relative to whatever config file was used.
Signed-off-by: Ying Li <ying.li@docker.com >
2015-11-30 10:58:57 -08:00
Diogo Monica
c817ba3606
Fixed bug in Root Validation and added more test
...
Signed-off-by: Diogo Monica <diogo@docker.com >
2015-07-17 14:33:05 -07:00
Diogo Monica
17c9fcd911
Added basic tests for ValidateRoot
...
Signed-off-by: Diogo Monica <diogo@docker.com >
2015-07-17 14:33:05 -07:00
Diogo Monica
3debfbca10
Reissued all certs with correct SANs
...
Signed-off-by: Diogo Monica <diogo@docker.com >
2015-07-15 21:42:24 -07:00
Diogo Monica
9a065a8d40
Adding new testing fixtures
...
Signed-off-by: Diogo Monica <diogo@docker.com >
2015-07-15 19:44:58 -07:00
Diogo Monica
9a4c2dc744
Initial copy of notary-signer
...
Signed-off-by: Diogo Monica <diogo@docker.com >
2015-07-14 00:23:22 -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
Diogo Monica
ae11e1472e
Changed Cli lib to Cobra and renamed to notary
2015-06-17 11:13:41 -07:00
Diogo Monica
d39d16a717
Added tests for X509MemStore and fixtures
2015-06-17 11:13:41 -07:00
Diogo Monica
f86a6c5fb2
Adding CA fixture
2015-04-27 18:50:07 -07:00
Diogo Monica
134fcae497
Adding new certs to vetinari
2015-04-27 18:39:31 -07:00
Diogo Monica
9a495fa942
Initial working server commit
2015-03-31 18:40:07 -07:00