diff options
author | Peter Wu <peter@lekensteyn.nl> | 2018-12-12 14:34:00 +0100 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2018-12-29 10:40:16 +0000 |
commit | ac58eafa3223ef40b9b60765b0b3d118f338fffc (patch) | |
tree | 8403b9749b31cd0f3a1baab3f5dac1072980f1ae /cmakeconfig.h.in | |
parent | 53d8e6dcf8c639a13f8c52a11df829b854c1b9ac (diff) | |
download | wireshark-ac58eafa3223ef40b9b60765b0b3d118f338fffc.tar.gz wireshark-ac58eafa3223ef40b9b60765b0b3d118f338fffc.tar.bz2 wireshark-ac58eafa3223ef40b9b60765b0b3d118f338fffc.zip |
Add support for RSA decryption using PKCS #11 tokens
Add support for loading RSA private key files from PKCS #11 tokens,
identified by PKCS #11 URIs. Add a new 'pkcs11_libs' UAT which can
dynamically load PKCS #11 provider libraries that are not found by
p11-kit.
The configuration GUI will need additional code to discover available
PKCS #11 tokens and will be added later.
This feature requires GnuTLS 3.4 with PKCS #11 support, so Windows,
macOS via Homebrew, Ubuntu 16.04, Debian Stretch. Not supported: RHEL7.
Currently macOS via official packages disables PKCS #11 support, so that
will also not work.
Change-Id: I20646bfd69c6bd13c8c2d27cb65c164a4b0b7a66
Reviewed-on: https://code.wireshark.org/review/30855
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'cmakeconfig.h.in')
-rw-r--r-- | cmakeconfig.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in index 5adaab7121..e5bc4a1937 100644 --- a/cmakeconfig.h.in +++ b/cmakeconfig.h.in @@ -112,6 +112,9 @@ /* Define to use GnuTLS library */ #cmakedefine HAVE_LIBGNUTLS 1 +/* Define to 1 if GnuTLS was built with pkcs11 support. */ +#cmakedefine HAVE_GNUTLS_PKCS11 1 + /* Enable libnl support */ #cmakedefine HAVE_LIBNL 1 |