aboutsummaryrefslogtreecommitdiffstats
path: root/udev
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2017-03-02 18:19:58 +0100
committerGravatar Christian Hesse <mail@eworm.de>2017-03-02 18:19:58 +0100
commite90e36ae106b4c6ff30a6ce0c0b1d03a5615a363 (patch)
tree4cc23f4623773f48c83f028c82efdd3bdf3780b6 /udev
parent29e7a206cd70c72823d27c2e5f5db3b55a41e28d (diff)
downloadmkinitcpio-ykfde-e90e36ae106b4c6ff30a6ce0c0b1d03a5615a363.tar.gz
mkinitcpio-ykfde-e90e36ae106b4c6ff30a6ce0c0b1d03a5615a363.tar.zst
request key from user keyring
Diffstat (limited to 'udev')
-rw-r--r--udev/ykfde.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/ykfde.c b/udev/ykfde.c
index 98ca946..7460140 100644
--- a/udev/ykfde.c
+++ b/udev/ykfde.c
@@ -131,7 +131,7 @@ static int try_answer(const unsigned int serial, uint8_t slot, const char * ask_
/* get second factor from key store
* if this fails it is not critical... possibly we just do not
* use second factor */
- key = request_key("user", "ykfde-2f", NULL, 0);
+ key = request_key("user", "ykfde-2f", NULL, KEY_SPEC_USER_KEYRING);
if (key > 0) {
/* if we have a key id we have a key - so this should succeed */