Files
systemd/src/cryptenroll
Kai Lüke 5713f1e55e cryptsetup: Skip tokens with JSON parsing errors
The plugin already continues on parsing errors but the fallback path
not. The plugin swallows ENOMEM as well which is too much, though.
Continue on JSON parsing errors by mapping them to EUCLEAN in
cryptsetup_get_token_as_json and handle that in any call site, not just
the TPM fallback path but also others.

(cherry picked from commit 7fb6b9c2a2)
2026-07-19 22:34:05 +01:00
..