Compare commits
218 Commits
2.5.2
...
2.6.0-beta
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e5b0219e3f | ||
|
|
fbebf30b98 | ||
|
|
1ad0184473 | ||
|
|
6c9125402a | ||
|
|
712b8224c6 | ||
|
|
e039006667 | ||
|
|
f129768f07 | ||
|
|
b7104be689 | ||
|
|
9d10792640 | ||
|
|
2073f2ddc3 | ||
|
|
6f5e13815c | ||
|
|
c830f85c09 | ||
|
|
e36cba703e | ||
|
|
a91358e7bf | ||
|
|
2d945bc215 | ||
|
|
3095e29507 | ||
|
|
4f75432fc6 | ||
|
|
9d2e066aca | ||
|
|
5c69875b59 | ||
|
|
4de99cfe8e | ||
|
|
b5554e05d8 | ||
|
|
90d5372813 | ||
|
|
229a756d84 | ||
|
|
a1f599c7c4 | ||
|
|
b849fdead5 | ||
|
|
463bb0b03f | ||
|
|
44779bc862 | ||
|
|
af6493b07b | ||
|
|
b17b9683e1 | ||
|
|
1fbddf4149 | ||
|
|
443614a375 | ||
|
|
a83345d136 | ||
|
|
98566fec83 | ||
|
|
eb198271ac | ||
|
|
43c82ccb09 | ||
|
|
d863496f62 | ||
|
|
bcb64a231f | ||
|
|
a1b4a3f8b7 | ||
|
|
9e17d52e8e | ||
|
|
92a7fe33bd | ||
|
|
09f5a74a15 | ||
|
|
3dc8b7a5d0 | ||
|
|
e367c6df95 | ||
|
|
48bf4fb85d | ||
|
|
45848c3f61 | ||
|
|
2237cf0188 | ||
|
|
689a85a071 | ||
|
|
287e822e02 | ||
|
|
d5de042529 | ||
|
|
49487f9d4a | ||
|
|
5142981018 | ||
|
|
a145bf9119 | ||
|
|
3b4057a78c | ||
|
|
f1080d633e | ||
|
|
485852c9db | ||
|
|
612f8d2e5b | ||
|
|
560209550c | ||
|
|
dcff507e02 | ||
|
|
ce7b34e96b | ||
|
|
3c19fdd193 | ||
|
|
ce8f32e797 | ||
|
|
adc743503a | ||
|
|
c416c036ea | ||
|
|
ad1b333601 | ||
|
|
071cc856da | ||
|
|
4ba8ef30f2 | ||
|
|
26ea274259 | ||
|
|
ab6222a5f8 | ||
|
|
1b18c5d51d | ||
|
|
d9214db404 | ||
|
|
596d2cf425 | ||
|
|
5add01243d | ||
|
|
5f9b640da1 | ||
|
|
3dcac2c46c | ||
|
|
34483a1287 | ||
|
|
2f12294639 | ||
|
|
7168bcdbe5 | ||
|
|
243f68e0e8 | ||
|
|
fbd78037ff | ||
|
|
8d2f7832ed | ||
|
|
1a3dc2145d | ||
|
|
7f98323962 | ||
|
|
f7a3cee25a | ||
|
|
5795051477 | ||
|
|
730367557f | ||
|
|
7ef1ee916b | ||
|
|
0a2dd28cd8 | ||
|
|
d189f9132e | ||
|
|
dcca5aa0f0 | ||
|
|
db2cfd424b | ||
|
|
770b09cc23 | ||
|
|
a362c08613 | ||
|
|
e54f24e303 | ||
|
|
3552ba2a30 | ||
|
|
e9754efbbe | ||
|
|
6128e5d582 | ||
|
|
ef668f552e | ||
|
|
d41a37c9bc | ||
|
|
2022a5e65c | ||
|
|
7b25fe9cc6 | ||
|
|
ab9856ee88 | ||
|
|
f0709d187d | ||
|
|
e316a09a79 | ||
|
|
0a61aa0d46 | ||
|
|
83ed9a8d4e | ||
|
|
464e49d329 | ||
|
|
8e4b0fdfe8 | ||
|
|
5927b6298d | ||
|
|
e6c2c7ed93 | ||
|
|
b045160e4f | ||
|
|
4ff781fa48 | ||
|
|
b2c2f42f30 | ||
|
|
dce9af219f | ||
|
|
2359742de1 | ||
|
|
8ae718b747 | ||
|
|
fb5173cebd | ||
|
|
fe1189ea79 | ||
|
|
1d7ef5d4eb | ||
|
|
a8c02fdc3c | ||
|
|
91c6e436b3 | ||
|
|
7ac292e09b | ||
|
|
6bce5836f9 | ||
|
|
e6186b07e1 | ||
|
|
a6c3c118a7 | ||
|
|
ca471e9986 | ||
|
|
50e52df04b | ||
|
|
e26063a872 | ||
|
|
557736ea5e | ||
|
|
6d2ca74878 | ||
|
|
b9daed2055 | ||
|
|
eb88b8cc0c | ||
|
|
b188385184 | ||
|
|
409190c85a | ||
|
|
40ad211f3e | ||
|
|
cb6b0dde27 | ||
|
|
e85854aa24 | ||
|
|
9f3516a4da | ||
|
|
c306fb55ae | ||
|
|
8dbd5b11eb | ||
|
|
8dba308d54 | ||
|
|
f227a2d529 | ||
|
|
f62e0534a2 | ||
|
|
c663b5d5fc | ||
|
|
c427000184 | ||
|
|
a81c6469a8 | ||
|
|
71a39c37ec | ||
|
|
06e0f38523 | ||
|
|
792c1c94f7 | ||
|
|
0383aa104c | ||
|
|
7d8072bf8f | ||
|
|
97b034dbcb | ||
|
|
94b45ea16f | ||
|
|
d2a19f3e86 | ||
|
|
4968d95cab | ||
|
|
f170022fa3 | ||
|
|
0b6d9cb472 | ||
|
|
a41c26e9cd | ||
|
|
4dee16c9fa | ||
|
|
6fc7be78ea | ||
|
|
47ce81c9a6 | ||
|
|
b0ad4a50d9 | ||
|
|
91755fa83a | ||
|
|
0c252b6ed4 | ||
|
|
06e5f19fab | ||
|
|
4939179b9f | ||
|
|
e24a858f39 | ||
|
|
c97ee5395b | ||
|
|
b78ca924fd | ||
|
|
04be724614 | ||
|
|
c8ab3b5f4f | ||
|
|
8bac8a7163 | ||
|
|
332c133893 | ||
|
|
6ff3e8801d | ||
|
|
796b5ceacb | ||
|
|
b6ff613189 | ||
|
|
b34a8f9d94 | ||
|
|
bf8e2e5959 | ||
|
|
b2fd7f6d54 | ||
|
|
f8c962bd25 | ||
|
|
27dbc152f3 | ||
|
|
606661b271 | ||
|
|
dc37537797 | ||
|
|
08a911466e | ||
|
|
d2e76058cd | ||
|
|
6f9907a3cb | ||
|
|
0d3eb047c7 | ||
|
|
6cde2b83e8 | ||
|
|
9da07f2f66 | ||
|
|
460732097c | ||
|
|
84e3925e7b | ||
|
|
05ef937e92 | ||
|
|
2ca8dbebea | ||
|
|
36f92b7649 | ||
|
|
470838f21c | ||
|
|
247ebf5a35 | ||
|
|
cba8947ee8 | ||
|
|
39a7ce58b9 | ||
|
|
3fdafc6d25 | ||
|
|
04d6d675a5 | ||
|
|
edea88b535 | ||
|
|
ae471bea14 | ||
|
|
8ded3bdba2 | ||
|
|
2fab4d576a | ||
|
|
ed0b76813d | ||
|
|
7b95867378 | ||
|
|
0423bbe168 | ||
|
|
cb28329f14 | ||
|
|
dc42d5dda6 | ||
|
|
56a5a129c6 | ||
|
|
39af47fbf9 | ||
|
|
d007ee97e3 | ||
|
|
eed935c923 | ||
|
|
74381dc115 | ||
|
|
09d7b5db31 | ||
|
|
eb75985aa6 | ||
|
|
9b5a46f4b0 | ||
|
|
a8c10cda91 | ||
|
|
2d44c7e462 |
2
.github/CONTRIBUTING.md
vendored
@@ -132,7 +132,7 @@ For **Qt-UI files** (*.ui*): 2 spaces
|
||||
|
||||
// Application includes
|
||||
#include "core/Config.h"
|
||||
#include "core/FilePath.h"
|
||||
#include "core/Resources.h"
|
||||
|
||||
// Global includes
|
||||
#include <QWidget>
|
||||
|
||||
5
.github/FUNDING.yml
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
github: ["droidmonkey", "phoerious"]
|
||||
patreon: keepassxc
|
||||
open_collective: keepassxc
|
||||
liberapay: keepassxc
|
||||
custom: ["https://keepassxc.org/donate"]
|
||||
40
.github/ISSUE_TEMPLATE/bug-report.md
vendored
@@ -6,44 +6,34 @@ labels: bug
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
[TIP]: # ( Provide a general summary of the issue in the title above ^^ )
|
||||
## Overview
|
||||
[TIP]: # ( DO NOT include screenshots of your actual database! )
|
||||
[NOTE]: # ( Give a BRIEF summary about your problem )
|
||||
|
||||
|
||||
## Steps to Reproduce
|
||||
[NOTE]: # ( Provide a simple set of steps to reproduce this bug. )
|
||||
1.
|
||||
2.
|
||||
3.
|
||||
|
||||
## Expected Behavior
|
||||
[NOTE]: # ( Tell us what you expected to happen )
|
||||
|
||||
|
||||
## Current Behavior
|
||||
## Actual Behavior
|
||||
[NOTE]: # ( Tell us what actually happens )
|
||||
|
||||
|
||||
## Possible Solution
|
||||
[NOTE]: # ( Not required, but suggest a fix/reason for the bug )
|
||||
|
||||
|
||||
## Steps to Reproduce
|
||||
[NOTE]: # ( Provide a link to a live example, or an unambiguous set of steps to )
|
||||
[NOTE]: # ( reproduce this bug. Include code to reproduce, if relevant )
|
||||
1.
|
||||
2.
|
||||
3.
|
||||
|
||||
## Context
|
||||
[NOTE]: # ( How has this issue affected you? What unique circumstances do you have? )
|
||||
[NOTE]: # ( Give us any additional information you may have. )
|
||||
|
||||
|
||||
## Debug Info
|
||||
[NOTE]: # ( Paste debug info from Help → About here )
|
||||
KeePassXC - VERSION
|
||||
Revision: REVISION
|
||||
|
||||
Libraries:
|
||||
- LIBS
|
||||
|
||||
Operating system: OS
|
||||
CPU architecture: ARCH
|
||||
Kernel: KERNEL
|
||||
|
||||
Enabled extensions:
|
||||
- EXTENSIONS
|
||||
[NOTE]: # ( Pick choices based on your environment )
|
||||
Operating System: Windows/Linux/macOS
|
||||
Desktop Env: Gnome/KDE/XFCE/Mate/Cinnamon
|
||||
Windowing System: X11/Wayland
|
||||
15
.github/ISSUE_TEMPLATE/feature-request.md
vendored
@@ -1,25 +1,18 @@
|
||||
---
|
||||
name: Feature Request
|
||||
about: tell us about a new capability you want to see
|
||||
about: tell us about a new feature you want
|
||||
title:
|
||||
labels: new feature
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
[TIP]: # ( Provide a general summary of the feature in the title above ^^ )
|
||||
[TIP]: # ( DO NOT include screenshots of your actual database! )
|
||||
|
||||
## Summary
|
||||
[TIP]: # ( DO NOT include screenshots of your actual database! )
|
||||
[NOTE]: # ( Provide a brief overview of what the new feature is all about )
|
||||
|
||||
|
||||
## Desired Behavior
|
||||
[NOTE]: # ( Tell us how the new feature should work, be specific )
|
||||
|
||||
|
||||
## Possible Solution
|
||||
[NOTE]: # ( Not required, but suggest ideas on how to implement the addition or change )
|
||||
## Examples
|
||||
[NOTE]: # ( Show us a picture or mock-up of your proposal )
|
||||
|
||||
|
||||
## Context
|
||||
|
||||
@@ -1,49 +1,39 @@
|
||||
---
|
||||
name: Release Preview Bug report
|
||||
about: report a bug with a release preview (eg, 2.4.0-beta1)
|
||||
title: "[PRE-RELEASE] "
|
||||
about: report a bug with a release preview (e.g., 2.6.0-beta1)
|
||||
title:
|
||||
labels: PRE-RELEASE BUG
|
||||
assignees: droidmonkey
|
||||
|
||||
---
|
||||
|
||||
[TIP]: # ( Provide a general summary of the issue in the title above ^^ )
|
||||
## Overview
|
||||
[TIP]: # ( DO NOT include screenshots of your actual database! )
|
||||
[NOTE]: # ( Give a BRIEF summary about your problem )
|
||||
|
||||
|
||||
## Steps to Reproduce
|
||||
[NOTE]: # ( Provide a simple set of steps to reproduce this bug. )
|
||||
1.
|
||||
2.
|
||||
3.
|
||||
|
||||
## Expected Behavior
|
||||
[NOTE]: # ( Tell us what you expected to happen )
|
||||
|
||||
|
||||
## Current Behavior
|
||||
## Actual Behavior
|
||||
[NOTE]: # ( Tell us what actually happens )
|
||||
|
||||
|
||||
## Possible Solution
|
||||
[NOTE]: # ( Not required, but suggest a fix/reason for the bug )
|
||||
|
||||
|
||||
## Steps to Reproduce
|
||||
[NOTE]: # ( Provide a link to a live example, or an unambiguous set of steps to )
|
||||
[NOTE]: # ( reproduce this bug. Include code to reproduce, if relevant )
|
||||
1.
|
||||
2.
|
||||
3.
|
||||
|
||||
## Context
|
||||
[NOTE]: # ( How has this issue affected you? What unique circumstances do you have? )
|
||||
[NOTE]: # ( Give us any additional information you may have. )
|
||||
|
||||
|
||||
## Debug Info
|
||||
[NOTE]: # ( Paste debug info from Help → About here )
|
||||
KeePassXC - VERSION
|
||||
Revision: REVISION
|
||||
|
||||
Libraries:
|
||||
- LIBS
|
||||
|
||||
Operating system: OS
|
||||
CPU architecture: ARCH
|
||||
Kernel: KERNEL
|
||||
|
||||
Enabled extensions:
|
||||
- EXTENSIONS
|
||||
[NOTE]: # ( Pick choices based on your environment )
|
||||
Operating System: Windows/Linux/macOS
|
||||
Desktop Env: Gnome/KDE/XFCE/Mate/Cinnamon
|
||||
Windowing System: X11/Wayland
|
||||
33
.github/PULL_REQUEST_TEMPLATE.md
vendored
@@ -1,17 +1,6 @@
|
||||
[TIP]: # ( Provide a general summary of your changes in the title above ^^ )
|
||||
|
||||
## Type of change
|
||||
[NOTE]: # ( Please remove all lines which don't apply. )
|
||||
- ✅ Bug fix (non-breaking change which fixes an issue)
|
||||
- ✅ Refactor (significant modification to existing code)
|
||||
- ✅ New feature (non-breaking change which adds functionality)
|
||||
- ✅ Breaking change (fix or feature that would cause existing functionality to change)
|
||||
- ✅ Documentation (non-code change)
|
||||
|
||||
## Description and Context
|
||||
[NOTE]: # ( Describe your changes in detail, why is this change required? )
|
||||
[NOTE]: # ( Describe the context of your change. Explain large code modifications. )
|
||||
[NOTE]: # ( If it fixes an open issue, please add "Fixes #XXX" as necessary )
|
||||
[NOTE]: # ( Explain large or complex code modifications. )
|
||||
[NOTE]: # ( If it fixes an open issue, please add "Fixes #XXX" )
|
||||
|
||||
|
||||
## Screenshots
|
||||
@@ -23,14 +12,10 @@
|
||||
[TIP]: # ( We expect new code to be covered by unit tests and documented with doc blocks! )
|
||||
|
||||
|
||||
## Checklist:
|
||||
[NOTE]: # ( Please go over all the following points. )
|
||||
[NOTE]: # ( Again, remove any lines which don't apply. )
|
||||
[NOTE]: # ( Pull Requests that don't fulfill all [REQUIRED] requisites are likely )
|
||||
[NOTE]: # ( to be sent back to you for correction or will be rejected. )
|
||||
- ✅ I have read the **CONTRIBUTING** document. **[REQUIRED]**
|
||||
- ✅ My code follows the code style of this project. **[REQUIRED]**
|
||||
- ✅ All new and existing tests passed. **[REQUIRED]**
|
||||
- ✅ I have compiled and verified my code with `-DWITH_ASAN=ON`. **[REQUIRED]**
|
||||
- ✅ My change requires a change to the documentation, and I have updated it accordingly.
|
||||
- ✅ I have added tests to cover my changes.
|
||||
## Type of change
|
||||
[NOTE]: # ( Please remove all lines which don't apply. )
|
||||
- ✅ Bug fix (non-breaking change that fixes an issue)
|
||||
- ✅ New feature (change that adds functionality)
|
||||
- ✅ Breaking change (causes existing functionality to change)
|
||||
- ✅ Refactor (significant modification to existing code)
|
||||
- ✅ Documentation (non-code change)
|
||||
|
||||
39
CHANGELOG.md
@@ -1,5 +1,44 @@
|
||||
# Changelog
|
||||
|
||||
## 2.6.0 (unreleased)
|
||||
|
||||
### Added
|
||||
- Added CLI db-info command [#4231]
|
||||
- Switch application icons to Material Design [#4066]
|
||||
- Health Check report [#551]
|
||||
- HIBP report: Check passwords against the HIBP online service [#1083]
|
||||
|
||||
### Changed
|
||||
- Renamed CLI create command to db-create [#4231]
|
||||
- Added --set-password option for CLI db-create command
|
||||
- Added --set-key-file option for CLI db-create command (replacing --key-file option)
|
||||
|
||||
## 2.5.4 (2020-04-09)
|
||||
|
||||
### Fixed
|
||||
|
||||
- Return keyboard focus after saving database edits [#4287]
|
||||
- Windows: Use bare minimum settings in portable version [#4131]
|
||||
- Windows: Use SHA256 code signing [#4129]
|
||||
- macOS: Fix code signing incompatibility in latest macOS release [#4564]
|
||||
|
||||
## 2.5.3 (2020-01-19)
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fix a possible database lockout when removing a YubiKey from a KDBX 3.1 database [#4147]
|
||||
- Fix crash if Auto-Type is performed on a new entry [#4150]
|
||||
- Fix crash when all entries are deleted from a group [#4156]
|
||||
- Improve the reliability of clipboard clearing on Gnome [#4165]
|
||||
- Do not check cmd:// URLs for valid URL syntax anymore [#4172]
|
||||
- Prevent unnecessary merges for databases on network shares [#4153]
|
||||
- Browser: Prevent native messaging proxy from blocking application shutdown [#4155]
|
||||
- Browser: Improve website URL matching [#4134, #4177]
|
||||
|
||||
### Added
|
||||
|
||||
- Browser: Enable support for Chromium-based Edge Browser [#3359]
|
||||
|
||||
## 2.5.2 (2020-01-04)
|
||||
|
||||
### Added
|
||||
|
||||
@@ -27,13 +27,6 @@ string(TOLOWER "${CMAKE_BUILD_TYPE}" CMAKE_BUILD_TYPE_LOWER)
|
||||
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
|
||||
|
||||
# Use the Compiler Cache (ccache) if it is installed
|
||||
# (install with: sudo apt get ccache)
|
||||
find_program (CCACHE_FOUND ccache)
|
||||
if (CCACHE_FOUND)
|
||||
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
|
||||
endif (CCACHE_FOUND)
|
||||
|
||||
# Support Visual Studio Code
|
||||
include(CMakeToolsHelpers OPTIONAL)
|
||||
include(FeatureSummary)
|
||||
@@ -48,6 +41,7 @@ option(WITH_DEV_BUILD "Use only for development. Disables/warns about deprecated
|
||||
option(WITH_ASAN "Enable address sanitizer checks (Linux / macOS only)" OFF)
|
||||
option(WITH_COVERAGE "Use to build with coverage tests (GCC only)." OFF)
|
||||
option(WITH_APP_BUNDLE "Enable Application Bundle for macOS" ON)
|
||||
option(WITH_CCACHE "Use ccache for build" OFF)
|
||||
|
||||
set(WITH_XC_ALL OFF CACHE BOOL "Build in all available plugins")
|
||||
|
||||
@@ -65,6 +59,17 @@ if(APPLE)
|
||||
option(WITH_XC_TOUCHID "Include TouchID support for macOS." OFF)
|
||||
endif()
|
||||
|
||||
if(WITH_CCACHE)
|
||||
# Use the Compiler Cache (ccache) program
|
||||
# (install with: sudo apt get ccache)
|
||||
find_program(CCACHE_FOUND ccache)
|
||||
if(CCACHE_FOUND)
|
||||
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ${CCACHE_FOUND})
|
||||
else()
|
||||
message(FATAL_ERROR "ccache requested but cannot be found.")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(WITH_XC_ALL)
|
||||
# Enable all options (except update check)
|
||||
set(WITH_XC_AUTOTYPE ON)
|
||||
@@ -94,8 +99,8 @@ if(NOT WITH_XC_NETWORKING AND WITH_XC_UPDATECHECK)
|
||||
endif()
|
||||
|
||||
set(KEEPASSXC_VERSION_MAJOR "2")
|
||||
set(KEEPASSXC_VERSION_MINOR "5")
|
||||
set(KEEPASSXC_VERSION_PATCH "2")
|
||||
set(KEEPASSXC_VERSION_MINOR "6")
|
||||
set(KEEPASSXC_VERSION_PATCH "0")
|
||||
set(KEEPASSXC_VERSION "${KEEPASSXC_VERSION_MAJOR}.${KEEPASSXC_VERSION_MINOR}.${KEEPASSXC_VERSION_PATCH}")
|
||||
set(OVERRIDE_VERSION "" CACHE STRING "Override the KeePassXC Version for Snapshot builds")
|
||||
|
||||
@@ -204,6 +209,28 @@ macro(add_gcc_compiler_flags FLAGS)
|
||||
add_gcc_compiler_cflags("${FLAGS}")
|
||||
endmacro(add_gcc_compiler_flags)
|
||||
|
||||
# Copies of above macros that first ensure the compiler understands a given flag
|
||||
# Because check_*_compiler_flag() sets -D with name, need to provide "safe" FLAGNAME
|
||||
macro(check_add_gcc_compiler_cxxflag FLAG FLAGNAME)
|
||||
check_cxx_compiler_flag("${FLAG}" CXX_HAS${FLAGNAME})
|
||||
if(CXX_HAS${FLAGNAME})
|
||||
add_gcc_compiler_cxxflags("${FLAG}")
|
||||
endif()
|
||||
endmacro(check_add_gcc_compiler_cxxflag)
|
||||
|
||||
macro(check_add_gcc_compiler_cflag FLAG FLAGNAME)
|
||||
check_c_compiler_flag("${FLAG}" CC_HAS${FLAGNAME})
|
||||
if(CC_HAS${FLAGNAME})
|
||||
add_gcc_compiler_cflags("${FLAG}")
|
||||
endif()
|
||||
endmacro(check_add_gcc_compiler_cflag)
|
||||
|
||||
macro(check_add_gcc_compiler_flag FLAG)
|
||||
string(REGEX REPLACE "[-=]" "_" FLAGNAME "${FLAG}")
|
||||
check_add_gcc_compiler_cxxflag("${FLAG}" "${FLAGNAME}")
|
||||
check_add_gcc_compiler_cflag("${FLAG}" "${FLAGNAME}")
|
||||
endmacro(check_add_gcc_compiler_flag)
|
||||
|
||||
add_definitions(-DQT_NO_EXCEPTIONS -DQT_STRICT_ITERATORS -DQT_NO_CAST_TO_ASCII)
|
||||
|
||||
if(WITH_APP_BUNDLE)
|
||||
@@ -217,6 +244,8 @@ add_gcc_compiler_flags("-fvisibility=hidden")
|
||||
add_gcc_compiler_cxxflags("-fvisibility-inlines-hidden")
|
||||
|
||||
if(CMAKE_BUILD_TYPE_LOWER STREQUAL "debug")
|
||||
check_add_gcc_compiler_flag("-Wshadow-compatible-local")
|
||||
check_add_gcc_compiler_flag("-Wshadow-local")
|
||||
add_gcc_compiler_flags("-Werror")
|
||||
endif()
|
||||
|
||||
@@ -251,16 +280,9 @@ if(CMAKE_BUILD_TYPE_LOWER MATCHES "(release|relwithdebinfo|minsizerel)")
|
||||
add_gcc_compiler_flags("-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2")
|
||||
endif()
|
||||
|
||||
check_c_compiler_flag("-Werror=format-security -Werror=implicit-function-declaration" WERROR_C_AVAILABLE)
|
||||
check_cxx_compiler_flag("-Werror=format-security" WERROR_CXX_AVAILABLE)
|
||||
if(WERROR_C_AVAILABLE AND WERROR_CXX_AVAILABLE)
|
||||
add_gcc_compiler_flags("-Werror=format-security")
|
||||
add_gcc_compiler_cflags("-Werror=implicit-function-declaration")
|
||||
endif()
|
||||
|
||||
if(CMAKE_COMPILER_IS_GNUCXX)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wcast-align")
|
||||
endif()
|
||||
check_add_gcc_compiler_flag("-Werror=format-security")
|
||||
check_add_gcc_compiler_flag("-Werror=implicit-function-declaration")
|
||||
check_add_gcc_compiler_flag("-Wcast-align")
|
||||
|
||||
if(WITH_COVERAGE AND CMAKE_COMPILER_IS_CLANGXX)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fprofile-instr-generate -fcoverage-mapping")
|
||||
@@ -271,14 +293,8 @@ if(WITH_COVERAGE AND CMAKE_COMPILER_IS_CLANGXX)
|
||||
# `find src -iname '*.h' -or -iname '*.cpp'`
|
||||
endif()
|
||||
|
||||
if(CMAKE_COMPILER_IS_GNUCC)
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wcast-align")
|
||||
endif()
|
||||
|
||||
if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
if(CMAKE_COMPILER_IS_CLANGXX)
|
||||
add_gcc_compiler_flags("-Qunused-arguments")
|
||||
endif()
|
||||
check_add_gcc_compiler_flag("-Qunused-arguments")
|
||||
add_gcc_compiler_flags("-pie -fPIE")
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--no-add-needed -Wl,--as-needed -Wl,--no-undefined")
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-z,relro,-z,now")
|
||||
@@ -289,10 +305,7 @@ endif()
|
||||
add_gcc_compiler_cflags("-std=c99")
|
||||
add_gcc_compiler_cxxflags("-std=c++11")
|
||||
|
||||
if((CMAKE_COMPILER_IS_GNUCXX AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 4.9.99) OR
|
||||
(CMAKE_COMPILER_IS_CLANGXX AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 3.6.99))
|
||||
add_gcc_compiler_cxxflags("-fsized-deallocation")
|
||||
endif()
|
||||
check_add_gcc_compiler_flag("-fsized-deallocation")
|
||||
|
||||
if(APPLE AND CMAKE_COMPILER_IS_CLANGXX)
|
||||
add_gcc_compiler_cxxflags("-stdlib=libc++")
|
||||
@@ -334,12 +347,13 @@ if(MINGW)
|
||||
set(PLUGIN_INSTALL_DIR ".")
|
||||
set(DATA_INSTALL_DIR "share")
|
||||
elseif(APPLE AND WITH_APP_BUNDLE)
|
||||
set(CMAKE_INSTALL_MANDIR "${PROGNAME}.app/Contents/Resources/man")
|
||||
set(CLI_INSTALL_DIR "${PROGNAME}.app/Contents/MacOS")
|
||||
set(PROXY_INSTALL_DIR "${PROGNAME}.app/Contents/MacOS")
|
||||
set(BIN_INSTALL_DIR "${PROGNAME}.app/Contents/MacOS")
|
||||
set(PLUGIN_INSTALL_DIR "${PROGNAME}.app/Contents/PlugIns")
|
||||
set(DATA_INSTALL_DIR "${PROGNAME}.app/Contents/Resources")
|
||||
set(BUNDLE_INSTALL_DIR "${PROGNAME}.app/Contents")
|
||||
set(CMAKE_INSTALL_MANDIR "${BUNDLE_INSTALL_DIR}/Resources/man")
|
||||
set(CLI_INSTALL_DIR "${BUNDLE_INSTALL_DIR}/MacOS")
|
||||
set(PROXY_INSTALL_DIR "${BUNDLE_INSTALL_DIR}/MacOS")
|
||||
set(BIN_INSTALL_DIR "${BUNDLE_INSTALL_DIR}/MacOS")
|
||||
set(PLUGIN_INSTALL_DIR "${BUNDLE_INSTALL_DIR}/PlugIns")
|
||||
set(DATA_INSTALL_DIR "${BUNDLE_INSTALL_DIR}/Resources")
|
||||
else()
|
||||
include(GNUInstallDirs)
|
||||
|
||||
|
||||
321
COPYING
@@ -1,5 +1,5 @@
|
||||
KeePassXC - http://www.keepassxc.org/
|
||||
Copyright (C) 2016-2019 KeePassXC Team <team@keepassxc.org>
|
||||
Copyright (C) 2016-2020 KeePassXC Team <team@keepassxc.org>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@@ -27,7 +27,7 @@ Copyright: 2010-2012, Felix Geyer <debfx@fobos.de>
|
||||
2000-2008, Tom Sato <VEF00200@nifty.ne.jp>
|
||||
2013, Laszlo Papp <lpapp@kde.org>
|
||||
2013, David Faure <faure@kde.org>
|
||||
2016-2019, KeePassXC Team <team@keepassxc.org>
|
||||
2016-2020, KeePassXC Team <team@keepassxc.org>
|
||||
License: GPL-2 or GPL-3
|
||||
|
||||
Comment: The "KeePassXC Team" in every copyright notice is formed by the following people:
|
||||
@@ -38,11 +38,6 @@ Comment: The "KeePassXC Team" in every copyright notice is formed by the followi
|
||||
- weslly
|
||||
Every other contributor is listed on https://github.com/keepassxreboot/keepassxc/graphs/contributors
|
||||
|
||||
Files: cmake/GNUInstallDirs.cmake
|
||||
Copyright: 2011 Nikita Krupen'ko <krnekit@gmail.com>
|
||||
2011 Kitware, Inc.
|
||||
License: BSD-3-clause
|
||||
|
||||
Files: cmake/CodeCoverage.cmake
|
||||
Copyright: 2012 - 2015, Lars Bilke
|
||||
License: BSD-3-clause
|
||||
@@ -55,168 +50,155 @@ Files: cmake/GenerateProductVersion.cmake
|
||||
Copyright: 2015 halex2005 <akharlov@gmail.com>
|
||||
License: MIT
|
||||
|
||||
Files: share/icons/application/*/apps/keepassxc.png
|
||||
share/icons/application/scalable/apps/keepassxc.svg
|
||||
share/icons/application/*/apps/keepassxc-dark.png
|
||||
Files: share/icons/application/scalable/apps/keepassxc.svg
|
||||
share/icons/application/scalable/apps/keepassxc-dark.svg
|
||||
share/icons/application/*/apps/keepassxc-locked.png
|
||||
share/icons/application/scalable/apps/keepassxc-locked.svg
|
||||
share/icons/application/*/apps/keepassxc-unlocked.png
|
||||
share/icons/application/scalable/apps/keepassxc-unlocked.svg
|
||||
share/icons/application/*/mimetypes/application-x-keepassxc.png
|
||||
share/icons/application/scalable/mimetypes/application-x-keepassxc.svg
|
||||
Copyright: 2016, Lorenzo Stella <lorenzo.stl@gmail.com>
|
||||
License: LGPL-2
|
||||
|
||||
Files: share/icons/application/*/actions/auto-type.png
|
||||
share/icons/application/*/actions/database-change-key.png
|
||||
share/icons/application/*/actions/entry-clone.png
|
||||
share/icons/application/*/actions/entry-edit.png
|
||||
share/icons/application/*/actions/entry-new.png
|
||||
share/icons/application/*/actions/group-empty-trash.png
|
||||
share/icons/application/*/actions/help-about.png
|
||||
share/icons/application/*/actions/password-generate.png
|
||||
share/icons/database/C00_Password.png
|
||||
share/icons/database/C01_Package_Network.png
|
||||
share/icons/database/C02_MessageBox_Warning.png
|
||||
share/icons/database/C03_Server.png
|
||||
share/icons/database/C04_Klipper.png
|
||||
share/icons/database/C05_Edu_Languages.png
|
||||
share/icons/database/C06_KCMDF.png
|
||||
share/icons/database/C07_Kate.png
|
||||
share/icons/database/C08_Socket.png
|
||||
share/icons/database/C09_Identity.png
|
||||
share/icons/database/C10_Kontact.png
|
||||
share/icons/database/C11_Camera.png
|
||||
share/icons/database/C12_IRKickFlash.png
|
||||
share/icons/database/C13_KGPG_Key3.png
|
||||
share/icons/database/C14_Laptop_Power.png
|
||||
share/icons/database/C15_Scanner.png
|
||||
share/icons/database/C16_Mozilla_Firebird.png
|
||||
share/icons/database/C17_CDROM_Unmount.png
|
||||
share/icons/database/C18_Display.png
|
||||
share/icons/database/C19_Mail_Generic.png
|
||||
share/icons/database/C20_Misc.png
|
||||
share/icons/database/C21_KOrganizer.png
|
||||
share/icons/database/C22_ASCII.png
|
||||
share/icons/database/C23_Icons.png
|
||||
share/icons/database/C24_Connect_Established.png
|
||||
share/icons/database/C25_Folder_Mail.png
|
||||
share/icons/database/C26_FileSave.png
|
||||
share/icons/database/C27_NFS_Unmount.png
|
||||
share/icons/database/C28_QuickTime.png
|
||||
share/icons/database/C29_KGPG_Term.png
|
||||
share/icons/database/C30_Konsole.png
|
||||
share/icons/database/C31_FilePrint.png
|
||||
share/icons/database/C32_FSView.png
|
||||
share/icons/database/C33_Run.png
|
||||
share/icons/database/C34_Configure.png
|
||||
share/icons/database/C35_KRFB.png
|
||||
share/icons/database/C36_Ark.png
|
||||
share/icons/database/C37_KPercentage.png
|
||||
share/icons/database/C38_Samba_Unmount.png
|
||||
share/icons/database/C39_History.png
|
||||
share/icons/database/C40_Mail_Find.png
|
||||
share/icons/database/C41_VectorGfx.png
|
||||
share/icons/database/C42_KCMMemory.png
|
||||
share/icons/database/C43_EditTrash.png
|
||||
share/icons/database/C44_KNotes.png
|
||||
share/icons/database/C45_Cancel.png
|
||||
share/icons/database/C46_Help.png
|
||||
share/icons/database/C47_KPackage.png
|
||||
share/icons/database/C48_Folder.png
|
||||
share/icons/database/C49_Folder_Blue_Open.png
|
||||
share/icons/database/C50_Folder_Tar.png
|
||||
share/icons/database/C51_Decrypted.png
|
||||
share/icons/database/C52_Encrypted.png
|
||||
share/icons/database/C53_Apply.png
|
||||
share/icons/database/C54_Signature.png
|
||||
share/icons/database/C55_Thumbnail.png
|
||||
share/icons/database/C56_KAddressBook.png
|
||||
share/icons/database/C57_View_Text.png
|
||||
share/icons/database/C58_KGPG.png
|
||||
share/icons/database/C59_Package_Development.png
|
||||
share/icons/database/C60_KFM_Home.png
|
||||
share/icons/database/C61_Services.png
|
||||
Copyright: 2003-2004, David Vignoni <david@icon-king.com>
|
||||
License: LGPL-2.1
|
||||
Comment: from Nuvola icon theme
|
||||
|
||||
Files: share/icons/application/*/actions/entry-delete.png
|
||||
share/icons/application/*/actions/group-delete.png
|
||||
share/icons/application/*/actions/group-edit.png
|
||||
share/icons/application/*/actions/group-new.png
|
||||
Copyright: 2003-2004, David Vignoni <david@icon-king.com>
|
||||
2012, Felix Geyer <debfx@fobos.de>
|
||||
License: LGPL-2.1
|
||||
Comment: based on Nuvola icon theme
|
||||
|
||||
Files: share/icons/application/*/actions/favicon-download.png
|
||||
Copyright: 2003-2004, David Vignoni <david@icon-king.com>
|
||||
2018, Kyle Kneitinger <kyle@kneit.in>
|
||||
License: LGPL-2.1
|
||||
Comment: based on Nuvola icon theme
|
||||
|
||||
Files: share/icons/application/*/actions/application-exit.png
|
||||
share/icons/application/*/actions/chronometer.png
|
||||
share/icons/application/*/actions/configure.png
|
||||
share/icons/application/*/actions/database-lock.png
|
||||
share/icons/application/*/actions/dialog-close.png
|
||||
share/icons/application/*/actions/dialog-ok.png
|
||||
share/icons/application/*/actions/document-close.png
|
||||
share/icons/application/*/actions/document-edit.png
|
||||
share/icons/application/*/actions/document-new.png
|
||||
share/icons/application/*/actions/document-open.png
|
||||
share/icons/application/*/actions/document-properties.png
|
||||
share/icons/application/*/actions/document-save.png
|
||||
share/icons/application/*/actions/document-save-as.png
|
||||
share/icons/application/*/actions/edit-clear-locationbar-ltr.png
|
||||
share/icons/application/*/actions/edit-clear-locationbar-rtl.png
|
||||
share/icons/application/*/actions/key-enter.png
|
||||
share/icons/application/*/actions/password-generator.png
|
||||
share/icons/application/*/actions/password-copy.png
|
||||
share/icons/application/*/actions/password-show-*.png
|
||||
share/icons/application/*/actions/system-search.png
|
||||
share/icons/application/*/actions/username-copy.png
|
||||
share/icons/application/*/actions/view-history.png
|
||||
share/icons/application/*/apps/internet-web-browser.png
|
||||
share/icons/application/*/apps/preferences-desktop-icons.png
|
||||
share/icons/application/*/apps/utilities-terminal.png
|
||||
share/icons/application/*/categories/preferences-other.png
|
||||
share/icons/application/*/status/dialog-error.png
|
||||
share/icons/application/*/status/dialog-information.png
|
||||
share/icons/application/*/status/dialog-warning.png
|
||||
share/icons/application/*/status/security-high.png
|
||||
share/icons/svg/*.svg
|
||||
Copyright: 2007, Nuno Pinheiro <nuno@oxygen-icons.org>
|
||||
2007, David Vignoni <david@icon-king.com>
|
||||
2007, David Miller <miller@oxygen-icons.org>
|
||||
2007, Johann Ollivier Lapeyre <johann@oxygen-icons.org>
|
||||
2007, Kenneth Wimer <kwwii@bootsplash.org>
|
||||
2007, Riccardo Iaconelli <riccardo@oxygen-icons.org>
|
||||
License: LGPL-3+
|
||||
Comment: from Oxygen icon theme (http://www.oxygen-icons.org/)
|
||||
|
||||
Files: share/icons/database/C62_Tux.png
|
||||
share/icons/database/C63_Feather.png
|
||||
share/icons/database/C64_Apple.png
|
||||
share/icons/database/C67_Certificate.png
|
||||
share/icons/database/C68_BlackBerry.png
|
||||
Copyright: Mairin Duffy
|
||||
Sarah Owens
|
||||
James Birkett
|
||||
Dominik Reichl
|
||||
License: CC0
|
||||
Comment: C62_Tux.png from https://openclipart.org/detail/103855
|
||||
C63_Feather.png from http://openclipart.org/detail/122017
|
||||
C64_Apple.png based on http://openclipart.org/detail/24319
|
||||
C67_Certificate.png based on https://openclipart.org/detail/16729
|
||||
C68_BlackBerry.png from https://openclipart.org/detail/4465
|
||||
|
||||
Files: share/icons/database/C65_W.png
|
||||
share/icons/database/C66_Money.png
|
||||
Files: share/icons/database/C00_Password.svg
|
||||
share/icons/database/C01_Package_Network.svg
|
||||
share/icons/database/C02_MessageBox_Warning.svg
|
||||
share/icons/database/C03_Server.svg
|
||||
share/icons/database/C04_Klipper.svg
|
||||
share/icons/database/C05_Edu_Languages.svg
|
||||
share/icons/database/C06_KCMDF.svg
|
||||
share/icons/database/C08_Socket.svg
|
||||
share/icons/database/C09_Identity.svg
|
||||
share/icons/database/C10_Kontact.svg
|
||||
share/icons/database/C11_Camera.svg
|
||||
share/icons/database/C12_IRKickFlash.svg
|
||||
share/icons/database/C13_KGPG_Key3.svg
|
||||
share/icons/database/C14_Laptop_Power.svg
|
||||
share/icons/database/C15_Scanner.svg
|
||||
share/icons/database/C16_Mozilla_Firebird.svg
|
||||
share/icons/database/C19_Mail_Generic.svg
|
||||
share/icons/database/C20_Misc.svg
|
||||
share/icons/database/C21_KOrganizer.svg
|
||||
share/icons/database/C22_ASCII.svg
|
||||
share/icons/database/C23_Icons.svg
|
||||
share/icons/database/C24_Connect_Established.svg
|
||||
share/icons/database/C25_Folder_Mail.svg
|
||||
share/icons/database/C28_QuickTime.svg
|
||||
share/icons/database/C29_KGPG_Term.svg
|
||||
share/icons/database/C30_Konsole.svg
|
||||
share/icons/database/C31_FilePrint.svg
|
||||
share/icons/database/C32_FSView.svg
|
||||
share/icons/database/C33_Run.svg
|
||||
share/icons/database/C34_Configure.svg
|
||||
share/icons/database/C36_Ark.svg
|
||||
share/icons/database/C39_History.svg
|
||||
share/icons/database/C40_Mail_Find.svg
|
||||
share/icons/database/C41_VectorGfx.svg
|
||||
share/icons/database/C42_KCMMemory.svg
|
||||
share/icons/database/C43_EditTrash.svg
|
||||
share/icons/database/C47_KPackage.svg
|
||||
share/icons/database/C48_Folder.svg
|
||||
share/icons/database/C49_Folder_Blue_Open.svg
|
||||
share/icons/database/C50_Folder_Tar.svg
|
||||
share/icons/database/C55_Thumbnail.svg
|
||||
share/icons/database/C56_KAddressBook.svg
|
||||
share/icons/database/C57_View_Text.svg
|
||||
share/icons/database/C58_KGPG.svg
|
||||
share/icons/database/C59_Package_Development.svg
|
||||
share/icons/database/C60_KFM_Home.svg
|
||||
share/icons/database/C62_Tux.svg
|
||||
share/icons/database/C63_Feather.svg
|
||||
share/icons/database/C65_W.svg
|
||||
share/icons/database/C67_Certificate.svg
|
||||
share/icons/database/C68_BlackBerry.svg
|
||||
Copyright: none
|
||||
License: public-domain
|
||||
License: MIT
|
||||
Comment: Taken from https://github.com/icons8/flat-color-icons
|
||||
|
||||
Files: share/icons/badges/0_ShareActive.svg
|
||||
share/icons/badges/1_ShareInactive.svg
|
||||
share/icons/database/C07_Kate.svg
|
||||
share/icons/database/C17_CDROM_Unmount.svg
|
||||
share/icons/database/C18_Display.svg
|
||||
share/icons/database/C26_FileSave.svg
|
||||
share/icons/database/C27_NFS_Unmount.svg
|
||||
share/icons/database/C35_KRFB.svg
|
||||
share/icons/database/C38_Samba_Unmount.svg
|
||||
share/icons/database/C44_KNotes.svg
|
||||
share/icons/database/C51_Decrypted.svg
|
||||
share/icons/database/C52_Encrypted.svg
|
||||
share/icons/database/C54_Signature.svg
|
||||
share/icons/database/C66_Money.svg
|
||||
Copyright: none
|
||||
License: CC0
|
||||
Comment: Taken from https://github.com/paomedia/small-n-flat
|
||||
|
||||
Files: share/icons/badges/2_Expired.svg
|
||||
share/icons/database/C37_KPercentage.svg
|
||||
share/icons/database/C45_Cancel.svg
|
||||
share/icons/database/C46_Help.svg
|
||||
share/icons/database/C53_Apply.svg
|
||||
share/icons/database/C61_Services.svg
|
||||
Copyright: 2020 KeePassXC Team <team@keepassxc.org>
|
||||
License: MIT
|
||||
|
||||
Files: share/icons/application/scalable/actions/document-close.svg
|
||||
share/icons/application/scalable/actions/document-edit.svg
|
||||
share/icons/application/scalable/actions/document-export.svg
|
||||
share/icons/application/scalable/actions/document-import.svg
|
||||
share/icons/application/scalable/actions/document-new.svg
|
||||
share/icons/application/scalable/actions/document-open.svg
|
||||
share/icons/application/scalable/actions/document-open-recent.svg
|
||||
share/icons/application/scalable/actions/document-properties.svg
|
||||
share/icons/application/scalable/actions/document-save.svg
|
||||
share/icons/application/scalable/actions/document-save-as.svg
|
||||
share/icons/application/scalable/actions/document-save-copy.svg
|
||||
share/icons/application/scalable/actions/edit-clear-locationbar-ltr.svg
|
||||
share/icons/application/scalable/actions/edit-clear-locationbar-rtl.svg
|
||||
share/icons/application/scalable/actions/entry-clone.svg
|
||||
share/icons/application/scalable/actions/entry-delete.svg
|
||||
share/icons/application/scalable/actions/entry-edit.svg
|
||||
share/icons/application/scalable/actions/entry-new.svg
|
||||
share/icons/application/scalable/actions/favicon-download.svg
|
||||
share/icons/application/scalable/actions/group-delete.svg
|
||||
share/icons/application/scalable/actions/group-edit.svg
|
||||
share/icons/application/scalable/actions/group-empty-trash.svg
|
||||
share/icons/application/scalable/actions/group-new.svg
|
||||
share/icons/application/scalable/actions/help-about.svg
|
||||
share/icons/application/scalable/actions/key-enter.svg
|
||||
share/icons/application/scalable/actions/message-close.svg
|
||||
share/icons/application/scalable/actions/move-down.svg
|
||||
share/icons/application/scalable/actions/move-up.svg
|
||||
share/icons/application/scalable/actions/paperclip.svg
|
||||
share/icons/application/scalable/actions/password-copy.svg
|
||||
share/icons/application/scalable/actions/password-generate.svg
|
||||
share/icons/application/scalable/actions/password-generator.svg
|
||||
share/icons/application/scalable/actions/password-show-off.svg
|
||||
share/icons/application/scalable/actions/password-show-on.svg
|
||||
share/icons/application/scalable/actions/refresh.svg
|
||||
share/icons/application/scalable/actions/reports.svg
|
||||
share/icons/application/scalable/actions/reports-exclude.svg
|
||||
share/icons/application/scalable/actions/statistics.svg
|
||||
share/icons/application/scalable/actions/system-help.svg
|
||||
share/icons/application/scalable/actions/system-search.svg
|
||||
share/icons/application/scalable/actions/url-copy.svg
|
||||
share/icons/application/scalable/actions/username-copy.svg
|
||||
share/icons/application/scalable/actions/view-history.svg
|
||||
share/icons/application/scalable/apps/internet-web-browser.svg
|
||||
share/icons/application/scalable/apps/keepassxc.svg
|
||||
share/icons/application/scalable/apps/keepassxc-dark.svg
|
||||
share/icons/application/scalable/apps/keepassxc-locked.svg
|
||||
share/icons/application/scalable/apps/keepassxc-unlocked.svg
|
||||
share/icons/application/scalable/apps/preferences-desktop-icons.svg
|
||||
share/icons/application/scalable/apps/preferences-system-network-sharing.svg
|
||||
share/icons/application/scalable/apps/utilities-terminal.svg
|
||||
share/icons/application/scalable/categories/preferences-other.svg
|
||||
share/icons/application/scalable/mimetypes/application-x-keepassxc.svg
|
||||
share/icons/application/scalable/status/dialog-error.svg
|
||||
share/icons/application/scalable/status/dialog-information.svg
|
||||
share/icons/application/scalable/status/dialog-warning.svg
|
||||
share/icons/application/scalable/status/security-high.svg
|
||||
Copyright: 2019 Austin Andrews <http://templarian.com/>
|
||||
License: SIL OPEN FONT LICENSE Version 1.1
|
||||
Comment: Taken from Material Design icon set (https://github.com/templarian/MaterialDesign/)
|
||||
|
||||
Files: src/streams/qtiocompressor.*
|
||||
src/streams/QtIOCompressor
|
||||
@@ -224,10 +206,6 @@ Files: src/streams/qtiocompressor.*
|
||||
Copyright: 2009-2012, Nokia Corporation and/or its subsidiary(-ies)
|
||||
License: LGPL-2.1 or GPL-3
|
||||
|
||||
Files: cmake/GetGitRevisionDescription.cmake*
|
||||
Copyright: 2009-2010, Iowa State University
|
||||
License: Boost-1.0
|
||||
|
||||
Files: src/zxcvbn/zxcvbn.*
|
||||
Copyright: 2015-2017, Tony Evans
|
||||
License: MIT
|
||||
@@ -238,7 +216,7 @@ Copyright: 2011 Aurélien Gâteau <agateau@kde.org>
|
||||
2014 Dominik Haumann <dhaumann@kde.org>
|
||||
License: LGPL-2.1
|
||||
|
||||
Files: share/macosx/dmg-background.tiff
|
||||
Files: share/macosx/background.tiff
|
||||
Copyright: 2008-2014, Andrey Tarantsov
|
||||
License: MIT
|
||||
|
||||
@@ -246,10 +224,7 @@ Files: share/icons/application/scalable/apps/freedesktop.svg
|
||||
Copyright: GPL-2+
|
||||
Comment: from Freedesktop.org website
|
||||
|
||||
Files: share/icons/application/32x32/actions/statistics.png
|
||||
Copyright: Icon made by Freepik from https://www.flaticon.com/free-icon/bars-chart_265733
|
||||
|
||||
Files: share/icons/application/scalable/actions/object-locked.svg
|
||||
share/icons/application/scalable/actions/object-unlocked.svg
|
||||
License: LGPL-3
|
||||
Comment: from Breeze icon theme (https://github.com/KDE/breeze-icons)
|
||||
Files: share/icons/application/scalable/actions/hibp.svg
|
||||
share/icons/database/C64_Apple.svg
|
||||
Copyright: GPL-2+
|
||||
Comment: from the Simple Icons repo (https://github.com/simple-icons/simple-icons/)
|
||||
|
||||
@@ -2,9 +2,7 @@ Build and Install KeePassXC
|
||||
=================
|
||||
|
||||
This document will guide you through the steps to build and install KeePassXC from source.
|
||||
You can visit the online version of this document at the following link:
|
||||
|
||||
https://github.com/keepassxreboot/keepassx/wiki/Install-Instruction-from-Source
|
||||
For more information, see also the [_Building KeePassXC_](https://github.com/keepassxreboot/keepassxc/wiki/Building-KeePassXC) page on the wiki.
|
||||
|
||||
The [KeePassXC QuickStart](./docs/QUICKSTART.md) gets you started using KeePassXC on your
|
||||
Windows, Mac, or Linux computer using the pre-built binaries.
|
||||
@@ -35,7 +33,7 @@ Prepare the Building Environment
|
||||
|
||||
* [Building Environment on Linux](https://github.com/keepassxreboot/keepassxc/wiki/Set-up-Build-Environment-on-Linux)
|
||||
* [Building Environment on Windows](https://github.com/keepassxreboot/keepassxc/wiki/Set-up-Build-Environment-on-Windows)
|
||||
* [Building Environment on MacOS](https://github.com/keepassxreboot/keepassxc/wiki/Set-up-Build-Environment-on-OS-X)
|
||||
* [Building Environment on MacOS](https://github.com/keepassxreboot/keepassxc/wiki/Set-up-Build-Environment-on-macOS)
|
||||
|
||||
Build Steps
|
||||
===========
|
||||
@@ -70,7 +68,6 @@ git checkout master
|
||||
Navigate to the directory where you have downloaded KeePassXC and type these commands:
|
||||
|
||||
```
|
||||
cd directory-where-sources-live
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DWITH_XC_ALL=ON ..
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
Boost Software License - Version 1.0 - August 17th, 2003
|
||||
|
||||
Permission is hereby granted, free of charge, to any person or organization
|
||||
obtaining a copy of the software and accompanying documentation covered by
|
||||
this license (the "Software") to use, reproduce, display, distribute,
|
||||
execute, and transmit the Software, and to prepare derivative works of the
|
||||
Software, and to permit third-parties to whom the Software is furnished to
|
||||
do so, all subject to the following:
|
||||
|
||||
The copyright notices in the Software and this entire statement, including
|
||||
the above license grant, this restriction and the following disclaimer,
|
||||
must be included in all copies of the Software, in whole or in part, and
|
||||
all derivative works of the Software, unless such copies or derivative
|
||||
works are solely in the form of machine-executable object code generated by
|
||||
a source language processor.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
|
||||
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
|
||||
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
|
||||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
DEALINGS IN THE SOFTWARE.
|
||||
96
LICENSE.OFL
Normal file
@@ -0,0 +1,96 @@
|
||||
Copyright (c) 2014, Austin Andrews (http://materialdesignicons.com/),
|
||||
with Reserved Font Name Material Design Icons.
|
||||
Copyright (c) 2014, Google (http://www.google.com/design/)
|
||||
uses the license at https://github.com/google/material-design-icons/blob/master/LICENSE
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
@@ -1,7 +1,8 @@
|
||||
# <img src="https://keepassxc.org/logo.png" width="40" height="40"/> KeePassXC
|
||||
[/statusIcon)](https://ci.keepassxc.org/?guest=1) [](https://codecov.io/gh/keepassxreboot/keepassxc)
|
||||
# <img src="https://keepassxc.org/images/keepassxc-logo.svg" width="40" height="40"/> KeePassXC
|
||||
[/statusIcon)](https://ci.keepassxc.org/?guest=1)
|
||||
[](https://codecov.io/gh/keepassxreboot/keepassxc)
|
||||
[](https://github.com/keepassxreboot/keepassxc/releases/)
|
||||
|
||||
## About KeePassXC
|
||||
[KeePassXC](https://keepassxc.org) is a cross-platform community fork of
|
||||
[KeePassX](https://www.keepassx.org/).
|
||||
Our goal is to extend and improve it with new features and bugfixes
|
||||
@@ -29,7 +30,7 @@ so please check out your distribution's package list to see if KeePassXC is avai
|
||||
- Using website favicons as entry icons
|
||||
- Merging of databases
|
||||
- Automatic reload when the database changed on disk
|
||||
- Browser integration with KeePassXC-Browser using [native messaging](https://developer.chrome.com/extensions/nativeMessaging) for [Mozilla Firefox](https://addons.mozilla.org/en-US/firefox/addon/keepassxc-browser/) and [Google Chrome, Chromium, Vivaldi, or Brave](https://chrome.google.com/webstore/detail/keepassxc-browser/oboonakemofpalcgghocfoadofidjkkk)
|
||||
- Browser integration with KeePassXC-Browser using [native messaging](https://developer.chrome.com/extensions/nativeMessaging) for [Mozilla Firefox](https://addons.mozilla.org/en-US/firefox/addon/keepassxc-browser/) and [Google Chrome, Chromium, Vivaldi, or Brave](https://chrome.google.com/webstore/detail/keepassxc-browser/oboonakemofpalcgghocfoadofidjkkk) and [Microsoft Edge](https://microsoftedge.microsoft.com/addons/detail/pdffhmdngciaglkoonimfcmckehcpafo)
|
||||
- Synchronize passwords using KeeShare. See [Using Sharing](./docs/QUICKSTART.md#using-sharing) for more details.
|
||||
- Many bug fixes
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ set(EXCLUDED_DIRS
|
||||
# objective-c directories
|
||||
src/touchid/
|
||||
src/autotype/mac/
|
||||
src/gui/macutils/)
|
||||
src/gui/osutils/macutils/)
|
||||
|
||||
set(EXCLUDED_FILES
|
||||
# third-party files
|
||||
|
||||
@@ -1,35 +1,33 @@
|
||||
# List of Keyboard Shortcuts for KeepassXC
|
||||
|
||||
Actions | Keyboard Shortcuts
|
||||
---------------------------|----------------------------
|
||||
New Database | Ctrl + Shift + N
|
||||
Open Database | Ctrl + O
|
||||
Save Database | Ctrl + S
|
||||
Save Database As | Ctrl + Shift + S
|
||||
Close Database | Ctrl + W
|
||||
Lock Databases | Ctrl + L
|
||||
Quit | Ctrl + Q
|
||||
New Entry | Ctrl + N
|
||||
Edit Entry | Ctrl + E
|
||||
Delete Entry | Ctrl + D
|
||||
Clone Entry | Ctrl + K
|
||||
Show TOTP | Ctrl + Shift + T
|
||||
Copy TOTP | Ctrl + T
|
||||
Copy Username | Ctrl + B
|
||||
Copy Password | Ctrl + C
|
||||
Trigger AutoType | Ctrl + Shift - V
|
||||
Open Url | Ctrl + Shift - U
|
||||
Copy Url | Ctrl + U
|
||||
Show Minimized | Ctrl + M
|
||||
Hide Window | Ctrl + Shift - M
|
||||
Select Next Database Tab | Ctrl + Tab *OR* Ctrl + PGDN
|
||||
Select Previous Datase Tab | Ctrl + Shift + Tab *OR* Ctrl + PGUP
|
||||
Toggle Passwords Hidden | Ctrl + Shift + C
|
||||
Toggle Usernames Hidden | Ctrl + Shift + B
|
||||
Focus Search | Ctrl + F
|
||||
Clear Search | ESC
|
||||
Show Keyboard Shortcuts | Ctrl + /
|
||||
|
||||
|
||||
|
||||
# List of Keyboard Shortcuts for KeePassXC
|
||||
|
||||
Actions | Keyboard Shortcuts
|
||||
-----------------------------|----------------------------
|
||||
New Database | Ctrl + Shift + N
|
||||
Open Database | Ctrl + O
|
||||
Save Database | Ctrl + S
|
||||
Save Database As | Ctrl + Shift + S
|
||||
Close Database | Ctrl + W
|
||||
Lock Databases | Ctrl + L
|
||||
Quit | Ctrl + Q
|
||||
New Entry | Ctrl + N
|
||||
Edit Entry | Ctrl + E
|
||||
Delete Entry | Ctrl + D
|
||||
Clone Entry | Ctrl + K
|
||||
Show TOTP | Ctrl + Shift + T
|
||||
Copy TOTP | Ctrl + T
|
||||
Copy Username | Ctrl + B
|
||||
Copy Password | Ctrl + C
|
||||
Trigger AutoType | Ctrl + Shift - V
|
||||
Open URL | Ctrl + Shift - U
|
||||
Copy URL | Ctrl + U
|
||||
Add key to SSH Agent | Ctrl + H
|
||||
Remove key from SSH Agent | Ctrl + Shift + H
|
||||
Show Minimized | Ctrl + M
|
||||
Hide Window | Ctrl + Shift - M
|
||||
Select Next Database Tab | Ctrl + Tab *OR* Ctrl + PGDN
|
||||
Select Previous Database Tab | Ctrl + Shift + Tab *OR* Ctrl + PGUP
|
||||
Toggle Passwords Hidden | Ctrl + Shift + C
|
||||
Toggle Usernames Hidden | Ctrl + Shift + B
|
||||
Focus Search | Ctrl + F
|
||||
Clear Search | ESC
|
||||
Show Keyboard Shortcuts | Ctrl + /
|
||||
|
||||
@@ -49,7 +49,7 @@ Sharing allows you to share a subset of your credentials with others and vice ve
|
||||
|
||||
### Enable Sharing
|
||||
|
||||
To use sharing, you need to enable for the application.
|
||||
To use sharing, you need to enable it for the application.
|
||||
|
||||
1. Go to Tools → Settings.
|
||||
1. Select the category KeeShare.
|
||||
@@ -120,14 +120,14 @@ There is a simple overview of shared groups to keep track of your data.
|
||||
|
||||
## Technical Details and Limitations of Sharing
|
||||
|
||||
Sharing relies on the combination of file exports and imports as well as the synchronization mechanism provided by KeePassXC. Since the merge algorithm uses the history of entries to prevent data loss, this history must be enabled and have a sufficient size. Furthermore, the merge algorithm is location independend, therefore it does not matter if entries are moved outside of an import group. These entries will be updated none the less. Moving entries outside of export groups will prevent a further export of the entry, but it will not ensure that the already shared data will be removed from any client.
|
||||
Sharing relies on the combination of file exports and imports as well as the synchronization mechanism provided by KeePassXC. Since the merge algorithm uses the history of entries to prevent data loss, this history must be enabled and have a sufficient size. Furthermore, the merge algorithm is location independent, therefore it does not matter if entries are moved outside of an import group. These entries will be updated none the less. Moving entries outside of export groups will prevent a further export of the entry, but it will not ensure that the already shared data will be removed from any client.
|
||||
|
||||
KeeShare uses a custom certification mechanism to ensure that the source of the data is the expected one. This ensures that the data was exported by the signer but it is not possible to detect if someone replaced the data with an older version from a valid signer. To prevent this, the container could be placed at a location which is only writeable for valid signers.
|
||||
|
||||
## Using Auto Open
|
||||
|
||||
The Auto Open feature automatically loads and unlocks additional databases when you unlock your main database.
|
||||
In order to use this functionnality, do the following:
|
||||
In order to use this functionality, do the following:
|
||||
|
||||
1. Create a group called **AutoOpen** at the root of your main database.
|
||||
1. In this group, create a new entry for each database that should be opened automatically:
|
||||
|
||||
49
release-tool
@@ -616,11 +616,9 @@ appimage() {
|
||||
fi
|
||||
|
||||
if [ ! -d "${appdir}" ]; then
|
||||
logError "AppDir does not exist, please create one with 'make install'!\n"
|
||||
exit 1
|
||||
exitError "AppDir does not exist, please create one with 'make install'!"
|
||||
elif [ -e "${appdir}/AppRun" ]; then
|
||||
logError "AppDir has already been run through linuxdeploy, please create a fresh AppDir with 'make install'.\n"
|
||||
exit 1
|
||||
exitError "AppDir has already been run through linuxdeploy, please create a fresh AppDir with 'make install'."
|
||||
fi
|
||||
|
||||
appdir="$(realpath "$appdir")"
|
||||
@@ -652,14 +650,18 @@ appimage() {
|
||||
logInfo "Downloading linuxdeploy..."
|
||||
linuxdeploy="./linuxdeploy"
|
||||
linuxdeploy_cleanup="rm -f ${linuxdeploy}"
|
||||
curl -L "https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage" > "$linuxdeploy"
|
||||
if ! curl -Lf "https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage" > "$linuxdeploy"; then
|
||||
exitError "linuxdeploy download failed."
|
||||
fi
|
||||
chmod +x "$linuxdeploy"
|
||||
fi
|
||||
if ! ${docker_test_cmd} which ${linuxdeploy_plugin_qt} &> /dev/null; then
|
||||
logInfo "Downloading linuxdeploy-plugin-qt..."
|
||||
linuxdeploy_plugin_qt="./linuxdeploy-plugin-qt"
|
||||
linuxdeploy_plugin_qt_cleanup="rm -f ${linuxdeploy_plugin_qt}"
|
||||
curl -L "https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage" > "$linuxdeploy_plugin_qt"
|
||||
if ! curl -Lf "https://github.com/linuxdeploy/linuxdeploy-plugin-qt/releases/download/continuous/linuxdeploy-plugin-qt-x86_64.AppImage" > "$linuxdeploy_plugin_qt"; then
|
||||
exitError "linuxdeploy-plugin-qt download failed."
|
||||
fi
|
||||
chmod +x "$linuxdeploy_plugin_qt"
|
||||
fi
|
||||
|
||||
@@ -668,7 +670,9 @@ appimage() {
|
||||
logInfo "Downloading appimagetool..."
|
||||
appimagetool="./appimagetool"
|
||||
appimagetool_cleanup="rm -f ${appimagetool}"
|
||||
curl -L "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage" > "$appimagetool"
|
||||
if ! curl -Lf "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage" > "$appimagetool"; then
|
||||
exitError "appimagetool download failed."
|
||||
fi
|
||||
chmod +x "$appimagetool"
|
||||
fi
|
||||
|
||||
@@ -718,6 +722,10 @@ EOF
|
||||
--library=\$(ldconfig -p | grep x86-64 | grep -oP '/[^\s]+/libgpg-error\.so\.\d+$' | head -n1)"
|
||||
fi
|
||||
|
||||
if [ $? -ne 0 ]; then
|
||||
exitError "AppDir deployment failed."
|
||||
fi
|
||||
|
||||
logInfo "Creating AppImage..."
|
||||
local appsign_flag=""
|
||||
local appsign_key_flag=""
|
||||
@@ -737,8 +745,10 @@ EOF
|
||||
# Run appimagetool to package (and possibly sign) AppImage
|
||||
# --no-appstream is required, since it may crash on newer systems
|
||||
# see: https://github.com/AppImage/AppImageKit/issues/856
|
||||
"$appimagetool" --updateinformation "gh-releases-zsync|keepassxreboot|keepassxc|latest|KeePassXC-*-x86_64.AppImage.zsync" \
|
||||
${appsign_flag} ${appsign_key_flag} --no-appstream "$appdir" "${out_real}/${appimage_name}"
|
||||
if ! "$appimagetool" --updateinformation "gh-releases-zsync|keepassxreboot|keepassxc|latest|KeePassXC-*-x86_64.AppImage.zsync" \
|
||||
${appsign_flag} ${appsign_key_flag} --no-appstream "$appdir" "${out_real}/${appimage_name}"; then
|
||||
exitError "AppImage creation failed."
|
||||
fi
|
||||
|
||||
logInfo "Cleaning up temporary files..."
|
||||
${linuxdeploy_cleanup}
|
||||
@@ -906,7 +916,7 @@ build() {
|
||||
|
||||
if ! ${build_snapshot} && [ -e "${OUTPUT_DIR}/build-release" ]; then
|
||||
logInfo "Cleaning existing build directory..."
|
||||
rm -r "${OUTPUT_DIR}/build-release" 2> /dev/null
|
||||
rm -rf "${OUTPUT_DIR}/build-release" 2> /dev/null
|
||||
if [ $? -ne 0 ]; then
|
||||
exitError "Failed to clean existing build directory, please do it manually."
|
||||
fi
|
||||
@@ -977,13 +987,15 @@ build() {
|
||||
cpack -G "${CPACK_GENERATORS};${build_generators}"
|
||||
|
||||
# Inject the portable config into the zip build and rename
|
||||
touch .portable
|
||||
for filename in ${APP_NAME}-*.zip; do
|
||||
logInfo "Creating portable zip file"
|
||||
local folder=$(echo ${filename} | sed -r 's/(.*)\.zip/\1/')
|
||||
python -c 'import zipfile,sys ; zipfile.ZipFile(sys.argv[1],"a").write(sys.argv[2],sys.argv[3])' \
|
||||
${filename} ${SRC_DIR}/share/keepassxc.ini ${folder}/keepassxc.ini
|
||||
${filename} .portable ${folder}/.portable
|
||||
mv ${filename} ${folder}-portable.zip
|
||||
done
|
||||
rm .portable
|
||||
|
||||
mv "${APP_NAME}-"*.* ../
|
||||
else
|
||||
@@ -1200,9 +1212,14 @@ appsign() {
|
||||
exitError "Unpacking failed!"
|
||||
fi
|
||||
|
||||
logInfo "Signing app..."
|
||||
xcrun codesign --sign "${key}" --verbose --deep --entitlements \
|
||||
"${real_src_dir}/share/macosx/keepassxc.entitlements" ./app/KeePassXC.app
|
||||
logInfo "Signing app bundle..."
|
||||
xcrun codesign --sign "${key}" --verbose --deep --options runtime ./app/KeePassXC.app
|
||||
|
||||
# Sign main binary and libraries independently so we can keep using the convenient --deep
|
||||
# option while avoiding adding entitlements recursively
|
||||
logInfo "Signing main binary..."
|
||||
xcrun codesign --sign "${key}" --verbose --force --options runtime --entitlements \
|
||||
"${real_src_dir}/share/macosx/keepassxc.entitlements" ./app/KeePassXC.app/Contents/MacOS/KeePassXC
|
||||
|
||||
if [ 0 -ne $? ]; then
|
||||
cd "${orig_dir}"
|
||||
@@ -1286,8 +1303,8 @@ appsign() {
|
||||
|
||||
# osslsigncode does not succeed at signing MSI files at this time...
|
||||
logInfo "Signing file '${f}' using Microsoft signtool..."
|
||||
signtool sign -f "${key}" -p "${password}" -d "KeePassXC" \
|
||||
-t "http://timestamp.comodoca.com/authenticode" "${f}"
|
||||
signtool sign -f "${key}" -p "${password}" -d "KeePassXC" -td sha256 \
|
||||
-fd sha256 -tr "http://timestamp.comodoca.com/authenticode" "${f}"
|
||||
|
||||
if [ 0 -ne $? ]; then
|
||||
exitError "Signing failed!"
|
||||
|
||||
@@ -19,9 +19,8 @@ add_subdirectory(translations)
|
||||
file(GLOB wordlists_files "wordlists/*.wordlist")
|
||||
install(FILES ${wordlists_files} DESTINATION ${DATA_INSTALL_DIR}/wordlists)
|
||||
|
||||
file(GLOB DATABASE_ICONS icons/database/*.png)
|
||||
|
||||
install(FILES ${DATABASE_ICONS} DESTINATION ${DATA_INSTALL_DIR}/icons/database)
|
||||
# Copy wordlists to build dir for use in tests
|
||||
file(COPY "wordlists" DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
|
||||
|
||||
if(UNIX AND NOT APPLE AND NOT HAIKU)
|
||||
install(DIRECTORY icons/application/ DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor
|
||||
@@ -39,104 +38,23 @@ if(APPLE)
|
||||
install(FILES macosx/keepassxc.icns DESTINATION ${DATA_INSTALL_DIR})
|
||||
endif()
|
||||
|
||||
install(FILES icons/application/256x256/apps/keepassxc.png DESTINATION ${DATA_INSTALL_DIR}/icons/application/256x256/apps)
|
||||
|
||||
install(DIRECTORY docs/ DESTINATION ${DATA_INSTALL_DIR}/docs FILES_MATCHING PATTERN "*.pdf")
|
||||
|
||||
install(DIRECTORY wizard/ DESTINATION ${DATA_INSTALL_DIR}/wizard FILES_MATCHING PATTERN "*.png")
|
||||
|
||||
install(DIRECTORY icons/application/ DESTINATION ${DATA_INSTALL_DIR}/icons/application
|
||||
FILES_MATCHING PATTERN "*.png" PATTERN "*.svg")
|
||||
add_custom_target(icons)
|
||||
add_custom_command(TARGET icons
|
||||
COMMAND bash ./icons/minify.sh
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
if(APPLE)
|
||||
add_custom_command(TARGET icons
|
||||
COMMAND png2icns macosx/keepassxc.icns icons/application/256x256/apps/keepassxc.png
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
endif()
|
||||
|
||||
add_custom_target(icons
|
||||
# SVG to PNGs for KeePassXC
|
||||
COMMAND inkscape -z -w 16 -h 16
|
||||
icons/application/scalable/apps/keepassxc.svg -e icons/application/16x16/apps/keepassxc.png
|
||||
COMMAND inkscape -z -w 24 -h 24
|
||||
icons/application/scalable/apps/keepassxc.svg -e icons/application/24x24/apps/keepassxc.png
|
||||
COMMAND inkscape -z -w 32 -h 32
|
||||
icons/application/scalable/apps/keepassxc.svg -e icons/application/32x32/apps/keepassxc.png
|
||||
COMMAND inkscape -z -w 48 -h 48
|
||||
icons/application/scalable/apps/keepassxc.svg -e icons/application/48x48/apps/keepassxc.png
|
||||
COMMAND inkscape -z -w 64 -h 64
|
||||
icons/application/scalable/apps/keepassxc.svg -e icons/application/64x64/apps/keepassxc.png
|
||||
COMMAND inkscape -z -w 128 -h 128
|
||||
icons/application/scalable/apps/keepassxc.svg -e icons/application/128x128/apps/keepassxc.png
|
||||
COMMAND inkscape -z -w 256 -h 256
|
||||
icons/application/scalable/apps/keepassxc.svg -e icons/application/256x256/apps/keepassxc.png
|
||||
|
||||
# SVG to PNGs for KeePassXC
|
||||
COMMAND inkscape -z -w 16 -h 16
|
||||
icons/application/scalable/apps/keepassxc-dark.svg -e icons/application/16x16/apps/keepassxc-dark.png
|
||||
COMMAND inkscape -z -w 24 -h 24
|
||||
icons/application/scalable/apps/keepassxc-dark.svg -e icons/application/24x24/apps/keepassxc-dark.png
|
||||
COMMAND inkscape -z -w 32 -h 32
|
||||
icons/application/scalable/apps/keepassxc-dark.svg -e icons/application/32x32/apps/keepassxc-dark.png
|
||||
COMMAND inkscape -z -w 48 -h 48
|
||||
icons/application/scalable/apps/keepassxc-dark.svg -e icons/application/48x48/apps/keepassxc-dark.png
|
||||
COMMAND inkscape -z -w 64 -h 64
|
||||
icons/application/scalable/apps/keepassxc-dark.svg -e icons/application/64x64/apps/keepassxc-dark.png
|
||||
COMMAND inkscape -z -w 128 -h 128
|
||||
icons/application/scalable/apps/keepassxc-dark.svg -e icons/application/128x128/apps/keepassxc-dark.png
|
||||
COMMAND inkscape -z -w 256 -h 256
|
||||
icons/application/scalable/apps/keepassxc-dark.svg -e icons/application/256x256/apps/keepassxc-dark.png
|
||||
|
||||
# SVG to PNGs for KeePassXC
|
||||
COMMAND inkscape -z -w 16 -h 16
|
||||
icons/application/scalable/apps/keepassxc-locked.svg -e icons/application/16x16/apps/keepassxc-locked.png
|
||||
COMMAND inkscape -z -w 24 -h 24
|
||||
icons/application/scalable/apps/keepassxc-locked.svg -e icons/application/24x24/apps/keepassxc-locked.png
|
||||
COMMAND inkscape -z -w 32 -h 32
|
||||
icons/application/scalable/apps/keepassxc-locked.svg -e icons/application/32x32/apps/keepassxc-locked.png
|
||||
COMMAND inkscape -z -w 48 -h 48
|
||||
icons/application/scalable/apps/keepassxc-locked.svg -e icons/application/48x48/apps/keepassxc-locked.png
|
||||
COMMAND inkscape -z -w 64 -h 64
|
||||
icons/application/scalable/apps/keepassxc-locked.svg -e icons/application/64x64/apps/keepassxc-locked.png
|
||||
COMMAND inkscape -z -w 128 -h 128
|
||||
icons/application/scalable/apps/keepassxc-locked.svg -e icons/application/128x128/apps/keepassxc-locked.png
|
||||
COMMAND inkscape -z -w 256 -h 256
|
||||
icons/application/scalable/apps/keepassxc-locked.svg -e icons/application/256x256/apps/keepassxc-locked.png
|
||||
|
||||
# SVG to PNGs for KeePassXC
|
||||
COMMAND inkscape -z -w 16 -h 16
|
||||
icons/application/scalable/apps/keepassxc-unlocked.svg -e icons/application/16x16/apps/keepassxc-unlocked.png
|
||||
COMMAND inkscape -z -w 24 -h 24
|
||||
icons/application/scalable/apps/keepassxc-unlocked.svg -e icons/application/24x24/apps/keepassxc-unlocked.png
|
||||
COMMAND inkscape -z -w 32 -h 32
|
||||
icons/application/scalable/apps/keepassxc-unlocked.svg -e icons/application/32x32/apps/keepassxc-unlocked.png
|
||||
COMMAND inkscape -z -w 48 -h 48
|
||||
icons/application/scalable/apps/keepassxc-unlocked.svg -e icons/application/48x48/apps/keepassxc-unlocked.png
|
||||
COMMAND inkscape -z -w 64 -h 64
|
||||
icons/application/scalable/apps/keepassxc-unlocked.svg -e icons/application/64x64/apps/keepassxc-unlocked.png
|
||||
COMMAND inkscape -z -w 128 -h 128
|
||||
icons/application/scalable/apps/keepassxc-unlocked.svg -e icons/application/128x128/apps/keepassxc-unlocked.png
|
||||
COMMAND inkscape -z -w 256 -h 256
|
||||
icons/application/scalable/apps/keepassxc-unlocked.svg -e icons/application/256x256/apps/keepassxc-unlocked.png
|
||||
|
||||
# SVG to PNGs for KeePassXC MIME-Type
|
||||
COMMAND inkscape -z -w 16 -h 16
|
||||
icons/application/scalable/mimetypes/application-x-keepassxc.svg -e icons/application/16x16/mimetypes/application-x-keepassxc.png
|
||||
COMMAND inkscape -z -w 22 -h 22
|
||||
icons/application/scalable/mimetypes/application-x-keepassxc.svg -e icons/application/22x22/mimetypes/application-x-keepassxc.png
|
||||
COMMAND inkscape -z -w 32 -h 32
|
||||
icons/application/scalable/mimetypes/application-x-keepassxc.svg -e icons/application/32x32/mimetypes/application-x-keepassxc.png
|
||||
COMMAND inkscape -z -w 64 -h 64
|
||||
icons/application/scalable/mimetypes/application-x-keepassxc.svg -e icons/application/64x64/mimetypes/application-x-keepassxc.png
|
||||
COMMAND inkscape -z -w 128 -h 128
|
||||
icons/application/scalable/mimetypes/application-x-keepassxc.svg -e icons/application/128x128/mimetypes/application-x-keepassxc.png
|
||||
|
||||
# Shrink PNGs using pngcrush
|
||||
COMMAND bash ./crushpng.sh icons
|
||||
|
||||
# ICNS for MacOS
|
||||
COMMAND png2icns macosx/keepassxc.icns
|
||||
icons/application/16x16/apps/keepassxc.png
|
||||
icons/application/32x32/apps/keepassxc.png
|
||||
icons/application/48x48/apps/keepassxc.png
|
||||
icons/application/128x128/apps/keepassxc.png
|
||||
icons/application/256x256/apps/keepassxc.png
|
||||
|
||||
# ICO for Windows
|
||||
# ICO for Windows
|
||||
add_custom_command(TARGET icons
|
||||
COMMAND bash ./windows/create-ico.sh icons/application/scalable/apps/keepassxc.svg windows/keepassxc.ico
|
||||
COMMAND bash ./windows/create-ico.sh icons/application/scalable/mimetypes/application-x-keepassxc.svg windows/keepassxc-kdbx.ico
|
||||
|
||||
VERBATIM
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [[ -z $1 ]]; then
|
||||
echo "You must supply a root folder!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
find "$1" -iname '*png' -exec pngcrush -ow -brute {} \;
|
||||
BIN
share/demo.kdbx
@@ -1,4 +1,4 @@
|
||||
.TH KEEPASSXC-CLI 1 "June 15, 2019"
|
||||
.TH KEEPASSXC-CLI 1 "Jan 04, 2020"
|
||||
|
||||
.SH NAME
|
||||
keepassxc-cli \- command line interface for the \fBKeePassXC\fP password manager.
|
||||
@@ -7,7 +7,7 @@ keepassxc-cli \- command line interface for the \fBKeePassXC\fP password manager
|
||||
.B keepassxc-cli
|
||||
.I command
|
||||
.B [
|
||||
-I options
|
||||
.I options
|
||||
.B ]
|
||||
|
||||
.SH DESCRIPTION
|
||||
@@ -15,118 +15,121 @@ keepassxc-cli \- command line interface for the \fBKeePassXC\fP password manager
|
||||
|
||||
.SH COMMANDS
|
||||
|
||||
.IP "add [options] <database> <entry>"
|
||||
.IP "\fBadd\fP [options] <database> <entry>"
|
||||
Adds a new entry to a database. A password can be generated (\fI-g\fP option), or a prompt can be displayed to input the password (\fI-p\fP option).
|
||||
The same password generation options as documented for the generate command can be used when the \fI-g\fP option is set.
|
||||
|
||||
.IP "analyze [options] <database>"
|
||||
.IP "\fBanalyze\fP [options] <database>"
|
||||
Analyzes passwords in a database for weaknesses.
|
||||
|
||||
.IP "clip [options] <database> <entry> [timeout]"
|
||||
Copies the password or the current TOTP (\fI-t\fP option) of a database entry to the clipboard. If multiple entries with the same name exist in different groups, only the password for the first one is going to be copied. For copying the password of an entry in a specific group, the group path to the entry should be specified as well, instead of just the name. Optionally, a timeout in seconds can be specified to automatically clear the clipboard.
|
||||
.IP "\fBclip\fP [options] <database> <entry> [timeout]"
|
||||
Copies an attribute or the current TOTP (if the \fI-t\fP option is specified) of a database entry to the clipboard. If no attribute name is specified using the \fI-a\fP option, the password is copied. If multiple entries with the same name exist in different groups, only the attribute for the first one is copied. For copying the attribute of an entry in a specific group, the group path to the entry should be specified as well, instead of just the name. Optionally, a timeout in seconds can be specified to automatically clear the clipboard.
|
||||
|
||||
.IP "close"
|
||||
.IP "\fBclose\fP"
|
||||
In interactive mode, closes the currently opened database (see \fIopen\fP).
|
||||
|
||||
.IP "create [options] <database>"
|
||||
Creates a new database with a key file and/or password. The key file will be created if the file that is referred to does not exist. If both the key file and password are empty, no database will be created.
|
||||
.IP "\fBdb-create\fP [options] <database>"
|
||||
Creates a new database with a password and/or a key file. The key file will be created if the file that is referred to does not exist. If both the key file and password are empty, no database will be created.
|
||||
|
||||
.IP "diceware [options]"
|
||||
.IP "\fBdb-info\fP [options] <database>"
|
||||
Show a database's information.
|
||||
|
||||
.IP "\fBdiceware\fP [options]"
|
||||
Generates a random diceware passphrase.
|
||||
|
||||
.IP "edit [options] <database> <entry>"
|
||||
.IP "\fBedit\fP [options] <database> <entry>"
|
||||
Edits a database entry. A password can be generated (\fI-g\fP option), or a prompt can be displayed to input the password (\fI-p\fP option).
|
||||
The same password generation options as documented for the generate command can be used when the \fI-g\fP option is set.
|
||||
|
||||
.IP "estimate [options] [password]"
|
||||
.IP "\fBestimate\fP [options] [password]"
|
||||
Estimates the entropy of a password. The password to estimate can be provided as a positional argument, or using the standard input.
|
||||
|
||||
.IP "exit"
|
||||
.IP "\fBexit\fP"
|
||||
Exits interactive mode. Synonymous with \fIquit\fP.
|
||||
|
||||
.IP "export [options] <database>"
|
||||
.IP "\fBexport\fP [options] <database>"
|
||||
Exports the content of a database to standard output in the specified format (defaults to XML).
|
||||
|
||||
.IP "generate [options]"
|
||||
.IP "\fBgenerate\fP [options]"
|
||||
Generates a random password.
|
||||
|
||||
.IP "help [command]"
|
||||
.IP "\fBhelp\fP [command]"
|
||||
Displays a list of available commands, or detailed information about the specified command.
|
||||
|
||||
.IP "import [options] <xml> <database>"
|
||||
.IP "\fBimport\fP [options] <xml> <database>"
|
||||
Imports the contents of an XML database to the target database.
|
||||
|
||||
.IP "locate [options] <database> <term>"
|
||||
.IP "\fBlocate\fP [options] <database> <term>"
|
||||
Locates all the entries that match a specific search term in a database.
|
||||
|
||||
.IP "ls [options] <database> [group]"
|
||||
.IP "\fBls\fP [options] <database> [group]"
|
||||
Lists the contents of a group in a database. If no group is specified, it will default to the root group.
|
||||
|
||||
.IP "merge [options] <database1> <database2>"
|
||||
.IP "\fBmerge\fP [options] <database1> <database2>"
|
||||
Merges two databases together. The first database file is going to be replaced by the result of the merge, for that reason it is advisable to keep a backup of the two database files before attempting a merge. In the case that both databases make use of the same credentials, the \fI--same-credentials\fP or \fI-s\fP option can be used.
|
||||
|
||||
.IP "mkdir [options] <database> <group>"
|
||||
.IP "\fBmkdir\fP [options] <database> <group>"
|
||||
Adds a new group to a database.
|
||||
|
||||
.IP "mv [options] <database> <entry> <group>"
|
||||
.IP "\fBmv\fP [options] <database> <entry> <group>"
|
||||
Moves an entry to a new group.
|
||||
|
||||
.IP "open [options] <database>"
|
||||
.IP "\fBopen\fP [options] <database>"
|
||||
Opens the given database in a shell-style interactive mode. This is useful for performing multiple operations on a single database (e.g. \fIls\fP followed by \fIshow\fP).
|
||||
|
||||
.IP "quit"
|
||||
.IP "\fBquit\fP"
|
||||
Exits interactive mode. Synonymous with \fIexit\fP.
|
||||
|
||||
.IP "rm [options] <database> <entry>"
|
||||
.IP "\fBrm\fP [options] <database> <entry>"
|
||||
Removes an entry from a database. If the database has a recycle bin, the entry will be moved there. If the entry is already in the recycle bin, it will be removed permanently.
|
||||
|
||||
.IP "rmdir [options] <database> <group>"
|
||||
.IP "\fBrmdir\fP [options] <database> <group>"
|
||||
Removes a group from a database. If the database has a recycle bin, the group will be moved there. If the group is already in the recycle bin, it will be removed permanently.
|
||||
|
||||
.IP "show [options] <database> <entry>"
|
||||
.IP "\fBshow\fP [options] <database> <entry>"
|
||||
Shows the title, username, password, URL and notes of a database entry. Can also show the current TOTP. Regarding the occurrence of multiple entries with the same name in different groups, everything stated in the \fIclip\fP command section also applies here.
|
||||
|
||||
.SH OPTIONS
|
||||
|
||||
.SS "General options"
|
||||
|
||||
.IP "--debug-info"
|
||||
.IP "\fB--debug-info\fP"
|
||||
Displays debugging information.
|
||||
|
||||
.IP "-k, --key-file <path>"
|
||||
.IP "\fB-k\fP, \fB--key-file\fP <path>"
|
||||
Specifies a path to a key file for unlocking the database. In a merge operation this option, is used to specify the key file path for the first database.
|
||||
|
||||
.IP "--no-password"
|
||||
.IP "\fB--no-password\fP"
|
||||
Deactivates the password key for the database.
|
||||
|
||||
.IP "-y, --yubikey <slot>"
|
||||
.IP "\fB-y\fP, \fB--yubikey\fP <slot>"
|
||||
Specifies a yubikey slot for unlocking the database. In a merge operation this option is used to specify the yubikey slot for the first database.
|
||||
|
||||
.IP "-q, --quiet <path>"
|
||||
.IP "\fB-q\fP, \fB--quiet\fP <path>"
|
||||
Silences password prompt and other secondary outputs.
|
||||
|
||||
.IP "-h, --help"
|
||||
.IP "\fB-h\fP, \fB--help\fP"
|
||||
Displays help information.
|
||||
|
||||
.IP "-v, --version"
|
||||
.IP "\fB-v\fP, \fB--version\fP"
|
||||
Displays the program version.
|
||||
|
||||
|
||||
.SS "Merge options"
|
||||
|
||||
.IP "-d, --dry-run <path>"
|
||||
.IP "\fB-d\fP, \fB--dry-run\fP <path>"
|
||||
Prints the changes detected by the merge operation without making any changes to the database.
|
||||
|
||||
.IP "--key-file-from <path>"
|
||||
.IP "\fB--key-file-from\fP <path>"
|
||||
Sets the path of the key file for the second database.
|
||||
|
||||
.IP "--no-password-from"
|
||||
.IP "\fB--no-password-from\fP"
|
||||
Deactivates password key for the database to merge from.
|
||||
|
||||
.IP "--yubikey-from <slot>"
|
||||
.IP "\fB--yubikey-from\fP <slot>"
|
||||
Yubikey slot for the second database.
|
||||
|
||||
.IP "-s, --same-credentials"
|
||||
.IP "\fB-s\fP, \fB--same-credentials\fP"
|
||||
Uses the same credentials for unlocking both databases.
|
||||
|
||||
|
||||
@@ -134,34 +137,34 @@ Uses the same credentials for unlocking both databases.
|
||||
The same password generation options as documented for the generate command can be used
|
||||
with those 2 commands when the -g option is set.
|
||||
|
||||
.IP "-u, --username <username>"
|
||||
.IP "\fB-u\fP, \fB--username\fP <username>"
|
||||
Specifies the username of the entry.
|
||||
|
||||
.IP "--url <url>"
|
||||
.IP "\fB--url\fP <url>"
|
||||
Specifies the URL of the entry.
|
||||
|
||||
.IP "-p, --password-prompt"
|
||||
.IP "\fB-p\fP, \fB--password-prompt\fP"
|
||||
Uses a password prompt for the entry's password.
|
||||
|
||||
.IP "-g, --generate"
|
||||
.IP "\fB-g\fP, \fB--generate\fP"
|
||||
Generates a new password for the entry.
|
||||
|
||||
|
||||
.SS "Edit options"
|
||||
|
||||
.IP "-t, --title <title>"
|
||||
.IP "\fB-t\fP, \fB--title\fP <title>"
|
||||
Specifies the title of the entry.
|
||||
|
||||
|
||||
.SS "Estimate options"
|
||||
|
||||
.IP "-a, --advanced"
|
||||
.IP "\fB-a\fP, \fB--advanced\fP"
|
||||
Performs advanced analysis on the password.
|
||||
|
||||
|
||||
.SS "Analyze options"
|
||||
|
||||
.IP "-H, --hibp <filename>"
|
||||
.IP "\fB-H\fP, \fB--hibp\fP <filename>"
|
||||
Checks if any passwords have been publicly leaked, by comparing against the given
|
||||
list of password SHA-1 hashes, which must be in "Have I Been Pwned" format. Such
|
||||
files are available from https://haveibeenpwned.com/Passwords; note that they
|
||||
@@ -171,33 +174,49 @@ hour or so).
|
||||
|
||||
.SS "Clip options"
|
||||
|
||||
.IP "-t, --totp"
|
||||
Copies the current TOTP instead of current password to clipboard. Will report
|
||||
an error if no TOTP is configured for the entry.
|
||||
.IP "\fB-a\fP, \fB--attribute\fP"
|
||||
Copies the specified attribute to the clipboard. If no attribute is specified,
|
||||
the password attribute is the default. For example, "\fI-a\fP username" would
|
||||
copy the username to the clipboard. [Default: password]
|
||||
|
||||
.IP "\fB-t\fP, \fB--totp\fP"
|
||||
Copies the current TOTP instead of the specified attribute to the clipboard.
|
||||
Will report an error if no TOTP is configured for the entry.
|
||||
|
||||
.SS "Create options"
|
||||
|
||||
.IP "\fB-k\fP, \fB--set-key-file\fP <path>"
|
||||
Set the key file for the database.
|
||||
|
||||
.IP "\fB-p\fP, \fB--set-password\fP"
|
||||
Set a password for the database.
|
||||
|
||||
.IP "\fB-t\fP, \fB--decryption-time\fP <time>"
|
||||
Target decryption time in MS for the database.
|
||||
|
||||
|
||||
.SS "Show options"
|
||||
|
||||
.IP "-a, --attributes <attribute>..."
|
||||
.IP "\fB-a\fP, \fB--attributes\fP <attribute>..."
|
||||
Shows the named attributes. This option can be specified more than once,
|
||||
with each attribute shown one-per-line in the given order. If no attributes are
|
||||
specified and \fI-t\fP is not specified, a summary of the default attributes is given.
|
||||
Protected attributes will be displayed in clear text if specified explicitly by this option.
|
||||
|
||||
.IP "-s, --show-protected"
|
||||
.IP "\fB-s\fP, \fB--show-protected\fP"
|
||||
Shows the protected attributes in clear text.
|
||||
|
||||
.IP "-t, --totp"
|
||||
.IP "\fB-t\fP, \fB--totp\fP"
|
||||
Also shows the current TOTP, reporting an error if no TOTP is configured for
|
||||
the entry.
|
||||
|
||||
|
||||
.SS "Diceware options"
|
||||
|
||||
.IP "-W, --words <count>"
|
||||
.IP "\fB-W\fP, \fB--words\fP <count>"
|
||||
Sets the desired number of words for the generated passphrase. [Default: 7]
|
||||
|
||||
.IP "-w, --word-list <path>"
|
||||
.IP "\fB-w\fP, \fB--word-list\fP <path>"
|
||||
Sets the Path of the wordlist for the diceware generator. The wordlist must
|
||||
have > 1000 words, otherwise the program will fail. If the wordlist has < 4000
|
||||
words a warning will be printed to STDERR.
|
||||
@@ -205,45 +224,45 @@ words a warning will be printed to STDERR.
|
||||
|
||||
.SS "Export options"
|
||||
|
||||
.IP "-f, --format"
|
||||
.IP "\fB-f\fP, \fB--format\fP"
|
||||
Format to use when exporting. Available choices are xml or csv. Defaults to xml.
|
||||
|
||||
|
||||
.SS "List options"
|
||||
|
||||
.IP "-R, --recursive"
|
||||
.IP "\fB-R\fP, \fB--recursive\fP"
|
||||
Recursively lists the elements of the group.
|
||||
|
||||
.IP "-f, --flatten"
|
||||
.IP "\fB-f\fP, \fB--flatten\fP"
|
||||
Flattens the output to single lines. When this option is enabled, subgroups and subentries will be displayed with a relative group path instead of indentation.
|
||||
|
||||
.SS "Generate options"
|
||||
|
||||
.IP "-L, --length <length>"
|
||||
.IP "\fB-L\fP, \fB--length\fP <length>"
|
||||
Sets the desired length for the generated password. [Default: 16]
|
||||
|
||||
.IP "-l --lower"
|
||||
.IP "\fB-l\fP, \fB--lower\fP"
|
||||
Uses lowercase characters for the generated password. [Default: Enabled]
|
||||
|
||||
.IP "-U --upper"
|
||||
.IP "\fB-U\fP, \fB--upper\fP"
|
||||
Uses uppercase characters for the generated password. [Default: Enabled]
|
||||
|
||||
.IP "-n --numeric"
|
||||
.IP "\fB-n\fP, \fB--numeric\fP"
|
||||
Uses numbers characters for the generated password. [Default: Enabled]
|
||||
|
||||
.IP "-s --special"
|
||||
.IP "\fB-s\fP, \fB--special\fP"
|
||||
Uses special characters for the generated password. [Default: Disabled]
|
||||
|
||||
.IP "-e --extended"
|
||||
.IP "\fB-e\fP, \fB--extended\fP"
|
||||
Uses extended ASCII characters for the generated password. [Default: Disabled]
|
||||
|
||||
.IP "-x --exclude <chars>"
|
||||
.IP "\fB-x\fP, \fB--exclude\fP <chars>"
|
||||
Comma-separated list of characters to exclude from the generated password. None is excluded by default.
|
||||
|
||||
.IP "--exclude-similar"
|
||||
.IP "\fB--exclude-similar\fP"
|
||||
Exclude similar looking characters. [Default: Disabled]
|
||||
|
||||
.IP "--every-group"
|
||||
.IP "\fB--every-group\fP"
|
||||
Include characters from every selected group. [Default: Disabled]
|
||||
|
||||
|
||||
|
||||
@@ -14,25 +14,25 @@ keepassxc \- password manager
|
||||
\fBKeePassXC\fP is a free/open-source password manager or safe which helps you to manage your passwords in a secure way. The complete database is always encrypted with the industry-standard AES (alias Rijndael) encryption algorithm using a 256 bit key. KeePassXC uses a database format that is compatible with KeePass Password Safe. Your wallet works offline and requires no Internet connection.
|
||||
|
||||
.SH OPTIONS
|
||||
.IP "-h, --help"
|
||||
.IP "\fB-h\fP, \fB--help\fP"
|
||||
Displays this help.
|
||||
|
||||
.IP "-v, --version"
|
||||
.IP "\fB-v\fP, \fB--version\fP"
|
||||
Displays version information.
|
||||
|
||||
.IP "--config <config>"
|
||||
.IP "\fB--config\fP <config>"
|
||||
Path to a custom config file
|
||||
|
||||
.IP "--keyfile <keyfile>"
|
||||
.IP "\fB--keyfile\fP <keyfile>"
|
||||
Key file of the database
|
||||
|
||||
.IP "--pw-stdin"
|
||||
.IP "\fB--pw-stdin\fP"
|
||||
Read password of the database from stdin
|
||||
|
||||
.IP "--pw, --parent-window <handle>"
|
||||
.IP "\fB--pw\fP, \fB--parent-window\fP <handle>"
|
||||
Parent window handle
|
||||
|
||||
.IP "--debug-info"
|
||||
.IP "\fB--debug-info\fP"
|
||||
Displays debugging information.
|
||||
|
||||
.SH AUTHOR
|
||||
|
||||
|
Before Width: | Height: | Size: 4.9 KiB |
|
Before Width: | Height: | Size: 6.8 KiB |
|
Before Width: | Height: | Size: 7.4 KiB |
|
Before Width: | Height: | Size: 7.4 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 6.5 KiB |
|
Before Width: | Height: | Size: 851 B |
|
Before Width: | Height: | Size: 860 B |
|
Before Width: | Height: | Size: 606 B |
|
Before Width: | Height: | Size: 646 B |
|
Before Width: | Height: | Size: 454 B |
|
Before Width: | Height: | Size: 613 B |
|
Before Width: | Height: | Size: 665 B |
|
Before Width: | Height: | Size: 509 B |
|
Before Width: | Height: | Size: 649 B |
|
Before Width: | Height: | Size: 773 B |
|
Before Width: | Height: | Size: 500 B |
|
Before Width: | Height: | Size: 804 B |
|
Before Width: | Height: | Size: 571 B |
|
Before Width: | Height: | Size: 735 B |
|
Before Width: | Height: | Size: 713 B |
|
Before Width: | Height: | Size: 797 B |
|
Before Width: | Height: | Size: 832 B |
|
Before Width: | Height: | Size: 754 B |
|
Before Width: | Height: | Size: 627 B |
|
Before Width: | Height: | Size: 608 B |
|
Before Width: | Height: | Size: 880 B |
|
Before Width: | Height: | Size: 601 B |
|
Before Width: | Height: | Size: 704 B |
|
Before Width: | Height: | Size: 301 B |
|
Before Width: | Height: | Size: 478 B |
|
Before Width: | Height: | Size: 661 B |
|
Before Width: | Height: | Size: 903 B |
|
Before Width: | Height: | Size: 444 B |
|
Before Width: | Height: | Size: 738 B |
|
Before Width: | Height: | Size: 763 B |
|
Before Width: | Height: | Size: 866 B |
|
Before Width: | Height: | Size: 740 B |
|
Before Width: | Height: | Size: 801 B |
|
Before Width: | Height: | Size: 763 B |
|
Before Width: | Height: | Size: 492 B |
|
Before Width: | Height: | Size: 718 B |
|
Before Width: | Height: | Size: 715 B |
|
Before Width: | Height: | Size: 715 B |
|
Before Width: | Height: | Size: 627 B |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 984 B |
|
Before Width: | Height: | Size: 583 B |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 702 B |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 820 B |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 384 B |
|
Before Width: | Height: | Size: 574 B |
|
Before Width: | Height: | Size: 960 B |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 620 B |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 898 B |
|
Before Width: | Height: | Size: 968 B |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 779 B |
|
Before Width: | Height: | Size: 792 B |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |