This commit is contained in:
Joey Hess 2013-09-04 22:53:58 -04:00
parent 2b9f3cc175
commit ce53acf4fe

View file

@ -917,7 +917,7 @@ test_crypto env = "git-annex crypto" ~: TestList $ flip map ["shared","hybrid","
annexed_present annexedfile
where
{- Ensure the configuration complies with the encryption scheme, and
- that all keys are encrypted properly on the given directory remote. -}
- that all keys are encrypted properly for the given directory remote. -}
testEncryptedRemote scheme ks c keys = case Remote.Helper.Encryptable.extractCipher c of
Just cip@Crypto.SharedCipher{} | scheme == "shared" && isNothing ks ->
checkKeys cip Nothing