Git credential helper for KWallet
- KWallet for obvious reasons
(the apt packageslibkf5wallet5
andlibkf5wallet-dev
) - help2man as an optional dependency for generating man pages
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .
sudo cmake --build . --target install
Configure as:
git config --global credentials.helper "kwallet --wallet kdewallet --folder git-credentials"
You can replace kdewallet
with your wallet and git-credentials
with your folder name of choice.
The folder will automatically be created. You can remove the --global
switch if you want to configure the helper only for the current git repository.
See also gitcredentials and git-credential.
git-credential-kwallet
is a git credential helper, it is meant to be invoked by git, not manually.
If you run into an issue and you want to investigate it by running the software directly, then be sure to close the input stream. e.g.:
git-credential-kwallet --debug store <<EOF
protocol=https
host=example.com
username=bob
password=s3cre7
EOF