mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] X.509: Accept a certificate with an empty subject
@ 2026-11-12  7:42 Laveesh Bansal
  2026-11-12  7:42 ` [PATCH 1/2] " Laveesh Bansal
  2026-11-12  7:42 ` [PATCH 2/2] X.509: Add KUnit tests for the certificate parser Laveesh Bansal
  0 siblings, 2 replies; 4+ messages in thread
From: Laveesh Bansal @ 2026-11-12  7:42 UTC (permalink / raw)
  To: David Howells, Herbert Xu
  Cc: Lukas Wunner, Ignat Korchagin, David S . Miller, Denis Kenzior,
	Maximilian Stahlberg, keyrings, linux-crypto, linux-kernel

Patch 1 fixes loading a certificate with an empty Subject, which iwd
hits with an eduroam server certificate [1]. Patch 2 adds a KUnit test
for it.

I developed this series using an LLM coding assistant.

[1] https://lore.kernel.org/r/9b05b89cf296b8a6392bbe6327228c1bc2f05c49.camel@uni-bremen.de


Laveesh Bansal (2):
  X.509: Accept a certificate with an empty subject
  X.509: Add KUnit tests for the certificate parser

 crypto/asymmetric_keys/Kconfig            |  11 ++
 crypto/asymmetric_keys/Makefile           |   1 +
 crypto/asymmetric_keys/x509.asn1          |   8 +-
 crypto/asymmetric_keys/x509_parser_test.c | 160 ++++++++++++++++++++++
 4 files changed, 179 insertions(+), 1 deletion(-)
 create mode 100644 crypto/asymmetric_keys/x509_parser_test.c

-- 
2.54.0


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

end of thread, other threads:[~2026-11-12  8:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-12  7:42 [PATCH 0/2] X.509: Accept a certificate with an empty subject Laveesh Bansal
2026-11-12  7:42 ` [PATCH 1/2] " Laveesh Bansal
2026-11-12  8:09   ` Eric Biggers
2026-11-12  7:42 ` [PATCH 2/2] X.509: Add KUnit tests for the certificate parser Laveesh Bansal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®