set ddar to RetrievalAllKeysSecure

Based on information from Robie Basak.
This commit is contained in:
Joey Hess 2018-06-21 16:38:47 -04:00
parent 4a89728d64
commit 05ecee0db4
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -58,8 +58,9 @@ gen r u c gc = do
, storeKey = storeKeyDummy
, retrieveKeyFile = retreiveKeyFileDummy
, retrieveKeyFileCheap = retrieveCheap
-- Unsure about this, safe default until Robie answers.
, retrievalSecurityPolicy = RetrievalVerifiableKeysSecure
-- ddar communicates over ssh, not subject to http redirect
-- type attacks
, retrievalSecurityPolicy = RetrievalAllKeysSecure
, removeKey = removeKeyDummy
, lockContent = Nothing
, checkPresent = checkPresentDummy