Hi!

First post here, long time emacs user, I hope I understood the rules correctly.

I'm trying to use pkcs11 client authentication from within emacs (the new way if possible, i.e. without disabling the internal gnutls support).

On the command line it's possible to use client certificates from a hardware token via e.g --provider /usr/lib64/libeTPkcs11.so and by passing the appropriate strings for --x509certfile= and --x509keyfile (obtained via p11tool).

From https://www.gnu.org/software/emacs/manual/html_mono/auth.html#Help-for-users I gather that it should be possible to set those strings in ~/.authinfo.gpg but I guess the only thing that's missing would be the --provider switch. Any idea how to add that one?

Thanks in advance for any kind of suggestion!

submitted by /u/TauPanAka
[link] [comments]