Git Product home page Git Product logo

git-credential-kwallet's Introduction

git-credential-kwallet

Build

Git credential helper for KWallet

Dependencies

  • KWallet for obvious reasons
  • 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:

[credential]
    helper = kwallet

See also gitcredentials.

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

git-credential-kwallet's People

Contributors

templar-von-midgard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

git-credential-kwallet's Issues

Get `KF5WalletConfig.cmake`

When running

cmake -DCMAKE_BUILD_TYPE=Release ..

I get the following error:

-- The CXX compiler identification is GNU 9.3.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:12 (find_package):
  By not providing "FindKF5Wallet.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "KF5Wallet", but CMake did not find one.

  Could not find a package configuration file provided by "KF5Wallet"
  (requested version 5.18.0) with any of the following names:

    KF5WalletConfig.cmake
    kf5wallet-config.cmake

  Add the installation prefix of "KF5Wallet" to CMAKE_PREFIX_PATH or set
  "KF5Wallet_DIR" to a directory containing one of the above files.  If
  "KF5Wallet" provides a separate development package or SDK, be sure it has
  been installed.

-- Configuring incomplete, errors occurred!

Where/How do I get the KF5Wallet package or its package configuration file?
I am using KDE Plasma on Ubuntu and have KWallet installed.

Build Error

Hello, I have the following errors when compiling on Alpine Linux. Can you help me solve them?

[ 80%] Linking CXX executable git-credential-kwallet
/usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: CMakeFiles/git-credential-kwallet.dir/Credential.cpp.o: undefined reference to symbol '_ZdlPvm'
/usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: /usr/lib/libstdc++.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/git-credential-kwallet.dir/build.make:132: src/git-credential-kwallet] Error 1
make[1]: *** [CMakeFiles/Makefile2:125: src/CMakeFiles/git-credential-kwallet.dir/all] Error 2
make: *** [Makefile:156: all] Error 2

git does not use this helper

I compiled and installed the helper in /usr/loca/bin/git-credential-kwallet and configured ~/.gitconfig with:

[credential]
    helper = kwallet

If I do git fetch on any of the repositories, git asks me to enter username/password on command line. I was assuming kwallet will ask for username and password.

Thanks for creating this helper, it is very much needed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.