don't assume boto will remain secure

On second thought, best to default to being secure even if boto changes
http libraries to one that happens to follow redirects.
This commit is contained in:
Joey Hess 2018-06-21 14:14:56 -04:00
parent 838b65bd6b
commit f1b29dbeb4
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -56,8 +56,10 @@ gen r u c gc = new <$> remoteCost gc veryExpensiveRemoteCost
, retrieveKeyFile = retreiveKeyFileDummy
, retrieveKeyFileCheap = retrieveCheap this
-- glacier-cli does not follow redirects and does
-- not support file://, so this is secure.
, retrievalSecurityPolicy = RetrievalAllKeysSecure
-- not support file://, as far as we know, but
-- there's no guarantee that will continue to be
-- the case, so require verifiable keys.
, retrievalSecurityPolicy = RetrievalVerifiableKeysSecure
, removeKey = removeKeyDummy
, lockContent = Nothing
, checkPresent = checkPresentDummy