Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix AppImage not detecting YubiKey and add support for keepassxc-cli to AppImages #1100

Merged
merged 4 commits into from
Oct 21, 2017

Conversation

phoerious
Copy link
Member

@phoerious phoerious commented Oct 21, 2017

Description

Resolves #1034.

This patch migrates our Docker build system from Ubuntu 14.04 to CentOS, uses custom builds of libyubikey and libykpers-1 and adds the ability to call keepassxc-cli inside an AppImage by using a "cli" argument.

Motivation and context

Previous AppImage releases were unable to detect a plugged-in YubiKey and were also unable to directly start keepassxc-cli.
CentOS 7, whose first release was also in 2014 (like Ubuntu 14.04, only months later), is still supported until 2024 (while Ubuntu 14.04 will be EOL by 2019). In addition to that, we needed a lot of PPAs, because many packages were quite outdated, including Qt itself. The new Dockerfile reduces the number of non-official dependencies (at least when this issue is closed: bugzy/keepassxc-rpm-spec#6). With it comes a Qt downgrade to 5.6, but that is still newer than Trusty's 5.2.
I hope, we don't lose too much compatibility by using a slightly newer base system.

How has this been tested?

AppImage runs and detects my YubiKey. With the "cli" argument, it starts keepassxc-cli instead of keepassxc.

Types of changes

  • ✅ Bug fix (non-breaking change which fixes an issue)
  • ✅ New feature (non-breaking change which adds functionality)

Checklist:

  • ✅ 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]

@phoerious phoerious added this to the v2.2.2 milestone Oct 21, 2017
@phoerious phoerious requested a review from a team October 21, 2017 19:20
@phoerious phoerious force-pushed the hotfix/issue-1034-appimage-yubikey branch from 484d2b9 to 7c55419 Compare October 21, 2017 19:21
@phoerious phoerious merged commit e2c6f50 into release/2.2.2 Oct 21, 2017
@phoerious phoerious deleted the hotfix/issue-1034-appimage-yubikey branch October 21, 2017 20:05
phoerious added a commit that referenced this pull request Oct 21, 2017
- Fixed entries with empty URLs being reported to KeePassHTTP clients [#1031]
- Fixed YubiKey detection and enabled CLI tool for AppImage binary [#1100]
- Added AppStream description [#1082]
- Improved TOTP compatibility and added new Base32 implementation [#1069]
- Fixed error handling when processing invalid cipher stream [#1099]
- Fixed double warning display when opening a database [#1037]
- Fixed unlocking databases with --pw-stdin [#1087]
- Added ability to override QT_PLUGIN_PATH environment variable for AppImages [#1079]
- Fixed transform seed not being regenerated when saving the database [#1068]
- Fixed only one YubiKey slot being polled [#1048]
- Corrected an issue with entry icons while merging [#1008]
- Corrected desktop and tray icons in Snap package [#1030]
- Fixed screen lock and Google fallback settings [#1029]
@phoerious phoerious added pr: bugfix Pull request that fixes a bug and removed bug labels Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
distribution pr: bugfix Pull request that fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants