aboutsummaryrefslogtreecommitdiffstats
path: root/ui/qt/rsa_keys_frame.cpp
AgeCommit message (Collapse)AuthorFilesLines
2019-01-31Fix build without GnuTLSPeter Wu1-2/+6
The RSA Keys API and GUI are only functional when GnuTLS support is available. Be sure to hide the functions in the header and hide the preferences panel when GnuTLS support is missing. Change-Id: I0a52ab142c4d45b8186780ea9b1645542dcc6305 Fixes: v2.9.1rc0-585-gec8f506c4b ("Qt: add initial RSA Keys preference frame") Reviewed-on: https://code.wireshark.org/review/31837 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-01-29Qt: Add support for RSA private key file selectionPeter Wu1-0/+36
Update release notes now that this GUI is mostly functional. Change-Id: I118fbbe879e366643084f0e7ac3e437a29f21d5f Reviewed-on: https://code.wireshark.org/review/31797 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-01-29Qt: implement addition of a new pkcs11 token in the RSA Keys dialogPeter Wu1-0/+105
Load the list of key URIs, strip known keys, ask for a PIN, add valid results to the list. Apply this list on pressing OK in the preferences dialog or revert the changes on pressing Cancel. Change-Id: Id48cd9b876b4d272eb6dbdadf8a0859190cc0ce8 Reviewed-on: https://code.wireshark.org/review/31796 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2019-01-29Qt: add initial RSA Keys preference framePeter Wu1-0/+141
The RSA Keys frame is intended to configure RSA keys (both key files and PKCS #11 tokens). Add a new "RSA Keys" item to the preferences menu. Implement addition and removal of PKCS #11 libraries and add an initial version that displays configured RSA keys. The "Add new token…" button will be implemented later. Change-Id: Ie5b9eb403afc7bebeb7be8bd53d4d4b30842204c Reviewed-on: https://code.wireshark.org/review/31795 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Gerald Combs <gerald@wireshark.org> Reviewed-by: Peter Wu <peter@lekensteyn.nl>