]> git.baikalelectronics.ru Git - kernel.git/commit
keys: Invalidate used request_key authentication keys
authorDavid Howells <dhowells@redhat.com>
Wed, 19 Jun 2019 15:10:15 +0000 (16:10 +0100)
committerDavid Howells <dhowells@redhat.com>
Wed, 19 Jun 2019 15:10:15 +0000 (16:10 +0100)
commit0d42a506854ebfb218091536745ecbfa7a243d65
tree73413808f4345d629c7e0460cd1b3ad06a7fdcdd
parent5bb5dd18f8de5b0f8340c5dfbac64c07e849fe92
keys: Invalidate used request_key authentication keys

Invalidate used request_key authentication keys rather than revoking them
so that they get cleaned up immediately rather than potentially hanging
around.  There doesn't seem any need to keep the revoked keys around.

Signed-off-by: David Howells <dhowells@redhat.com>
security/keys/key.c
security/keys/request_key.c