1. 13 Dec, 2018 1 commit
  2. 12 Dec, 2018 6 commits
  3. 11 Dec, 2018 2 commits
  4. 06 Dec, 2018 2 commits
  5. 05 Dec, 2018 4 commits
  6. 04 Dec, 2018 3 commits
  7. 03 Dec, 2018 4 commits
  8. 02 Dec, 2018 2 commits
  9. 29 Nov, 2018 5 commits
    • Ondrej Kozina's avatar
      Update LUKS2 test images. · 4b64ffc3
      Ondrej Kozina authored
      - update test images for validation fixes
        from previous commits
      
      - erase leftover json data in between secondary
        header and keyslot areas.
      4b64ffc3
    • Ondrej Kozina's avatar
      Remove redundant check in keyslot areas validation. · e297cc4c
      Ondrej Kozina authored
      Due to previous fix it's no longer needed to add
      all keyslot area lengths and check if result sum
      is lower than keyslots_size.
      
      (We already check lower limit, upper limit and
      overlapping areas)
      e297cc4c
    • Ondrej Kozina's avatar
      Fix keyslot areas validation. · 9ab63c58
      Ondrej Kozina authored
      This commit fixes two problems:
      
      a) Replace hardcoded 16KiB metadata variant as lower limit
         for keyslot area offset with current value set in config
         section (already validated).
      
      b) Replace segment offset (if not zero) as upper limit for
         keyslot area offset + size with value calculated as
         2 * metadata size + keyslots_size as acquired from
         config section (also already validated)
      9ab63c58
    • Ondrej Kozina's avatar
      Reshuffle config and keyslots areas validation code. · 3c0aceb9
      Ondrej Kozina authored
      Swap config and keyslot areas validation code order.
      
      Also split original keyslots_size validation code in
      between config and keyslot areas routines for furhter
      changes in the code later. This commit has no funtional
      impact.
      3c0aceb9
    • Ondrej Kozina's avatar
      Do not validate keyslot areas so frantically. · d7bd3d2d
      Ondrej Kozina authored
      Keyslot areas were validated from each keyslot
      validation routine and later one more time
      in general header validation routine. The call
      from header validation routine is good enough.
      d7bd3d2d
  10. 27 Nov, 2018 8 commits
  11. 26 Nov, 2018 3 commits