1. 24 Apr, 2015 2 commits
    • jknockaert's avatar
      Update encryption.php · 17565625
      jknockaert authored
      17565625
    • jknockaert's avatar
      fix encryption header error · 735f6cc0
      jknockaert authored
      When moving back the pointer to position 0 (using stream_seek), the pointer on the encrypted stream will be moved to the position immediately after the header. Reading the header again (invoked by stream_read) will cause an error, writing the header again (invoked by stream_write) will corrupt the file. Reading/writing the header should therefore happen when opening the file rather than upon read or write. Note that a side-effect of this PR is that empty files will still get an encryption header; I think that is OK, but it is different from how it was originally implemented.
      735f6cc0
  2. 21 Apr, 2015 1 commit
  3. 20 Apr, 2015 2 commits
  4. 16 Apr, 2015 1 commit
  5. 07 Apr, 2015 14 commits
  6. 26 Mar, 2015 1 commit