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)
commita09003b5d7cea71ce4b59e409d5a7158c789e1b4
tree73413808f4345d629c7e0460cd1b3ad06a7fdcdd
parent504b69eb3c95180bc59f1ae9096ad4b10bbbf254
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