Comments (19)
It's the same problem which I had on my Linux Mint 19 Tara and reported in issue #108 more than two months ago. Because there is still no answer, I have described alternative solution on my blog - installing credential helper which is based on libsecret. That's really simple and does the job, so I recommend trying it - softwaredeveloper.blog/git-credential-storage-libsecret :)
from git-credential-manager-for-mac-and-linux.
I have also been able to reproduce this issue. I'm going to investigate a bit more and report back here.
from git-credential-manager-for-mac-and-linux.
I am also having issues with GCM on my Ubuntu 18.04 when using multiple Azure DevOps orgs.
It just won't store my PAT. It never prompted me with a browser but went straight to
git push origin
Password for 'https://<orgName>@dev.azure.com/':
I enter my PAT and it pushes. I work on a different repo in a different org and push and auth fails (it tries to use the PAT from the first org). I provide the correct PAT and then it works, but I now can't push to the first org.
git config --global credential.helper
!/home/linuxbrew/.linuxbrew/Cellar/openjdk/1.8.0-181/jre/bin/java -Ddebug=false -Djava.net.useSystemProxies=true -jar /home/linuxbrew/.linuxbrew/Cellar/git-credential-manager/2.0.4/libexec/git-credential-manager-2.0.4.jar
from git-credential-manager-for-mac-and-linux.
So I tried cloning on Windows system then there everything is working properly.
Why Ubuntu is having issues?
Windows version also has some issues, it's not ideal at all =)
from git-credential-manager-for-mac-and-linux.
I'd like to post feedback that this issue is also causing problems for me. I am having issues using lib-secret behind a proxy as well.
from git-credential-manager-for-mac-and-linux.
Thank you @tometchy. But I'm guessing that libsecret solution does not handle the 2FA stuff required by AzDO, right?
@leantk , @novak : what can I do to troubleshoot why GCMML is not finding gnome-keyring?
from git-credential-manager-for-mac-and-linux.
I haven't try with Azure 2FA but as far as I know libsecret is not meant for such purpose. I came here because I used to use Git Credential Manager for Windows (just for secure credentials storage) and after switching to Linux I was looking for similar solution. Libsecret is enough in my case.
from git-credential-manager-for-mac-and-linux.
I have also been able to reproduce this issue. I'm going to investigate a bit more and report back here.
@novak do you have news about your topic? Do you find anything? Regards
from git-credential-manager-for-mac-and-linux.
Any luck here? I have been trying to run this on Windows Subsystem for Linux but no luck!
from git-credential-manager-for-mac-and-linux.
I followed this documentation steps for installing Linux Git Credential Manager.
I'm also facing the same problem.
I'm using the latest version of Ubuntu 19.04 "Disco Dingo"
Even I'm inputting the correct password still it's showing
Permission denied, please try again.
[email protected]'s password:
Permission denied, please try again.
So I tried cloning on Windows system then there everything is working properly.
Why Ubuntu is having issues?
This is so weird behavior. :'(
from git-credential-manager-for-mac-and-linux.
@jazzdelightsme could you update your debug config to true in ~/.gitconfig file
[credential]
helper = !java -Ddebug=true -Djava.net.useSystemProxies=false //...
so devs there could see error messages? Because the issue may be connected with this one: #122
PS I'm not a dev, I am just passing by =)
from git-credential-manager-for-mac-and-linux.
I'm having the exact same issue as above and figured I'd post my logs here in case it helps anyone.
Configuration::loadGitConfiguration
Configuration::ParseGitConfig
credential.helper = !/usr/lib/jvm/java-8-openjdk/jre/bin/java -Ddebug=true -Djava.net.useSystemProxies=true -jar /home/linuxbrew/.linuxbrew/Cellar/git-credential-manager/2.0.4/libexec/git-credential-manager-2.0.4.jar
Program::loadOperationArguments
Configuration::tryGetEntry
Configuration::tryGetEntry
Configuration::tryGetEntry
Configuration::tryGetEntry
Configuration::tryGetEntry
Configuration::tryGetEntry
Program::EnableTraceLogging
Program::get
targetUri = https://dev.azure.com/
Program::ComponentFactory::createSecureStore
gnome-keyring library loaded, creating a password SCHEMA
Try access gnome-keyring with dummy data to make sure it's accessible...
Getting a persistent token store that must be secure
Getting a persistent credential store that must be secure
Program::createAuthentication
detecting authority type
BaseVsoAuthentication::getAuthentication
BaseVsoAuthentication::detectAuthority
failed detection
authority is basic
BasicAuthentication::getCredentials
SecretStore::getTargetName
Secret::uriToName
target name = git:https://dev.azure.com
SecretStore::readCredentials
SecretCache::readCredentials
SecretCache::_getTargetName
Secret::uriToName
target name = git:https://dev.azure.com
BaseSecureStore::readCredentials
Getting Credential for git:https://dev.azure.com
Could not retrieve secret from storage.
Return code: 9 description: No matching results
from git-credential-manager-for-mac-and-linux.
Ping @novak what about your investigation from March 2019? Is anyone maintaining this repository? Can someone please look at this issue? There is no point writing and promoting a credential manager app if what it does is essentially store your password in a plain text file; this is in fact even worse as it gives users a false sense of security.
from git-credential-manager-for-mac-and-linux.
I should have mentioned this long ago when I resolved this problem.
I found the solution on this thread: https://developercommunity.visualstudio.com/content/problem/344874/git-credential-manager-with-devazurecom.html
The gist of the issue is that the URL to clone from Azure Dev Ops is wrong. You need to modify the URL to look like this when cloning the repository:
https://{account}.visualstudio.com/{project}/_git/{repo}
This is what it looks like in ADO and it does not work:
https://{acount}@dev.azure.com/{account}/{project}/_git/{repo}
from git-credential-manager-for-mac-and-linux.
Thanks @akonyer but the issue is about "Secure storage unavailable on Ubuntu 18.04?" and we're not using ADO in this case, so that won't help. The problem persist: GCM complains that secure storage is not available on Linux.
from git-credential-manager-for-mac-and-linux.
Ahh, I am sorry. I think I found this thread because I was having the exact same issue as @tango4567 and I was able to resolve it by using the method I posted above.
from git-credential-manager-for-mac-and-linux.
No worry @akonyer, but just to keep things clear for devs that even though there might be additional complications like the one you mentioned, the core of the issue is unrelated to ADO. Of course as @jazzdelightsme pointed since some workarounds posted do not work with ADO's 2FA that makes this bug even more annoying for those use cases.
from git-credential-manager-for-mac-and-linux.
Yeah.. this is next to useless with the suggested workaround
git config --global credential.canFallBackToInsecureStore true
and if I weren't on a personal laptop and this weren't managing my personal GitHub account, I 100% would not use this.
from git-credential-manager-for-mac-and-linux.
I have the same issue and following the breadcrumbs I think the real issue is that the package libgnome-keyring0 is not available anymore, since it has been deprecated for a while already. There is actually a issue in the library that causes this issue (also hosted by MS).
microsoft/vsts-authentication-library-for-java#27
from git-credential-manager-for-mac-and-linux.
Related Issues (20)
- Ubuntu believes required packages are unused
- Java is Required for 'brew install' HOT 2
- Doesn't work with Linux Mint 19 Tara HOT 2
- Why do i need java to install a simple tool. HOT 4
- Unable to authenticate with GoDaddy managed Office 365 account
- Support for mainstream package managers.
- Fails when connected over SSH
- fatal: Authentication failed with GKR-message: received an invalid, unencryptable, or non-utf8 secret
- Web browser window doesn't open
- Fatal: java.lang.ExceptionInInitializerError encountered
- Cannot clone a repo - blank HOT 1
- Xcode Error When Installing From Brew HOT 1
- Better macOS support: GCM Core
- git-credential-manager on linux failed to get token HOT 1
- "gnome-keyring library not loadedjava.lang.UnsatisfiedLinkError: Unable to load library 'gnome-keyring': Native library (linux-x86-64/libgnome-keyring.so) not found in resource path" on Azure notebook. HOT 3
- support XDG Base Directory Specification
- Can't run credential manager with latest Mac updates
- YBS HOT 1
- Ios
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-credential-manager-for-mac-and-linux.