Comments (4)
That being said, I noticed Git's credential helper config does allow passing CLI arguments and I've got it working on my setup, just had to set it as keepassxc <arguments here>
, so this'll do for now :D
from git-credential-keepassxc.
Yes I can confirm flatpak patches KPXC to change the socket path: https://github.com/flathub/org.keepassxc.KeePassXC/blob/master/patch/keepassxc/0004-Flatpak-Support-sandboxed-attachment-opening.patch
But instead of adding an attribute to the configuration file, how about exploring the option of using an environment variable?
If you have a look at the current command line options, there are quite a few that actually make sense to be persisted somewhere. However as it stands atm, the configuration file is solely used to store credentials. So jumping too quickly onto changing its contents sounds like opening a can of worms to me. In the future if there are needs, I'd rather aim for a more generic solution.
from git-credential-keepassxc.
Yeah I just wanted to see if the path could be configurable in some way, implementation can be as suitable :)
EDIT: My bad, I didn't notice that there was a CLI flag for this already 😅
from git-credential-keepassxc.
@Technohacker Yes, and it shouldn't be too difficult to write a bash wrapper to give it a default value. Though that'll mess with the caller verification unless bash has already been added, so still I think I'll add an environment variable as sandbox packages (snap, flatpak, etc) seem to often have non-standard socket paths.
from git-credential-keepassxc.
Related Issues (20)
- Prompt to use Yubikey? HOT 3
- `dyld: Library not loaded: /usr/local/opt/libusb/lib/libusb-1.0.0.dylib` on macbook M1 HOT 1
- to add some docs for `git-credential-keepassxc get` command for non git use cases
- Support for error codes
- Support for error codes HOT 2
- Existing credentials used/updated! HOT 9
- Offer credentials from `Git` group only (CLI flag & automatically)
- KeePassXC update 2.7.2/2.7.3 breaks connection to Unix socket HOT 1
- Exit code of `ERRO ... is not allowed to call git-credential-keepassxc` is `0` HOT 2
- Notifications configurable via config file HOT 2
- Allow `get` to optionally receive one argument, and print only that field HOT 2
- [AUR package] shell is not allowed to call git-credential-keepassxc HOT 7
- What is the expected behavior when computer has multiple YubiKeys? HOT 3
- Filter by username to return nothing when no match HOT 2
- Readme unclear HOT 3
- Trouble Retrieving Password From Shell HOT 1
- Add support for git 2.41 HOT 2
- zsh is not allowed to call git-credential-keepassxc HOT 1
- Failed to locate socket, Caused by: N/A HOT 1
- Failed to connect to Unix socket HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-credential-keepassxc.