keepassxc/src/cli
Janek Bevendorff cd0084f21c Add support for version 2 XML key files.
As discussed in #4317, the next KeePass2 release will ship with
support for a new generation of XML key files which enable
hash integrity checks.

This patch adds support for reading and generating this new format.
By default, KeePass2 now uses the .keyx extension for generated
key files, which was added to KeePassXC's key generation file chooser
filter. We continue to generate hashed binary key files by default,
but the user can explicitly save the file with the new .keyx
extension to generate an XML v2 key file (currently undocumented).

When opening a database, the key file type is still determined
by content negotation, so the file extension has no impact here.

As an additional change, the legacy key file warnings have been
improved slightly to be less confusing and more helpful.
2020-12-19 09:42:21 -05:00
..
Add.cpp Fix code format 2020-09-21 21:32:02 -04:00
Add.h Add a -n (--notes) option to keepassxc-cli add and edit commands 2020-09-21 16:04:32 -04:00
AddGroup.cpp CLI: Use stderr for password prompt 2020-05-14 16:33:25 -04:00
AddGroup.h CLI: Add group commands 2019-09-22 21:13:50 -04:00
Analyze.cpp CLI: Add support for okon in offline HIBP checks 2020-09-27 15:23:03 -04:00
Analyze.h CLI: Add support for okon in offline HIBP checks 2020-09-27 15:23:03 -04:00
Clip.cpp Add a best option to CLI command clip (#4489) 2020-08-31 23:06:27 -04:00
Clip.h Add a best option to CLI command clip (#4489) 2020-08-31 23:06:27 -04:00
Close.cpp CLI: Add interactive session mode command open 2019-09-28 11:24:42 -04:00
Close.h CLI: Add interactive session mode command open 2019-09-28 11:24:42 -04:00
CMakeLists.txt Change to generate man page from AsciiDoc 2020-07-05 14:54:31 -04:00
Command.cpp Significantly enhance hardware key robustness 2020-05-14 20:19:56 -04:00
Command.h CLI: Add interactive session mode command open 2019-09-28 11:24:42 -04:00
Create.cpp Add keyfile option to keepassxc cli import cmd (#5402) 2020-10-09 20:31:29 -04:00
Create.h Add keyfile option to keepassxc cli import cmd (#5402) 2020-10-09 20:31:29 -04:00
DatabaseCommand.cpp CLI: Use stderr for password prompt 2020-05-14 16:33:25 -04:00
DatabaseCommand.h CLI Command cleanup 2019-06-14 18:15:38 -04:00
Diceware.cpp CLI: Use stderr for password prompt 2020-05-14 16:33:25 -04:00
Diceware.h Clean up code (#3431) 2019-08-19 21:19:32 +02:00
Edit.cpp Add a -n (--notes) option to keepassxc-cli add and edit commands 2020-09-21 16:04:32 -04:00
Edit.h Clean up code (#3431) 2019-08-19 21:19:32 +02:00
Estimate.cpp CLI: Use stderr for password prompt 2020-05-14 16:33:25 -04:00
Estimate.h Clean up code (#3431) 2019-08-19 21:19:32 +02:00
Exit.cpp CLI: Add interactive session mode command open 2019-09-28 11:24:42 -04:00
Exit.h CLI: Add interactive session mode command open 2019-09-28 11:24:42 -04:00
Export.cpp CLI: Use stderr for password prompt 2020-05-14 16:33:25 -04:00
Export.h CLI: Export database as CSV 2019-09-22 12:42:53 -04:00
Generate.cpp CLI: Use stderr for password prompt 2020-05-14 16:33:25 -04:00
Generate.h CLI password generation options cleanup (#3275) 2019-08-30 22:50:32 -04:00
Help.cpp CLI: Use stderr for password prompt 2020-05-14 16:33:25 -04:00
Help.h CLI: Add interactive session mode command open 2019-09-28 11:24:42 -04:00
Import.cpp Add keyfile option to keepassxc cli import cmd (#5402) 2020-10-09 20:31:29 -04:00
Import.h CLI: Add Import XML command (#3572) 2019-10-15 22:10:45 -04:00
Info.cpp Fix 'db-info' command name to show it right in 'help' 2020-07-20 21:20:21 -04:00
Info.h Adding db-info CLI command. (#4231) 2020-01-26 23:44:31 -05:00
keepassxc-cli.cpp Remove GUI bootstraping from core/ (#5513) 2020-10-08 22:48:45 -04:00
List.cpp CLI: Use stderr for password prompt 2020-05-14 16:33:25 -04:00
List.h Clean up code (#3431) 2019-08-19 21:19:32 +02:00
Locate.cpp CLI: Use stderr for password prompt 2020-05-14 16:33:25 -04:00
Locate.h Clean up code (#3431) 2019-08-19 21:19:32 +02:00
Merge.cpp CLI: Use stderr for password prompt 2020-05-14 16:33:25 -04:00
Merge.h CLI: Add Yubikey unlock support 2019-09-22 18:11:40 -04:00
Move.cpp CLI: Use stderr for password prompt 2020-05-14 16:33:25 -04:00
Move.h CLI: Add group commands 2019-09-22 21:13:50 -04:00
Open.cpp CLI: Add interactive session mode command open 2019-09-28 11:24:42 -04:00
Open.h CLI: Add interactive session mode command open 2019-09-28 11:24:42 -04:00
Remove.cpp CLI: Use stderr for password prompt 2020-05-14 16:33:25 -04:00
Remove.h Clean up code (#3431) 2019-08-19 21:19:32 +02:00
RemoveGroup.cpp CLI: Use stderr for password prompt 2020-05-14 16:33:25 -04:00
RemoveGroup.h CLI: Add group commands 2019-09-22 21:13:50 -04:00
Show.cpp CLI: Use stderr for password prompt 2020-05-14 16:33:25 -04:00
Show.h CLI: do not display protected fields by default. 2019-11-01 22:53:54 -04:00
TextStream.cpp CLI: Fix XML encoding when export database 2020-01-29 20:51:53 -05:00
TextStream.h CLI: Fix XML encoding when export database 2020-01-29 20:51:53 -05:00
Utils.cpp Add support for version 2 XML key files. 2020-12-19 09:42:21 -05:00
Utils.h Add keyfile option to keepassxc cli import cmd (#5402) 2020-10-09 20:31:29 -04:00