]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
psp: add op for rotation of device key
authorJakub Kicinski <kuba@kernel.org>
Wed, 17 Sep 2025 00:09:32 +0000 (17:09 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 18 Sep 2025 10:32:06 +0000 (12:32 +0200)
commit117f02a49b7719b210d154a0d0e728001bf4af06
treeb5dd5c8e2ef3033a224b63e4149d4b4622a8c647
parent659a2899a57da59f433182eba571881884d6323e
psp: add op for rotation of device key

Rotating the device key is a key part of the PSP protocol design.
Some external daemon needs to do it once a day, or so.
Add a netlink op to perform this operation.
Add a notification group for informing users that key has been
rotated and they should rekey (next rotation will cut them off).

Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Daniel Zahka <daniel.zahka@gmail.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Link: https://patch.msgid.link/20250917000954.859376-6-daniel.zahka@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Documentation/netlink/specs/psp.yaml
include/net/psp/types.h
include/uapi/linux/psp.h
net/psp/psp-nl-gen.c
net/psp/psp-nl-gen.h
net/psp/psp_main.c
net/psp/psp_nl.c