Skip to content
Snippets Groups Projects
Commit 67dd6fd9 authored by Jean-Paul Calderone's avatar Jean-Paul Calderone
Browse files

almost-passing test for decrypting a Tahoe-LAFS-encoded share

The trick is that we don't use the IV to initialize CTR mode, we only use it
to derive the data encryption key and then use the zero IV to initialize CTR
mode.  (So is it an IV?  Not really I guess.)

The failure is due to incorrect handling of padding somewhere so we get extra
bytes on the recovered ciphertext/plaintext.
parent a501ffb0
1 merge request!7Implement enough encryption and encoding to be able to read plaintext from Tahoe-LAFS-generated SDMF shares
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment