Code Monkey home page Code Monkey logo

Comments (4)

mattcobley avatar mattcobley commented on July 2, 2024

I get the exact same error on a fresh install or liveCD of Ubuntu 18.04 or Kubuntu 18.04 (not via SSH, just in a regular terminal). The process I am following is the following and is the same on each environment:
Install Java 8 using the Oracle installer by running:

sudo add-apt-repository ppa:webupd8team/java
sudo apt update
sudo apt install oracle-java8-installer

Checked, and Java is available in my path - i.e. if I just type "java" the help options appear.

Then installed Linuxbrew following the instructions here: http://linuxbrew.sh/ i.e. running:

sudo apt install curl
sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)"

test -d ~/.linuxbrew && PATH="$HOME/.linuxbrew/bin:$HOME/.linuxbrew/sbin:$PATH"
test -d /home/linuxbrew/.linuxbrew && PATH="/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:$PATH"
test -r ~/.bash_profile && echo "export PATH='$(brew --prefix)/bin:$(brew --prefix)/sbin'":'"$PATH"' >>~/.bash_profile
echo "export PATH='$(brew --prefix)/bin:$(brew --prefix)/sbin'":'"$PATH"' >>~/.profile

Then installed GCM using the installation instructions in the Install.md file:

brew update
brew install git-credential-manager
git-credential-manager install

Note that nothing appears to happen after running the last command - not sure if that is okay or not.

Then tried running:
git clone <URL from VSTS>
as usual to clone a repo (which works fine in Git for Windows with Git Credential Manager installed), and get the same error that YoDaMa was getting above when just running that command:

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-8-oracle/jre/bin/java -Ddebug=false -Djava.net.useSystemProxies=true -jar /home/ubuntu/.linuxbrew/Cellar/git-credential-manager/2.0.4/libexec/git-credential-manager-2.0.4.jar' told us to quit

from git-credential-manager-for-mac-and-linux.

mattcobley avatar mattcobley commented on July 2, 2024

@pjdv2 thanks for the reminder about SSH authentication as an alternative. Would still be nice for this to get fixed though.

from git-credential-manager-for-mac-and-linux.

 avatar commented on July 2, 2024

@pjdv2 thanks for the reminder about SSH authentication as an alternative. Would still be nice for this to get fixed though.

I think SSH is probably still best to use at this moment. Check this reply as well. You may pass the exception, if you haven't installed GNOME Keyring, for example (as in #97), but then you still need to authenticate and this is another issue (see #102).

from git-credential-manager-for-mac-and-linux.

latefield avatar latefield commented on July 2, 2024

This is still a problem under Windows Subsystem for Linux with Ubuntu 20.04 and git-credential-manager installed using homebrew.

I get the following error the first time I try to pull a repo:

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 '!/home/linuxbrew/.linuxbrew/Cellar/openjdk/14.0.1/libexec/bin/java -Ddebug=false -Djava.net.useSystemProxies=true -jar /home/linuxbrew/.linuxbrew/Cellar/git-credential-manager/2.0.4_2/libexec/git-credential-manager-2.0.4.jar' told us to quit

from git-credential-manager-for-mac-and-linux.

Related Issues (20)

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.