David Lawrence
|
94de318202
|
ErrSigVerifyFail isn't used, we should be retrying on ErrRoleThreshold which means we didn't have enough keys to validate the signatures
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
|
2015-07-23 11:57:40 -07:00 |
Diogo Mónica
|
6c92ca7f86
|
Merge pull request #124 from docker/diogo-fixing-missing-keys-error
Adding typed error for missing keys
|
2015-07-23 01:56:40 -07:00 |
Nathan McCauley
|
11af29d8db
|
update tests to check for new types
Signed-off-by: Nathan McCauley <nathan.mccauley@docker.com>
|
2015-07-23 01:54:14 -07:00 |
Diogo Mónica
|
29ef721767
|
Merge pull request #112 from docker/skip-tls-verify-option
Only skip TLS certificate verification if this is explicitly specified in the config
|
2015-07-23 00:36:17 -07:00 |
Diogo Monica
|
c5ffbd1055
|
Adding typed error for missing keys
Signed-off-by: Diogo Monica <diogo@docker.com>
|
2015-07-23 00:09:35 -07:00 |
Nathan McCauley
|
4e8fb88e56
|
Merge pull request #123 from docker/diogo-remove-stupid-debug-message
Removing Writing data debug line
|
2015-07-22 23:52:44 -07:00 |
Diogo Monica
|
85898a578d
|
Removing Writing data debug line
Signed-off-by: Diogo Monica <diogo@docker.com>
|
2015-07-22 23:41:18 -07:00 |
Nathan McCauley
|
9390014ee0
|
Merge pull request #121 from docker/diogo-adding-truststore-tests
Adding tests for CertsToRemove, and move tests around
|
2015-07-22 23:27:25 -07:00 |
Diogo Monica
|
ea2476ac6c
|
Fixing minor nits
Signed-off-by: Diogo Monica <diogo@docker.com>
|
2015-07-22 22:47:22 -07:00 |
Diogo Monica
|
8841736539
|
Adding thorough root certificate rotation tests
Signed-off-by: Diogo Monica <diogo@docker.com>
|
2015-07-22 20:50:34 -07:00 |
David Lawrence
|
e780c4fe3c
|
Merge pull request #122 from docker/gotuf_c5ce5
updating gotuf
|
2015-07-22 19:41:27 -07:00 |
David Lawrence
|
8a97c99c1e
|
updating gotuf
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
|
2015-07-22 19:37:23 -07:00 |
Diogo Monica
|
3154aa9d29
|
Adding tests for CertsToRemove, and move tests around
Signed-off-by: Diogo Monica <diogo@docker.com>
|
2015-07-22 19:08:01 -07:00 |
Diogo Mónica
|
1c54f699d1
|
Merge pull request #120 from docker/update_error_type
add ErrExpired to notary client to translate from gotuf ErrExpired
|
2015-07-22 18:57:45 -07:00 |
David Lawrence
|
6fd60f88d1
|
add ErrExpired to notary client to translate from gotuf ErrExpired
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
|
2015-07-22 18:54:00 -07:00 |
Diogo Mónica
|
e335489b01
|
Merge pull request #119 from docker/abridge-key-ids
Abridge key ids on print, warn about key generation
|
2015-07-22 18:44:58 -07:00 |
Nathan McCauley
|
8fe2f4193e
|
Abridge key ids on print, warn about key generation
Signed-off-by: Nathan McCauley <nathan.mccauley@docker.com>
|
2015-07-22 18:39:46 -07:00 |
David Lawrence
|
d790da7752
|
Merge pull request #118 from docker/proto_update
Proto update
|
2015-07-22 17:18:56 -07:00 |
Diogo Monica
|
a2a0385c53
|
Fixing rsa hardware crypto service nil-interface bug
Signed-off-by: Diogo Monica <diogo@docker.com>
|
2015-07-22 17:17:02 -07:00 |
Diogo Monica
|
be1d365626
|
Changed debug key type
Signed-off-by: Diogo Monica <diogo@docker.com>
|
2015-07-22 16:51:55 -07:00 |
Diogo Monica
|
6f4e6fffea
|
Fixing protobufs and signer
Signed-off-by: Diogo Monica <diogo@docker.com>
|
2015-07-22 16:51:55 -07:00 |
David Lawrence
|
81d69a4f5c
|
update signature proto to include sig algorithm
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
|
2015-07-22 16:51:55 -07:00 |
Nathan McCauley
|
65916d3fc4
|
Merge pull request #117 from dmcgowan/add-remaining-passphrase-failure
Add missing use of invalid passphrase error
|
2015-07-22 16:14:25 -07:00 |
Diogo Mónica
|
f0912247ed
|
Merge pull request #116 from dmcgowan/invalid-password
Return invalid password when cannot retrieve passphrase
|
2015-07-22 15:39:31 -07:00 |
Diogo Mónica
|
21a9b99e94
|
Merge pull request #114 from docker/invalid_password_err
better error handling for invalid password
|
2015-07-22 15:09:53 -07:00 |
Diogo Mónica
|
f6cf1f6e62
|
Merge pull request #115 from docker/updating_gotuf
updating gotuf dep with some better http error handling.
|
2015-07-22 13:38:39 -07:00 |
David Lawrence
|
1fc3257f6e
|
updating gotuf dep with some better http error handling.
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
|
2015-07-22 13:19:52 -07:00 |
David Lawrence
|
cfe8255187
|
better error handling for invalid password
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
|
2015-07-22 11:37:54 -07:00 |
Derek McGowan
|
304afb53d0
|
Add missing use of invalid passphrase error
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
|
2015-07-22 04:08:14 -07:00 |
Derek McGowan
|
5eb296d276
|
Return invalid password when cannot retrieve passphrase
Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
|
2015-07-22 03:42:16 -07:00 |
Aaron Lehmann
|
2db2764874
|
Only skip TLS certificate verification if this is explicitly specified in the config
Fixes #111
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
|
2015-07-21 17:45:38 -07:00 |
Nathan McCauley
|
eb52b64586
|
Merge pull request #110 from docker/test_fixing
Test fixing
|
2015-07-21 14:07:44 -07:00 |
David Lawrence
|
1f53e171bc
|
updating vendored gotuf with updating signing error messages
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
|
2015-07-21 14:04:05 -07:00 |
David Lawrence
|
8b2888d122
|
latest vendored gotuf
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
|
2015-07-21 13:57:21 -07:00 |
Nathan McCauley
|
c6fc667114
|
Merge pull request #108 from docker/fixing-filestores
Fixed but with loadCertsFromDir and added tests
|
2015-07-20 21:39:02 -07:00 |
Diogo Mónica
|
5642ef7b78
|
Merge pull request #109 from docker/root_key_generation_warning
Root key generation warning
|
2015-07-20 20:35:33 -07:00 |
Nathan McCauley
|
a8b61c2f2b
|
Root key generation warning, incorrect passphrase notification
Signed-off-by: Nathan McCauley <nathan.mccauley@docker.com>
|
2015-07-20 20:06:11 -07:00 |
Diogo Monica
|
b8b59dbc20
|
Fixed but with listDirectory and added tests
Signed-off-by: Diogo Monica <diogo@docker.com>
|
2015-07-20 19:48:17 -07:00 |
Aaron Lehmann
|
1bd55abd18
|
Merge pull request #107 from docker/verify_command_hash_fix
fix hash compare on verfy to be bytewise
|
2015-07-20 18:37:30 -07:00 |
Nathan McCauley
|
079f565f5b
|
use consts for tuf alias comparisons
Signed-off-by: Nathan McCauley <nathan.mccauley@docker.com>
|
2015-07-20 18:23:02 -07:00 |
Nathan McCauley
|
6ffcb134d7
|
fix hash compare on verfy to be bytewise
Signed-off-by: Nathan McCauley <nathan.mccauley@docker.com>
|
2015-07-20 17:58:46 -07:00 |
Nathan McCauley
|
c0b0593247
|
Merge pull request #104 from docker/increase-cert
Changing certificate expiration time to 10 years
|
2015-07-20 15:21:37 -07:00 |
Nathan McCauley
|
ac7c05516d
|
Merge pull request #103 from docker/default_expiry
update default expiry times to those agreed on
|
2015-07-20 15:21:23 -07:00 |
Nathan McCauley
|
d716a2fc09
|
Merge pull request #102 from docker/removing-swapfile
Removing swapfile
|
2015-07-20 14:59:27 -07:00 |
David Lawrence
|
b44e835275
|
update default expiry times to those agreed on
Signed-off-by: David Lawrence <david.lawrence@docker.com> (github: endophage)
|
2015-07-20 14:59:19 -07:00 |
Diogo Monica
|
d1761eba25
|
Changing certificate expiration time to 10 years
Signed-off-by: Diogo Monica <diogo@docker.com>
|
2015-07-20 14:55:36 -07:00 |
Aaron Lehmann
|
d058c6ffe1
|
Removing swapfile
Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
|
2015-07-20 13:51:23 -07:00 |
Aaron Lehmann
|
ac7dc73830
|
Merge pull request #100 from docker/key_caching-aaronl
Key caching
|
2015-07-20 13:50:04 -07:00 |
Diogo Monica
|
f7ea67cfab
|
Rebased from master
Signed-off-by: Diogo Monica <diogo@docker.com>
|
2015-07-20 13:46:01 -07:00 |
Diogo Monica
|
4dfe45d64e
|
Changing testify import
Signed-off-by: Diogo Monica <diogo@docker.com>
|
2015-07-20 13:36:03 -07:00 |