commit | 93052ad750f2af1cc9b592005cfb95880dc44f4a | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Fri Aug 16 12:24:52 2019 +0100 |
committer | David Howells <dhowells@redhat.com> | Mon Aug 19 15:40:48 2019 +0100 |
tree | a8e429da991cfb485058287a369db80f29eca00f | |
parent | 1274bc7020f934072f112d9a43a9db0265438a5f [diff] |
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>