keepassxc/src/core
Jonathan White 80809ace67 Replace all crypto libraries with Botan
Selected the [Botan crypto library](https://github.com/randombit/botan) due to its feature list, maintainer support, availability across all deployment platforms, and ease of use. Also evaluated Crypto++ as a viable candidate, but the additional features of Botan (PKCS#11, TPM, etc) won out.

The random number generator received a backend upgrade. Botan prefers hardware-based RNG's and will provide one if available. This is transparent to KeePassXC and a significant improvement over gcrypt.

Replaced Argon2 library with built-in Botan implementation that supports i, d, and id. This requires Botan 2.11.0 or higher. Also simplified the parameter test across KDF's.

Aligned SymmetricCipher parameters with available modes. All encrypt and decrypt operations are done in-place instead of returning new objects. This allows use of secure vectors in the future with no additional overhead.

Took this opportunity to decouple KeeShare from SSH Agent. Removed leftover code from OpenSSHKey and consolidated the SSH Agent code into the same directory. Removed bcrypt and blowfish inserts since they are provided by Botan.

Additionally simplified KeeShare settings interface by removing raw certificate byte data from the user interface. KeeShare will be further refactored in a future PR.

NOTE: This PR breaks backwards compatibility with KeeShare certificates due to different RSA key storage with Botan. As a result, new "own" certificates will need to be generated and trust re-established.

Removed YKChallengeResponseKeyCLI in favor of just using the original implementation with signal/slots.

Removed TestRandom stub since it was just faking random numbers and not actually using the backend. TestRandomGenerator now uses the actual RNG.

Greatly simplified Secret Service plugin's use of crypto functions with Botan.
2021-04-05 22:56:03 -04:00
..
Alloc.cpp Replace all crypto libraries with Botan 2021-04-05 22:56:03 -04:00
AsyncTask.h Introduce AsyncTask::runThenCallback 2020-09-27 15:25:27 -04:00
AutoTypeAssociations.cpp Introduce synchronize merge method 2018-09-30 09:36:39 -04:00
AutoTypeAssociations.h Introduce synchronize merge method 2018-09-30 09:36:39 -04:00
Base32.cpp Improve Base32.cpp 2017-11-12 12:09:35 -06:00
Base32.h Replace Optional with QVariant 2017-10-21 13:15:02 +02:00
Bootstrap.cpp Remove GUI bootstraping from core/ (#5513) 2020-10-08 22:48:45 -04:00
Bootstrap.h Remove GUI bootstraping from core/ (#5513) 2020-10-08 22:48:45 -04:00
Clock.cpp Correct issues with hiding and minimizing the MainWindow 2020-02-27 23:25:44 -05:00
Clock.h Correct issues with hiding and minimizing the MainWindow 2020-02-27 23:25:44 -05:00
Compare.cpp Removing QColor (from Qt::Widgets) from core modules. (#4247) 2020-01-26 21:38:43 -05:00
Compare.h Removing QColor (from Qt::Widgets) from core modules. (#4247) 2020-01-26 21:38:43 -05:00
Config.cpp Remove credential sorting from Browser Integration (#6353) 2021-03-31 23:14:29 -04:00
Config.h Remove credential sorting from Browser Integration (#6353) 2021-03-31 23:14:29 -04:00
CsvParser.cpp Address translation feedback from Transifex 2021-02-19 18:37:33 -05:00
CsvParser.h Reduce number of unneeded copies 2018-10-31 15:16:04 +01:00
CustomData.cpp Add entry view column for password strength 2021-02-26 22:10:04 -05:00
CustomData.h Add entry view column for password strength 2021-02-26 22:10:04 -05:00
Database.cpp Address translation feedback from Transifex 2021-02-19 18:37:33 -05:00
Database.h Fix QTimer cannot be stopped from another thread warning 2020-12-03 22:20:25 -05:00
DatabaseIcons.cpp Fix excessive memory usage by icons 2020-08-16 22:40:57 -04:00
DatabaseIcons.h Introduce Compact Mode 2020-06-28 16:21:50 -04:00
Endian.h Formatting the code. 2018-03-31 16:01:30 -04:00
Entry.cpp Add entry view column for password strength 2021-02-26 22:10:04 -05:00
Entry.h Add entry view column for password strength 2021-02-26 22:10:04 -05:00
EntryAttachments.cpp Add ability to rename attachments 2020-08-31 23:06:10 -04:00
EntryAttachments.h Add ability to rename attachments 2020-08-31 23:06:10 -04:00
EntryAttributes.cpp Updates to EntrySearcher 2019-02-25 18:09:54 -05:00
EntryAttributes.h Updates to EntrySearcher 2019-02-25 18:09:54 -05:00
EntrySearcher.cpp Add an option to EntrySearcher to skip protected attributes 2020-05-27 22:07:25 -04:00
EntrySearcher.h Add an option to EntrySearcher to skip protected attributes 2020-05-27 22:07:25 -04:00
Exporter.h Formatting the code. 2018-03-31 16:01:30 -04:00
FileWatcher.cpp Introduce AsyncTask::runThenCallback 2020-09-27 15:25:27 -04:00
FileWatcher.h Fix various issues with KeeShare 2020-05-10 17:23:53 -04:00
Global.h Overhaul Auto-Type Action Handling 2021-02-21 16:33:54 -05:00
Group.cpp Copy history when drag/drop entries and groups 2020-12-20 22:57:42 -05:00
Group.h Copy history when drag/drop entries and groups 2020-12-20 22:57:42 -05:00
HibpDownloader.cpp Check passwords against the HIBP online service (#4438) 2020-03-29 09:39:06 -04:00
HibpDownloader.h Check passwords against the HIBP online service (#4438) 2020-03-29 09:39:06 -04:00
HibpOffline.cpp Address translation feedback from Transifex 2021-02-19 18:37:33 -05:00
HibpOffline.h CLI: Add support for okon in offline HIBP checks 2020-09-27 15:23:03 -04:00
InactivityTimer.cpp Restore correct formatting 2018-11-28 18:29:15 -05:00
InactivityTimer.h Replace Q_EMIT, Q_SIGNALS and Q_SLOTS macros with MOC keywords 2017-03-10 16:12:02 +01:00
ListDeleter.h Formatting the code. 2018-03-31 16:01:30 -04:00
MacPasteboard.cpp Formatting the code. 2018-03-31 16:01:30 -04:00
MacPasteboard.h Overhaul Auto-Type Action Handling 2021-02-21 16:33:54 -05:00
Merger.cpp Replace database icons with SVG's 2020-05-29 10:00:32 -04:00
Merger.h Add CLI --dry-run option for merge (#3254) 2019-06-18 21:45:24 -04:00
Metadata.cpp Fix excessive memory usage by icons 2020-08-16 22:40:57 -04:00
Metadata.h Replace "Master Key" with "Database Credentials" 2020-07-02 17:39:45 -04:00
NetworkManager.cpp Download all favicons (#3169) 2019-07-07 15:29:11 -04:00
NetworkManager.h Download all favicons (#3169) 2019-07-07 15:29:11 -04:00
PassphraseGenerator.cpp Bundle icons using the Qt resource system. 2020-03-14 10:13:12 -04:00
PassphraseGenerator.h Fix keepassxc-browser password entropy display (#3107) 2019-06-19 20:40:41 -04:00
PasswordGenerator.cpp Exclude additional lookalike characters (6G8B) 2021-02-25 21:36:30 -05:00
PasswordGenerator.h Refactor Config. 2020-05-02 22:30:27 +02:00
PasswordHealth.cpp Add entry view column for password strength 2021-02-26 22:10:04 -05:00
PasswordHealth.h Add entry view column for password strength 2021-02-26 22:10:04 -05:00
Resources.cpp Move icon handling from Resources to gui/Icons (#5506) 2020-10-05 20:41:00 -04:00
Resources.h Move icon handling from Resources to gui/Icons (#5506) 2020-10-05 20:41:00 -04:00
SignalMultiplexer.cpp Formatting the code. 2018-03-31 16:01:30 -04:00
SignalMultiplexer.h Make C++11 mandatory. 2015-09-12 13:55:50 +02:00
TimeDelta.cpp Formatting the code. 2018-03-31 16:01:30 -04:00
TimeDelta.h Drop Qt module name from include statements. 2013-10-03 15:18:16 +02:00
TimeInfo.cpp Performed project-wide code formatting 2019-01-28 22:38:59 -05:00
TimeInfo.h Introduce synchronize merge method 2018-09-30 09:36:39 -04:00
Tools.cpp Replace all crypto libraries with Botan 2021-04-05 22:56:03 -04:00
Tools.h Replace all crypto libraries with Botan 2021-04-05 22:56:03 -04:00
Translator.cpp Add Qt translation dir for RPM packaging 2020-07-18 18:21:33 -04:00
Translator.h Improve accessibility (#3409) 2019-08-30 20:18:41 -04:00