add_to_platform_keyring(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ add_to_platform_keyring ✨

okay so this is add_to_platform_keyring(9) from the Kernel API Manual β€” the function that adds to the platform keyring with no validation. bestie, it’s literally right there in the name, no cap. πŸ’–


🌸 NAME 🌸

add_to_platform_keyring β€” Add to platform keyring without validation. like, zero validation, periodt. πŸ’…

✨ SYNOPSIS ✨

void add_to_platform_keyring (const char *source , const void *data ,
       size_t len );

πŸŽ€ ARGUMENTS πŸŽ€

  • source β€” Source of key. yes bestie, where the key is coming from. πŸ’«
  • data β€” The blob holding the key. the actual key-ish payload, in blob form. 🫢
  • len β€” The length of the data blob. gotta know how much blob you’re blobbing. 🌸

πŸ’… DESCRIPTION πŸ’…

Add a key to the platform keyring without checking its trust chain. no trust-chain check, no extra layers β€” it just adds the key. This is available only during kernel initialisation, so it’s a very specific-season kind of function, iykyk. ✨

heads up bestie: it’s available only during kernel initialisation β€” that’s the rule. πŸ‘‘

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./security/integrity/platform_certs/platform_keyring.c β€” the source file, literally right there. go look if you want the full lore. πŸ’œ

mwah πŸ’‹ β€” this is the add_to_platform_keyring(9) page, source/version ./security/integrity/platform_..., dated October 2026. slay, bye bestie! πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from