All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] LUKS2 cleanups
@ 2020-04-07 16:02 Patrick Steinhardt
  2020-04-07 16:02 ` [PATCH 1/2] luks2: Improve error reporting when decrypting/verifying key Patrick Steinhardt
  2020-04-07 16:02 ` [PATCH 2/2] json: Update jsmn library to get rid of casts Patrick Steinhardt
  0 siblings, 2 replies; 10+ messages in thread
From: Patrick Steinhardt @ 2020-04-07 16:02 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 784 bytes --]

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(-)

-- 
2.26.0


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2020-04-16 10:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-07 16:02 [PATCH 0/2] LUKS2 cleanups Patrick Steinhardt
2020-04-07 16:02 ` [PATCH 1/2] luks2: Improve error reporting when decrypting/verifying key Patrick Steinhardt
2020-04-14 18:12   ` Daniel Kiper
2020-04-15 20:52     ` Patrick Steinhardt
2020-04-16  9:52       ` Daniel Kiper
2020-04-16 10:03         ` Patrick Steinhardt
2020-04-07 16:02 ` [PATCH 2/2] json: Update jsmn library to get rid of casts Patrick Steinhardt
2020-04-14 18:19   ` Daniel Kiper
2020-04-15 20:55     ` Patrick Steinhardt
2020-04-16  9:44       ` Daniel Kiper

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.