mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Allow multiple keyspecs in one environment variable
@ 2026-02-18 12:14 Jonas Rebmann
  2026-02-18 12:14 ` [PATCH v2 1/2] crypto: keytoc: Split env-provided full keyspec on spaces Jonas Rebmann
  2026-02-18 12:14 ` [PATCH v2 2/2] Documentation: migration-guides: Document change in keyspec env vars Jonas Rebmann
  0 siblings, 2 replies; 5+ messages in thread
From: Jonas Rebmann @ 2026-02-18 12:14 UTC (permalink / raw)
  To: Sascha Hauer, BAREBOX; +Cc: Ahmad Fatoum, Jonas Rebmann

This contains the actual change to keytoc as well a migration Note.

Allowing any number of public keys to be provided via a single
environment variable eases integration in more complex setups where
multiple public keys per keyring are managed externally.

Signed-off-by: Jonas Rebmann <jre@pengutronix.de>
---
Changes in v2:
- Split up the keyspec environment variables when multiple are provided
  too.
- Use strsep_unescape instead of manual split/unescape
- Remove RFC tag
- Link to v1: https://lore.barebox.org/barebox/20260206-keytoc-multi-env-v1-1-638fbf2b3634@pengutronix.de

---
Jonas Rebmann (2):
      crypto: keytoc: Split env-provided full keyspec on spaces
      Documentation: migration-guides: Document change in keyspec env vars

 .../migration-guides/migration-master.rst          | 17 ++++++
 scripts/include/linux/string.h                     |  2 +-
 scripts/include/string_util.h                      | 65 ++++++++++++++++++++
 scripts/keytoc.c                                   | 71 +++++++++++++++-------
 4 files changed, 132 insertions(+), 23 deletions(-)
---
base-commit: 74393178faf08f8102c7c370ac310c29112e1137
change-id: 20260206-keytoc-multi-env-4a3300292e4a

Best regards,
--  
Jonas Rebmann <jre@pengutronix.de>




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

end of thread, other threads:[~2026-02-19 11:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-18 12:14 [PATCH v2 0/2] Allow multiple keyspecs in one environment variable Jonas Rebmann
2026-02-18 12:14 ` [PATCH v2 1/2] crypto: keytoc: Split env-provided full keyspec on spaces Jonas Rebmann
2026-02-18 12:55   ` Marco Felsch
2026-02-19 11:43     ` Jonas Rebmann
2026-02-18 12:14 ` [PATCH v2 2/2] Documentation: migration-guides: Document change in keyspec env vars Jonas Rebmann

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