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
keepassxc: 2.2.4 -> 2.3.0 #36281
keepassxc: 2.2.4 -> 2.3.0 #36281
Conversation
See the [changelog](https://github.com/keepassxreboot/keepassxc/blob/a06e85f6ceac39851ca694464f74c927dd953f1e/CHANGELOG#L1-L51). Changes to options: - `withKeePassBrowser`: New in version 2.3.0 and replaces the functionality provided by the KeePassHTTP plugin. Users should install the [KeePassXC-Browser extension](https://github.com/keepassxreboot/keepassxc-browser). Defaults to `true` to remain consistent with the old default for `withKeePassHTTP`. - `withKeePassHTTP`: This feature is deprecated and disabled by default in the source repository. Default changed from `true` to `false`. - `withKeePassNetworking`: Controls all network access code within KeePassXC. Defaults to `false` to match the source repository. - `withKeePassSSHAgent`: Enables the SSH Agent plugin for use with [KeeAgent](https://lechnology.com/software/keeagent/). Defaults to `false` to match the source repository.
, withKeePassBrowser ? true | ||
, withKeePassHTTP ? false | ||
, withKeePassNetworking ? false | ||
, withKeePassSSHAgent ? false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You would not enable this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't use the feature, so I don't have much of an opinion on this. I went with the default, but I'm happy to change it if it's generally useful to others.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The default is not every useful. It also disable WITH_XC_BROWSER
.
Thanks for this PR! JFYI: I've had to manually specify keepassxc-proxy location in the settings to get KeePassXC-Browser detect the app. I'm really not sure, but it could be that something out there needs some manual tweaking to Nix/NixOS filesystem layout. |
Let's address the browser location in a different pull request. |
I you don't specify a path it defaults to $ cat /home/joerg/.mozilla/native-messaging-hosts/org.keepassxc.keepassxc_browser.json
{
"allowed_extensions": [
"keepassxc-browser@keepassxc.org"
],
"description": "KeePassXC integration with native messaging support",
"name": "org.keepassxc.keepassxc_browser",
"path": "/nix/store/vrjh4h32mw8ffnjx5kgy6w3k08gwg1gr-keepassxc-2.3.0/bin/keepassxc-proxy",
"type": "stdio"
} However this path might be garbage collected eventually. |
The string that needs to replaced here: |
Never mind my comment above - I was wrong, it also works without specifying the path. Not sure why KeePassXC sometimes does not get detected (at least, for me) unless I open the settings dialog, but don't think it's a packaging issue. BTW, that C++ code looks correct to me - it takes |
I wonder why updating the manifest is not set by default. |
Motivation for this change
See the changelog.
Changes to options:
withKeePassBrowser
: New in version 2.3.0 and replaces the functionality provided by the KeePassHTTP plugin. Users should install the KeePassXC-Browser extension. Defaults totrue
to remain consistent with the old default forwithKeePassHTTP
.withKeePassHTTP
: This feature is deprecated and disabled by default in the source repository. Default changed fromtrue
tofalse
.withKeePassNetworking
: Controls all network access code within KeePassXC. Defaults tofalse
to match the source repository.withKeePassSSHAgent
: Enables the SSH Agent plugin for use with [KeeAgent](https://lechnology.com/softwareAdd
darwin
tolibargon2
platforms for MacOS support.Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)