REQUEST-KEY(8)
๐ REQUEST-KEY ๐
okay so bestie, this is the request-key page from the Linux Key Management Utilities section 8 (admin/system commands, iykyk). it's a kernel-callback situation and honestly it's giving backstage-pass energy โ let's get into it ๐
โจ NAME โจ
request-key โ the lil program that handles key instantiation callback requests from the kernel ๐ซถ
๐ธ SYNOPSIS ๐ธ
/sbin/request-key <op> <key> <uid> <gid> <threadring> <processring>
<sessionring> [<info>]
๐ DESCRIPTION ๐
so the kernel calls this program when someone asks it for a key and the kernel literally doesn't have it on hand. the kernel whips up a partially set up key, then calls out to this program to instantiate it. that's the whole vibe. it is not intended to be called directly โ no cap, this is not a "you, personally, typing in a terminal" situation ๐
however โ and this is the fun part โ for debugging purposes, it can be given some options on the command line:
-dโ turns on debugging mode. in this mode, no attempts are made to access any keys and, if a handler program is selected, it won't be executed; instead, this program will print a message and exit0. so it's all talk, zero action, iconic honestly ๐-Dโ in debugging mode, use the proposed key description specified with this rather than the sample ("user;0;0;1f0000;debug:1234") built into the program. like, use your fake key description instead of the built-in fake one โจ-lโ use configuration from the current directory. the program will userequest-key.d/*andrequest-key.conffrom the current directory rather than from/etc. stay local, stay cozy ๐-nโ don't log to the system log. ordinarily, error messages and debugging messages will be copied to the system log โ this will prevent that. shy mode activated ๐คซ-vโ turn on debugging output. this may be specified multiple times to produce increasing levels of verbosity. stack it, girl, get as loud as you want ๐ฅ--versionโ print the program version and exit. just a quick "hi, who am I" moment ๐
๐ ERRORS ๐
all errors will be logged to the syslog. every single one. the syslog knows everything ๐ญ
๐ฆ FILES ๐ฆ
/etc/request-key.d/*.confโ individual configuration files ๐ธ/etc/request-key.confโ fallback configuration file ๐
โญ SEE ALSO โญ
go read those next, bestie, the lore runs deep ๐ง
ngl,-dand-Dare your besties if you're poking at this โ they let you see what would happen without actually touching any keys. use them, don't raw-dog a kernel callback ๐
mwah ๐ this page is from the Linux Key Management Utilities, dated 15 Nov 2011, and it's REQUEST-KEY(8) in the man pages โ old but iconic, periodt ๐
๐ฆ where this page comes from
- alpine 3.22: keyutils-doc 1.6.3-r4 ยท GPL-2.0-or-later AND LGPL-2.0-or-later
- alpine 3.23: keyutils-doc 1.6.3-r4 ยท GPL-2.0-or-later AND LGPL-2.0-or-later
- alpine 3.24: keyutils-doc 1.6.3-r4 ยท GPL-2.0-or-later AND LGPL-2.0-or-later
- arch rolling: keyutils 1.6.3-4 ยท GPL-2.0-or-later AND LGPL-2.1-or-later
- centos-stream 10: keyutils 1.6.3-5.el10 ยท GPL-2.0-or-later AND LGPL-2.1-or-later
- centos-stream 9: keyutils 1.6.3-1.el9 ยท GPLv2+ and LGPLv2+
- fedora 43: keyutils 1.6.3-6.fc43 ยท GPL-2.0-or-later AND LGPL-2.1-or-later
- fedora 44: keyutils 1.6.3-7.fc44 ยท GPL-2.0-or-later AND LGPL-2.1-or-later
- nixpkgs unstable: keyutils 1.6.3
- opensuse-leap 16.0: keyutils 1.6.3-160000.3.2 ยท GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: keyutils 1.6.3-160000.3.2 ยท GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: keyutils 1.6.3-160000.3.2 ยท GPL-2.0-or-later AND LGPL-2.1-or-later
- opensuse-leap 16.0: keyutils 1.6.3-160000.3.2 ยท GPL-2.0-or-later AND LGPL-2.1-or-later
- Copyright (C) 2004 Red Hat, Inc. All Rights Reserved
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms