Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-02-02Fixes for minor issues found by static analysisCarlo Teubner
Mostly style issues. I used the following tools to find most of these: - lgtm.com - clang-tidy - cpplint - cppcheck
2020-02-02Add braces around single line statementsJonathan White
* Ran clang-tidy with "readability-braces-around-statements" to find missing braces around statements.
2018-11-29Restore correct formattingGianluca Recchia
Many lines were not conformant with the project's formatting rules. This patch should fix all formatting and whitespace issues in the code base. A clang-format directive was put around the connect() calls containing SIGNALs and SLOTs whose signatures would be denormalized because of the formatting rules.
2018-10-19Add CLI tests and improve coding style and i18nJanek Bevendorff
The CLI module was lacking unit test coverage and showed some severe coding style violations, which this patch addresses. In addition, all uses of qCritical() with untranslatble raw char* sequences were removed in favor of proper locale strings. These are written to STDERR through QTextStreams and support output redirection for testing purposes. With this change, error messages don't depend on the global Qt logging settings and targets anymore and go directly to the terminal or into a file if needed. This patch also fixes a bug discovered during unit test development, where the extract command would just dump the raw XML contents without decrypting embedded Salsa20-protected values first, making the XML export mostly useless, since passwords are scrambled. Lastly, all CLI commands received a dedicated -h/--help option.
2018-03-31Formatting the code.Louis-Bertrand Varin
2018-02-11SymmetricCipher: Add support for AES-128-CBCToni Spets
2018-01-24Move useful QTest template specializations to global header fileJanek Bevendorff
Fix KDBX test linker errors on Windows
2018-01-13Add support for various algorithms for kdbx4angelsl
* Add SHA512 support to CryptoHash * Add ChaCha20 support * Add HMAC support * Add new HmacBlockStream, used in KDBX 4 * Add support for ChaCha20 protected stream
2017-12-12Merge branch 'master' into developJonathan White
2017-11-28Fixed memory leaks in non-gui testsMichal Kaptur
Fixed 2 memory leaks in production code and a few in testcases. As a result leak_check_at_exit ASAN option does not need to turned off for non-gui tests. Smart pointers should be used elsewhere for consistency, but the sooner this fixes are delivered, the lesser memory leaks are introduced.
2017-11-19SymmetricCipher: Support CTR modeToni Spets
Includes AES-256-CTR non-stream tests
2017-06-14Update and fix copyright headersthez3ro
2017-01-28Break instead of returningJanek Bevendorff
2017-01-28Implement Twofish CBC encryption and decryption testsJanek Bevendorff
2015-09-23Remove backported Qt5 test macros.Felix Geyer
2015-07-20Test if reset() and close() write only one final block.Felix Geyer
2015-05-10Improve error reporing of layered streams.Felix Geyer
2015-05-10Catch and handle all errors from libgcrypt.Felix Geyer
2014-06-15Do some basic self-checks when initializing the crypto backend.Felix Geyer
2014-05-16Move QTEST_GUILESS_MAIN statements before test cases.Florian Geyer
2013-10-03Drop Qt module name from include statements.Felix Geyer
This is a preparation to be able to build KeePassX against Qt 5.
2012-07-25Rename KEEPASSX_QTEST_CORE_MAIN to QTEST_GUILESS_MAIN which is available in ↵Felix Geyer
Qt 5.
2012-05-08Fix padding handling in SymmetricCipherStream.Felix Geyer
The implementation had two issues: - It didn't add a block full of padding when the input size was a multiple of the block size. - It didn't strip the padding when reading data.
2012-04-19Improve code style.Felix Geyer
2012-01-02Core tests instantiate QCoreApplication instead of QApplication.Felix Geyer
This way they can be used without a running X server.
2010-11-22No longer use automoc.Felix Geyer
2010-11-21Add Salsa20 cipher.Felix Geyer
Restructure SymmetricCipher implementation to allow multiple backends.
2010-09-19Remove unneeded toHex() calls.Felix Geyer
2010-09-18Write the remaining buffer in reset().Felix Geyer
2010-09-16Implement writing to the SymmetricCipherStream.Felix Geyer
2010-09-14Open a kdbx file in main() and add more SymmetricCipher tests.Felix Geyer
2010-09-11Add crypto classes and tests. Link to libgcrypt.Felix Geyer