Skip to content

LUKS2 cleanups

Patrick Steinhardt grub-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2luks2: Improve error reporting when decrypting/verifying keygrub-core/disk/luks2.c+5 -34 replies
2/2json: Update jsmn library to get rid of castsgrub-core/lib/json/jsmn.h grub-core/lib/json/json.c grub-core/lib/json/json.h+12 -73 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] LUKS2 cleanups

Hi,

here's two small improvements for LUKS2 support:

- The first patch introduces better error reporting, as I've noticed it's quite hard to determine why decryption failed in case there's any misconfiguration.

- The second is a result of my upstream pull request in jsmn, which got accepted last week. As a result, we can now remove all the jmntok_t casts in our json library.

Patrick

Patrick Steinhardt (2):
luks2: Improve error reporting when decrypting/verifying key
json: Update jsmn library to get rid of casts

 grub-core/disk/luks2.c    | 8 +++++---
 grub-core/lib/json/jsmn.h | 7 +++++--
 grub-core/lib/json/json.c | 8 ++++----
 grub-core/lib/json/json.h | 4 +++-
 4 files changed, 17 insertions(+), 10 deletions(-)
Signature · 1 line
2.26.0