afs: Use rxgk RESPONSE to pass token for callback channel
authorDavid Howells <dhowells@redhat.com>
Fri, 11 Apr 2025 09:52:57 +0000 (10:52 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 15 Apr 2025 00:36:42 +0000 (17:36 -0700)
commitd98c317fd9aa78dfa45e47deb6536cd35783afd1
tree0503e2913c1082d5fc50cfdd903a868cb323c796
parentd03539d5c2dec9b028297c15e57bd3c01d0d9c0d
afs: Use rxgk RESPONSE to pass token for callback channel

Implement in kafs the hook for adding appdata into a RESPONSE packet
generated in response to an RxGK CHALLENGE packet, and include the key for
securing the callback channel so that notifications from the fileserver get
encrypted.

This will be necessary when more complex notifications are used that convey
changed data around.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Marc Dionne <marc.dionne@auristor.com>
cc: Simon Horman <horms@kernel.org>
cc: linux-afs@lists.infradead.org
Link: https://patch.msgid.link/20250411095303.2316168-13-dhowells@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
fs/afs/Kconfig
fs/afs/cm_security.c
fs/afs/internal.h
fs/afs/rxrpc.c
fs/afs/server.c