Commit Graph

16 Commits

Author SHA1 Message Date
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
Janek Bevendorff
835d51c59f
Update translations 2021-01-12 17:49:13 +01:00
Janek Bevendorff
4f61f57c14
Update translations 2020-10-21 22:46:55 +02:00
Jonathan White
cf95f5e72e
Update translations 2020-07-06 21:13:22 -04:00
Jonathan White
e5b0219e3f
Update Translations 2020-06-07 21:53:35 -04:00
Janek Bevendorff
db63a40461
Update translations 2019-11-11 20:53:39 +01:00
Janek Bevendorff
b3d834acb0
Update translations 2019-10-26 21:34:28 +02:00
Jonathan White
348a7e5111
Update translations 2019-03-19 18:58:44 -04:00
Jonathan White
5a34f90319
Update translations
* Corrected use of QCoreApplication::translate -> QObject::tr
* Corrected plural usage in EntryAttachmentsWidget.cpp
2019-01-30 20:54:35 -05:00
Janek Bevendorff
9be538a5f6
Update translations from Transifex 2018-12-01 10:54:55 +01:00
Max Kolhagen
d9fcdd2920 Add TouchID support on macOS 2018-09-18 22:42:05 -04:00
Janek Bevendorff
d68d41a878
Update translations 2018-03-06 22:54:54 +01:00
Janek Bevendorff
1db064425a
Update translations 2018-02-27 22:37:59 +01:00
Janek Bevendorff
10bd73cd4a
Fixed English (US) translation mixed with Vietnamese 2018-02-21 19:43:01 +01:00
Janek Bevendorff
7c6eddeae7
Pull translations from transifex 2018-02-21 17:53:38 +01:00
Janek Bevendorff
36b4d5a120 Update locale files and pull in latest translations 2018-01-21 15:54:47 +01:00