rxrpc: Don't leak the service-side session key to userspace
authorDavid Howells <dhowells@redhat.com>
Sun, 27 Sep 2020 10:07:21 +0000 (11:07 +0100)
committerDavid Howells <dhowells@redhat.com>
Mon, 23 Nov 2020 18:09:29 +0000 (18:09 +0000)
commitd2ae4e918218f543214fbd906db68a6c580efbbb
treeb240ab494a23255f2f8b59bd682c33420675fdd3
parent12da59fcab5a05d01773e7cb413b8b8f3bb4e334
rxrpc: Don't leak the service-side session key to userspace

Don't let someone reading a service-side rxrpc-type key get access to the
session key that was exchanged with the client.  The server application
will, at some point, need to be able to read the information in the ticket,
but this probably shouldn't include the key material.

Signed-off-by: David Howells <dhowells@redhat.com>
include/keys/rxrpc-type.h
net/rxrpc/key.c