remote.name.annex-security-allow-unverified-downloads
Added remote.name.annex-security-allow-unverified-downloads, a per-remote setting for annex.security.allow-unverified-downloads. This commit was sponsored by Brock Spratlen on Patreon.
This commit is contained in:
parent
177e45517f
commit
bc31b93c77
8 changed files with 27 additions and 6 deletions
|
@ -51,7 +51,7 @@ gen r u c gc = do
|
|||
, retrieveKeyFileCheap = retrieveCheap hooktype
|
||||
-- A hook could use http and be vulnerable to
|
||||
-- redirect to file:// attacks, etc.
|
||||
, retrievalSecurityPolicy = RetrievalVerifiableKeysSecure
|
||||
, retrievalSecurityPolicy = mkRetrievalVerifiableKeysSecure gc
|
||||
, removeKey = removeKeyDummy
|
||||
, lockContent = Nothing
|
||||
, checkPresent = checkPresentDummy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue