From: Patrick Steinhardt <ps@pks.im>
To: grub-devel@gnu.org
Subject: [PATCH 0/2] LUKS2 cleanups
Date: Tue, 7 Apr 2020 18:02:18 +0200 [thread overview]
Message-ID: <cover.1586274919.git.ps@pks.im> (raw)
[-- 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 --]
next reply other threads:[~2020-04-07 16:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-07 16:02 Patrick Steinhardt [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1586274919.git.ps@pks.im \
--to=ps@pks.im \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.