fix reversion in getting from unchunked encrypted special remotes
Have to use the object file for the encrypted key, not the unencrypted
key.
Bug introduced in 835283b862
This commit is contained in:
parent
63b33750c9
commit
9db69a4c2c
3 changed files with 7 additions and 1 deletions
|
@ -328,7 +328,9 @@ retrieveChunks retriever u vc chunkconfig encryptor basek dest basep enc encc
|
|||
iv <- startVerifyKeyContentIncrementally vc basek
|
||||
case enc of
|
||||
Just _ -> do
|
||||
retriever (encryptor basek) basep (toRawFilePath dest) Nothing $
|
||||
let enck = encryptor basek
|
||||
objloc <- fromRepo $ gitAnnexTmpObjectLocation enck
|
||||
retriever (encryptor basek) basep objloc Nothing $
|
||||
retrieved iv Nothing basep
|
||||
return (Right iv)
|
||||
-- Not chunked and not encrypted, so ask the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue