Skip to content

real-yfprojects/git-credential-kwallet

 
 

Repository files navigation

git-credential-kwallet

Build

Git credential helper for KWallet

Dependencies

  • KWallet for obvious reasons
    (the apt packages libkf5wallet5 and libkf5wallet-dev)
  • help2man as an optional dependency for generating man pages

Install

mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build .
sudo cmake --build . --target install

Usage

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

About

Git credential helper for KWallet

Resources

License

Stars

Watchers

Forks

Languages

  • C++ 83.6%
  • CMake 16.4%