1. 03 Apr, 2020 2 commits
  2. 01 Apr, 2020 1 commit
  3. 23 Mar, 2020 2 commits
  4. 20 Mar, 2020 1 commit
  5. 19 Mar, 2020 1 commit
    • Milan Broz's avatar
      Workaround for verity FEC test. · fc48f9bc
      Milan Broz authored
      Threre asre some situatiuoins when randomized image is nor repairable
      by FEC data. Let's use completely deterministic image creation (fixed salt and uuid).
      
      FIXME: The FEC Reed-Solomon code is doing something strange here, this
      kind of erasure should be always repairable.
      fc48f9bc
  6. 16 Mar, 2020 1 commit
    • Milan Broz's avatar
      Fix Veracrypt compatible support for longer passphrases. · 2eb25910
      Milan Broz authored
      Previous fix for longer passhphrases increased maximal
      passphrase length even if it was not needed, for example
      if used with SHA256 hash in combination with keyfiles.
      
      This patch tries to fix the problem, so some older volumes
      can be opened again.
      
      Also some test images are added for regression testing.
      
      Fixes: #542.
      2eb25910
  7. 12 Mar, 2020 2 commits
  8. 10 Mar, 2020 2 commits
  9. 09 Mar, 2020 9 commits
  10. 08 Mar, 2020 1 commit
  11. 01 Mar, 2020 3 commits
  12. 27 Feb, 2020 1 commit
  13. 21 Feb, 2020 10 commits
  14. 20 Feb, 2020 2 commits
  15. 19 Feb, 2020 1 commit
    • Ondrej Kozina's avatar
      Return -EINVAL when validation fails. · 7499d9f2
      Ondrej Kozina authored
      LUKS2_hdr_validate() returns positive integer on error. Replace returned
      value with negative errno instead so that failed upconversion stops
      sooner. It failed anyway but debug messages were misleading.
      7499d9f2
  16. 17 Feb, 2020 1 commit
    • Ondrej Kozina's avatar
      Properly align LUKS2 keyslots area on conversion. · ba6e6f05
      Ondrej Kozina authored
      If LUKS1 payload offset (data offset) is not aligned to
      4KiB we create unaligned keyslots area in LUKS2 metadata
      during upconversion. Unaligned keyslots area is not valid
      from LUKS2 perspective. Fix it by properly aligning future
      keyslots area and also check if LUKS1 keyslots area fit
      in the new one.
      
      Fixes: #534.
      ba6e6f05