microsoft / Git-Credential-Manager-for-Mac-and-Linux

Git Credential Manager for Mac and Linux stores credentials for Git version control securely. Provides secure logon for Visual Studio Team Services (visualstudio.com).
Other
406 stars 240 forks source link

Doesn't work with Linux Mint 19 Tara #108

Closed tometchy closed 5 years ago

tometchy commented 5 years ago

On Linux Mint 19 Tara, after installing and typing "git fetch" I get runtime exception that this OS doesn't have secure credential storage. I can't see in docs how can I install such a dependency, or what should I do in this case. Exception is:

Fatal: java.lang.RuntimeException encountered.  Details:
Secure credential storage is not available on this operating system. You may opt-in to store credentials in an unencrypted file under your user home directory by running 'git config --global credential.canFallBackToInsecureStore true'.
fatal: credential helper '!/usr/lib/jvm/java-11-openjdk-amd64/bin/java -Ddebug=false -Djava.net.useSystemProxies=true -jar /home/tometchy/git-credential-manager/git-credential-manager-2.0.4.jar' told us to quit

My OS version is: $ cat /etc/*-release

DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=19
DISTRIB_CODENAME=tara
DISTRIB_DESCRIPTION="Linux Mint 19 Tara"
NAME="Linux Mint"
VERSION="19 (Tara)"
ID=linuxmint
ID_LIKE=ubuntu
PRETTY_NAME="Linux Mint 19"
VERSION_ID="19"
HOME_URL="https://www.linuxmint.com/"
SUPPORT_URL="https://forums.ubuntu.com/"
BUG_REPORT_URL="http://linuxmint-troubleshooting-guide.readthedocs.io/en/latest/"
PRIVACY_POLICY_URL="https://www.linuxmint.com/"
VERSION_CODENAME=tara
UBUNTU_CODENAME=bionic

My git version is 2.17.1.

I know I can fall back to plain text password storing, but this is not why I wanted to install secure manager :)

tometchy commented 5 years ago

As there is still no answer I was forced to use different solution - libsecret. For those who ended up with similar situation I have described on my blog how to install and configure it, it's pretty simple - softwaredeveloper.blog/git-credential-storage-libsecret

tometchy commented 5 years ago

I'm closing because it's being discussed in another issue - #115.