Add a symbolic ID to numeric ID keyctl command

Add a keyctl command to look up a symbolic key ID (such as "@s") or a named
reference (such as "%user:foo") and return the numeric ID for the key or
keyring, eg:

	$ keyctl id @s
	259509209

The command will also just convert numeric IDs to themselves.

Signed-off-by: David Howells <dhowells@redhat.com>
6 files changed