Commit Graph

2576 Commits

Author SHA1 Message Date
angelsl
e5ec585f98
Use GCRY_MD_FLAG_SECURE in CryptoHash 2018-01-13 14:23:26 -05:00
angelsl
6a0d05e1ef
Add support for various algorithms for kdbx4
* Add SHA512 support to CryptoHash
* Add ChaCha20 support
* Add HMAC support
* Add new HmacBlockStream, used in KDBX 4
* Add support for ChaCha20 protected stream
2018-01-13 14:23:26 -05:00
angelsl
4532108678
Add support for KDFs and cyphers to the db settings widget 2018-01-13 14:23:25 -05:00
angelsl
33974d710a
Move constants in KeePass2.h to KeePass2.cpp and add a list of KDFs and ciphers 2018-01-13 14:23:25 -05:00
angelsl
a5ec7fc704
Make HashedBlockStream::atEnd report EOF correctly 2018-01-13 14:23:24 -05:00
angelsl
663b8dcb08
Remove unused SymmetricCipherSalsa20 2018-01-13 14:23:24 -05:00
angelsl
656836950e
Add support for stream cipher subclasses in SymmetricCipherStream 2018-01-13 14:23:24 -05:00
angelsl
23347b392f
Fix typo in Endian and add uint{16,32,64}ToBytes 2018-01-13 14:23:24 -05:00
angelsl
2e19af5032
Pull out KDFs into their own class hierarchy
In preparation for multiple KDFs in KDBX 4
2018-01-13 14:23:20 -05:00
Janek Bevendorff
6aaa89a23c
Merge pull request #1370 from varjolintu/browser_cpu_fix
High CPU fix for Linux
2018-01-11 09:32:50 +01:00
varjolintu
acceb8efc9 High CPU fix for Linux 2018-01-11 08:52:17 +02:00
Janek Bevendorff
92ab7bece2
Merge pull request #1329 from adolfogc/refactor/database-widget
Refactor src/DatabaseWidget.cpp
2018-01-09 12:59:32 +01:00
Adolfo E. García
540bcd8d70 Refactor src/DatabaseWidget.cpp
Based on input from PR #1167's code review.
2018-01-09 12:47:12 +01:00
Janek Bevendorff
6476b6b1f0
Merge pull request #1356 from varjolintu/fix/macports
Fix for building with MacPorts
2018-01-06 17:08:10 +01:00
varjolintu
4316999254 Fix for building with MacPorts 2018-01-06 17:38:57 +02:00
Janek Bevendorff
5fe18400c5
Merge pull request #1355 from yan12125/browser-improve-proxy-path-handling
Improve proxy path handling for the browser plugin
2018-01-06 12:52:39 +01:00
Yen Chi Hsuan
9b5ed176cd Improve proxy path handling for the browser plugin
If "Update KeePassXC binary path automatically to native messaging
scripts on startup" is not selected (default behavior), native messaging
host JSON contains wrong path " ".
2018-01-06 18:22:10 +08:00
Janek Bevendorff
5e38faa09d
Merge pull request #1354 from weslly/fix/autotype-regression
Fix auto-type regression introduced at #1174
2018-01-06 03:27:12 +01:00
Weslly
6a75fd84ab
Fix auto-type regression when using {delay=x} 2018-01-05 23:53:45 -02:00
Jonathan White
8f99764f24
Merge pull request #1231 from keepassxreboot/refactor/remove-lockfile
Remove lock file and cleanup file handling
2018-01-04 20:55:09 -05:00
Jonathan White
1a7b874c60 Consistency using filepath and minor code fixes 2018-01-04 19:09:36 -05:00
Jonathan White
36e5377e6a Corrected use of canonicalfile info in autoopen code 2018-01-04 19:09:36 -05:00
Jonathan White
a80d1bbd2b Addressed comments; further streamlined code 2018-01-04 19:09:36 -05:00
Jonathan White
c2d04499ab Remove lock file and cleanup file handling [#1002] 2018-01-04 19:09:36 -05:00
Janek Bevendorff
a5a5c6723e
Merge pull request #608 from varjolintu/feature/chromeKeePassXC
Support for browser extension(s) with Native Messaging
2018-01-04 23:08:37 +01:00
Janek Bevendorff
d80c6b4b7d Update CI Dockerfile to include libsodium and bump minimum supported Qt version 2018-01-04 22:56:03 +01:00
varjolintu
06518c5736 keepassxc-browser 2018-01-04 21:42:20 +01:00
Janek Bevendorff
a7e6e4ef45
Merge pull request #1351 from keepassxreboot/hotfix/undef_fortify
undefine FORTIFY_SOURCE before trying to define it. In case it's already defined by the distro
2018-01-03 20:50:12 +01:00
thez3ro
506057d202
undefine FORTIFY_SOURCE before trying to define it. In case it's already defined by the distro 2018-01-03 20:19:23 +01:00
Janek Bevendorff
ffddcb5060
Merge pull request #1258 from frostasm/pass-command-line-filenames-to-already-running-instance
Pass command line filenames to already running instance
2018-01-03 16:03:17 +01:00
frostasm
3720c5ef79 Add test for drag and drop database files into main window 2018-01-03 16:12:05 +02:00
frostasm
165d664524 Pass (using IPC) command line filenames to already running instance 2018-01-03 16:12:05 +02:00
frostasm
7b9b23b143 Implement drag&drop support in main form to open database files 2018-01-03 16:12:05 +02:00
Janek Bevendorff
cdaf25cb3e
Merge pull request #1174 from keepassxreboot/feature/autotype-warning-on-long-sequences
Add warning on long Auto Type sequences
2018-01-03 13:26:46 +01:00
thez3ro
6d046f251e
Remove minus since it's an invalid literal 2018-01-03 12:56:18 +01:00
thez3ro
e803076063
improve regex filtering 2018-01-03 12:56:18 +01:00
thez3ro
203960b4b5
rename to executeAutoType 2018-01-03 12:56:18 +01:00
thez3ro
3d5ff723e9
fix codestyle 2018-01-03 12:56:18 +01:00
thez3ro
a02a49a184
add test for syntax checking 2018-01-03 12:56:18 +01:00
Marco
8ca444aee0
add a method to perform the autotype sequence showing graphical dialogs
Dialogs are show when the syntax of the autotype statement is wrong or contains long delays or statements which are repeated very often
2018-01-03 12:56:18 +01:00
Marco
7ceac05395
add support for custom commands. all autotype tests are getting passed now 2018-01-03 12:56:18 +01:00
Marco
4893d99774
move autotype syntax warning and error dialogs from AutoType to DatabaseWidget in the gui folder and replaced it with a checkSyntax call.
this fixes part of why autotype test fails
2018-01-03 12:56:18 +01:00
Marco
393017cf3b
fix for loops now have diffrent variables. dont know why it worked before 2018-01-03 12:56:18 +01:00
Marco
6057c9f27d
fix comments 2018-01-03 12:56:18 +01:00
thez3ro
a4bdc9a71d
fix syntax error 2018-01-03 12:56:18 +01:00
Marco
fbfc2e4d07
create message boxes for saving editing autotypes statements, fix multiple messages problem on autotype execution
You now get an error when you try to save incorrect autotype statements and warnings if you have high delays or much repetiton in your statement.

Also you will now only get one warning if you want to perfom high delayed or often repeated statements.
2018-01-03 12:56:18 +01:00
Marco
7bb9ea201c
fix typo 2018-01-03 12:56:18 +01:00
Marco
70127bad4b
extract syntax checking methods as static methods to the Autotype class 2018-01-03 12:56:18 +01:00
Marco
2bf68b7970
fix regular expressions for delays and repetition 2018-01-03 12:56:18 +01:00
Marco
d524aea779
Extended autotype syntax to allow all things in keepass2 2018-01-03 12:56:18 +01:00