Comments (6)
I think this is because keepassxc-cli needs to read your password from stdin. I have a branch in progress to add KeePassXC support. Watch this space.
from chezmoi.
As far as I can tell, KeePassX does have an API or a specification of the database file format.
Closing this issue until at least one of the above becomes available.
from chezmoi.
It seems that https://github.com/keepassxreboot/keepassxc provide a CLI. I think we should be able to use genericSecret.command to use it. keepassxc-cli can be used like that : keepassxc-cli show keepass-file.kdbx passwordkey -a Password
from chezmoi.
With :
"genericSecret.command" = "keepassxc-cli"
into ~/.config/chezmoi/chezmoi.toml
I can run
chezmoi secret generic -- show ./database.kdbx -a Password id
with success.
But, templating seems to not work :
{{ secret "-- show ./database.kdbx -a Password id" }}
generates something like that :
[85 115 97 103 46]
I don't know why.
from chezmoi.
Fixed by #293.
from chezmoi.
Many thanks. It is awesome. It works ;)
from chezmoi.
Related Issues (20)
- doctor reports age not in $PATH when it is HOT 2
- Regression in template rendering in 2.39.0 HOT 3
- More information on dashlanePasword HOT 5
- A tar external with AppleDouble files extracts them instead of applying the contents as attributes (or ignoring them) HOT 5
- WinGet installed a really old version? HOT 3
- Builtin Age decrypt throws invalid armor error and fails to decrypt file HOT 6
- Unable to write dotfiles into home folder HOT 10
- Mac M1: `.chezmoi.toml` fails to create from template file HOT 3
- chezmoi: .local/man: duplicate externals HOT 2
- [hg] init with URL not working out of the box HOT 9
- `chezmoi cd ~/.gitconfig` should fail within chezmoi
- Support: How can I change where Chezmoi stores its source state? I want to change the default of "~/.local/share/chezmoi" HOT 1
- chezmoi update --verbose does not use pager in config HOT 3
- Show absolute path or path relative to CWD in status HOT 5
- Understand where `chezmoi execute-template` runs into command not found error, related to symlink HOT 5
- Script execution not following ASCII / alphabetical order in subdirectories HOT 2
- chezmoi status does not work as expected HOT 3
- "cannot unmarshal !!seq into string" error with `.chezmoiexternal` template HOT 2
- Look for one of several executables in `$PATH`
- chezmoi 2.40's always outputs a blank page when using `PAGER` HOT 11
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 chezmoi.