Is it possible to disable the secure storage feature under Linux ?
I've tried to delete the folder under ~/.eclipse/org.eclipse.equinox.security as well as the content under window > preferences > general > security > secure storage > content tab.
However each time i try to use the subversive svn connector, a window untitled user credentials pop up asking me to provide authentication information.
Environment :
Eclipse 4.5.1
Ubuntu 14.04
Ok this problem (subversion plugin not saving the password with svnkit connector) does have a workaround described here : https://bugs.eclipse.org/bugs/show_bug.cgi?id=464178
But yeah it seems that you have to use a master password if you want to avoid entering password each time you do a svn operation
Related
I am using android studio interface to commit, push, pull and fetch operations in github. Now i am seeing this error message. How to solve? How to generate token to solve this issue?
#For MAC OS
Click on the Spotlight icon (magnifying glass) on the right side of the menu bar. Type Keychain access then press the Enter key to launch the app - In Keychain Access, search for github.com -- Find the internet password entry for github.com-- Edit or delete the entry accordingly - You are done
#For Windows OS
Go to Credential Manager from Control Panel - Windows Credentials - find git:https://github.com - Edit - On Password replace with your Github Personal Access Taken -- You are Done
I am using android studio version 4.2 beta 3 and while I am using the GUI to push/fetch the studio prompts to login on github while I have already set an account.
The strange this is that I can use git on terminal but not on GUI.
I select the first option and my browser navigates me to a website that says to authorize in Github, I press the button, login on Github and then I get the following localhost page which needs some unknown credentials.
Do you have any ideas on how to fix this issue?
Thanks
This actually turns out to be an Android Studio bug.
See e.g. this and this reports
In the corresponding IntelliJ IDEA version it is working fine.
Log in using a token instead, as a workaround.
Unfortunately the issue still persists in android studios latest release but your workaround of Token works.
you have to Generate a new SSH key and adding it to the ssh-agent ,
you can find it there
My Github account is using the Single Sign-On from my organisation, so what worked for me was to go into Github settings -> SSH and GPG keys and then clicked on the button Configure SSO on my SSH key. Then click on "Authorize" for your organization.
Here's more details on how to do it https://docs.github.com/en/enterprise-cloud#latest/authentication/authenticating-with-saml-single-sign-on/authorizing-an-ssh-key-for-use-with-saml-single-sign-on
This works when you get the following error while checking your project out
Clone failed
ERROR: The `----' organization has enabled or enforced SAML SSO. To access
this repository, you must use the HTTPS remote with a personal access token
or SSH with an SSH key and passphrase
that has been authorized for this organization. Visit
https://docs.github.com/articles/authenticating-to-a-github-organization-with-saml-single-sign-on/ for more information.
Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
This is becoming even more important now with the new 2-factor authentication, as one has to create a new token each time a password is required on the terminal. Basically, I'm looking for an equvalent to the osxkeychain available in OS X that I could use on Linux desktops and servers:
git config --global credential.helper osxkeychain
I searched through the possible solutions, but so far I don't like any of them:
ssh instead of https - not recommended and links not easily accessible on GitHub
cache --timeout=3600 - it will expire eventually and reentering the password is a drag with the new 2FA
gnome-keyring - doesn't work on a headless server (at least not too elegantly - the ssh passphrase keyring is much nicer)
the encrypted .netrc file on my hard-drive method - poor man's manual keyring implementation?
Come on, there's got to be some proper terminal-based keychain for Linux that can be hooked to git's credential.helper!
I would still recommend the method I describe in "Is there a way to skip password typing when using https://github.com"
Encrypting your .netrc allows you to store multiple credentials (to GitHub, and BitBicket, and ...) in one file, and have it used through the git credential helper netrc (git1.8.3+).
And it is compatible with the Github two-factor authentication, as I detail in "Configure Git clients, like GitHub for Windows, to not ask for authentication".
It works on Windows (and Linux or Mac).
And you can limit the number of minutes/hours during which gpg won't ask you again for the private key passphrase.
The 2022 answer would be to use the Microsft cross-platform GCM (Git Credential Manager)
See "Git Credential Manager: authentication for everyone" (Ensuring secure access to your source code is more important than ever. Git Credential Manager helps make that easy) from Matthew John Cheetham (Senior Software Engineer at #github).
Hello, Linux!
In the quest to become a universal solution for Git authentication, we’ve worked hard on getting GCM to work well on various Linux distributions, with a primary focus on Debian-based distributions.
Today we have Debian packages available to download from our GitHub releases page, as well as tarballs for other distributions (64-bit Intel only). Being built on the .NET platform means there should be a reduced effort to build and run anywhere the .NET runtime runs. Over time, we hope to expand our support matrix of distributions and CPU architectures (by adding ARM64 support, for example).
Due to the broad and varied nature of Linux distributions, it’s important that GCM offers many different credential storage options. In addition to GPG encrypted files, we added support for the Secret Service API via libsecret (also see the GNOME Keyring), which provides a similar experience to what we provide today in GCM on Windows and macOS.
See Linux installation, and additional configuration.
This method is not recommend, but still if you are in rush and nothing else is working for you, Simply add a new remote as
git remote -rm origin
git remote add origin https://username:mypassword#github.com/path/to/repo.git
that's it now you don't need to enter password again and again
Note: This method doesn't work with two step authorization accounts
I am trying to use a shared configuration from a team mate for IIS, however, I don't know what username/password to enter for the credentials. I've tried entering the encryption password that was used when he exported the settings. But I always get an error. What username should I be using?
After watching this video: http://www.youtube.com/watch?v=e3Je0a2v_5U
I found out that as long as your configuration directory is on your local machine (and not on a network drive), you don't put in a username OR password in the shared configuration page. After you hit "apply" in the "actions" sidebar, a window will pop up asking you what the encryption password is. Type in the same thing as the person that exported the setting and you're golden.
Hope this helps!
I am planning on using a local repository, using only TortoiseSVN's "create repository here" feature.
The repo is created and I can read and write to it just fine. The problem is that I can't get authentication to work. I thought I wanted Windows authentication, but I actually want the simple text-file based authentication so I can force the current system user (i.e. any person can be using the same Windows account and I want to differentiate between them) to provide their name and password. I haven't found any information on how to do this without svnserve running.
So far, I have modified svnserve.conf like this:
anon-access = read
auth-access = write
password-db = passwd
realm = LocalOnly
I didn't mess with the [sasl] section.
I also modified passwd:
[users]
harry = teH0wLIpW0gyQ
I am trying to use encrypted passwords created with a simple perl script. However, regardless of what I do with the repo (i.e. including writing to the repo), I am never prompted for a password.
I tried clearing TortoiseSVN's authentication cache since I do connect to a remote repo, but this didn't matter at all.
Has anyone tried this and succeeded? Or is it not possible without svnserve?
Not possible without svnserve - it takes care of the challenge/response.
Try Subversion Edge. you can edit the file you are mentioning using the GUI provided by the tool. It uses its own http server(not svnserve or IIS).
Unfortunately your best bet with a local repository is to use your file system permissions. A simple and free option for a server (that's easy to manager) would be VisualSVN Server. You can hang it off or a workstation or drop it on a public webserver somewhere. I now have mine setup with a reverse proxy with IIS7 so it's integrated with the rest of my web site.