From e90e36ae106b4c6ff30a6ce0c0b1d03a5615a363 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 2 Mar 2017 18:19:58 +0100 Subject: request key from user keyring --- udev/ykfde.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'udev') 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 */ -- cgit v1.2.3-70-g09d2