From 1f09ad3366f67ee2df978d538030393896ed8cd1 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Tue, 21 Feb 2023 10:08:34 +0200 Subject: [PATCH] gnupg: attempt enabling fineid support Based on https://gist.github.com/pyllyukko/a1ed6baa6b638b805a30b16960399e94 --- gpg/gnupg-pkcs11-scd.conf | 3 +++ gpg/gpg-agent.conf | 4 ++++ 2 files changed, 7 insertions(+) create mode 100644 gpg/gnupg-pkcs11-scd.conf diff --git a/gpg/gnupg-pkcs11-scd.conf b/gpg/gnupg-pkcs11-scd.conf new file mode 100644 index 00000000..6ac4a1ac --- /dev/null +++ b/gpg/gnupg-pkcs11-scd.conf @@ -0,0 +1,3 @@ +# FINEID https://gist.github.com/pyllyukko/a1ed6baa6b638b805a30b16960399e94 +providers p1 +provider-p1-library /usr/lib64/libcryptoki.so diff --git a/gpg/gpg-agent.conf b/gpg/gpg-agent.conf index 8181215c..86cd0133 100644 --- a/gpg/gpg-agent.conf +++ b/gpg/gpg-agent.conf @@ -10,3 +10,7 @@ no-grab # want to type my password so often just to see encrypted facebook emails. default-cache-ttl 7200 default-cache-ttl-ssh 7200 + +# FINEID, Fedora: gnupg-pkcs11-scd +# https://gist.github.com/pyllyukko/a1ed6baa6b638b805a30b16960399e94 +scdaemon-program /usr/bin/gnupg-pkcs11-scd