Commit Graph

74 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
86278311d2
Merge branch 'master' into develop 2021-01-12 18:24:59 +01:00
Janek Bevendorff
835d51c59f
Update translations 2021-01-12 17:49:13 +01:00
Janek Bevendorff
cd519e1bf3
Merge branch 'master' into develop 2020-10-21 22:49:02 +02:00
Janek Bevendorff
4f61f57c14
Update translations 2020-10-21 22:46:55 +02:00
Carlos E. Salazar
fa546c440e
Feature/toggle groups panel option (#5247)
* Closes #5243
2020-10-08 22:52:30 -04:00
Janek Bevendorff
b09d3eb855
Update translations 2020-08-19 22:49:30 +02:00
Jonathan White
cf95f5e72e
Update translations 2020-07-06 21:13:22 -04:00
Jonathan White
44f2d3a3c2
Remove old translation files before pull 2020-07-06 19:20:06 -04:00
Jonathan White
e5b0219e3f
Update Translations 2020-06-07 21:53:35 -04:00
Janek Bevendorff
db2cfd424b
Update translations 2020-04-09 18:24:15 +02:00
Janek Bevendorff
27dbc152f3
Update translations 2020-01-19 21:43:15 +01:00
Jonathan White
062654ebdd
Update translations 2020-01-04 09:09:28 -05:00
Janek Bevendorff
db63a40461
Update translations 2019-11-11 20:53:39 +01:00
Sergei Zyubin
ac7face247 Fix mixed translations for keepassxc-cli (#3732)
Fix mixed translations for keepassxc-cli
2019-10-30 09:53:57 -04:00
Janek Bevendorff
b3d834acb0
Update translations 2019-10-26 21:34:28 +02:00
Jonathan White
34bbf8b3a1 Updated translation file and fixed typos 2019-10-23 22:48:34 -04:00
Janek Bevendorff
9d7990b4a7
Update translations 2019-06-12 01:07:59 +02:00
Jonathan White
3bc78f9946
Update translations 2019-05-31 16:03:35 -04:00
Jonathan White
5b007ece14
Update translations 2019-04-12 18:11:57 -04:00
Jonathan White
348a7e5111
Update translations 2019-03-19 18:58:44 -04:00
Jonathan White
f67b60623e
Update translation source file 2019-03-19 18:56:17 -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
Jonathan White
b0812c2235
Update translations 2018-08-22 11:24:55 -04:00
Janek Bevendorff
27b08725fc
Update translations 2018-05-09 19:25:16 +02:00
Jonathan White
902584855b
Update translations 2018-05-07 23:20:04 -04:00
Janek Bevendorff
d68d41a878
Update translations 2018-03-06 22:54:54 +01:00
Janek Bevendorff
02b923b0e5 Make cipher and KDF settings properly translatable 2018-03-04 21:01:00 +01:00
Janek Bevendorff
1db064425a
Update translations 2018-02-27 22:37:59 +01:00
Janek Bevendorff
a06a1f84e0 Don't hardcode install_name_tool change path, resolves #1518 2018-02-26 00:55:06 +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
3443c36087
Update translation source file 2018-02-04 13:56:53 +01:00
Jonathan White
3e2443a861 Add support for nightly builds to release tool 2018-01-30 21:21:23 +01:00
Janek Bevendorff
36b4d5a120 Update locale files and pull in latest translations 2018-01-21 15:54:47 +01:00
Janek Bevendorff
bbc5ff5103 Use actual full en_US translation for English and drop en_plurals file 2018-01-21 15:54:46 +01:00
Janek Bevendorff
7a4e74950c Add missing Q_DECLARE_TR_FUNCTIONS to Kdbx classes
Remove obsolete Kdbx3XmlWriter header
2018-01-21 15:54:46 +01:00
Janek Bevendorff
a4cf32dce0 Bundle qtbase translations with macOS and AppImage releases 2017-12-23 17:47:46 +01:00
Janek Bevendorff
c579736158 Bundle qtbase translations on Windows 2017-12-23 17:47:46 +01:00
Janek Bevendorff
6f68d05545
Update translations 2017-12-13 18:58:52 +01:00
Jonathan White
c7836f1157
Update translations 2017-12-11 21:01:00 -05:00
Janek Bevendorff
3088371631
Update translations 2017-10-22 00:28:04 +02:00
Jonathan White
c8f5824554
Update translations 2017-10-01 10:59:14 -04:00
Janek Bevendorff
8a0085f0f8 Query lupdate-qt5 first and fall back to lupdate if it does not exist 2017-07-08 12:49:35 +02:00
Janek Bevendorff
fab9f2a9fb Update English translation source files 2017-07-08 12:49:35 +02:00
Janek Bevendorff
5e891c2caa Improve update tool to allow either updating source files, pushing or pulling changes without doing the other 2017-07-08 12:49:35 +02:00
Jonathan White
9a6a787191
Update translations 2017-06-25 17:52:35 -04:00
Jonathan White
836c996544
Cleanup before release
* Cleanup cpack commands
* Add default config for portable install
* Force translation downloads
* Reduce translation download threshold to 40%
2017-06-25 17:50:47 -04:00