_GitHub_ plugin asks for a token at every startup.



Expected behavior:
_GitHub_ plugin remembers token.
Reproduces how often:
100%
You can get this information from copy and pasting the output of atom --version and apm --version from the command line. Also, please include the OS and what version of the OS you're running.
$ atom --version
Atom : 1.18.0
Electron: 1.3.15
Chrome : 52.0.2743.82
Node : 6.5.0
$ uname -a
Linux hendrix 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2 (2017-06-12) x86_64 GNU/Linux
A similar issue is happening with me too. Put it up on the forum
Try this as a solution https://github.com/atom/github/issues/457
Worked for me to use
brew install git
It appears the macOS native git doesn't play well with this package
@KINFOO On Linux, we rely on libsecret to remember this token (via keytar). Do you have a keyring manager installed?
Also, if you look in the developer tools, do you see a warning saying "Using an InMemoryStrategy strategy for storing tokens"?
@hamzatayeb Your issue is not the same; it looks like it might be a duplicate of https://github.com/atom/github/issues/861
@hamzatayeb I am running Linux,
I think brew won't help.
But thanks
$ apt search libsecret
...
libsecret-1-0/stable,now 0.18.5-3.1 amd64 [install茅, automatique]
stockage secret
@BinaryMuse libsecret is installed.
In the console, I read:
Using an InMemoryStrategy strategy for storing tokens. The tokens will only be stored for the current window
I am using _KDE Plasma_, I think my _keyring manager_ has issues.
It asks me for Git password at computer startup.
Looks like configuring ksshaskpass is a pain, a KDE Wallet pain.
Thanks for the valuable help
@KINFOO ah yeah sorry about that. Good luck
@BinaryMuse I fixed the ksshaskpass issue.
Now, when I start my computer, I am no longer asked for password.
I can navigate to some _private_ repository and perform a fetch without providing password.
Still when I provide _Atom_ a token, it still does not remember it.
Console still displays:
Using an InMemoryStrategy strategy for storing tokens. The tokens will only be stored for the current window
Hope it helps
I'm having the same problem in Linux, but the console doesn't display anything. I have gnome-keyring installed, so I don't see why it doesn't work.
Could someone give me some pointers to further debug what's going on?
Still an issue? Guys are you working on this thing or its completely dead? Why I am supposed to regenerate token for a text editor every time i want to work with remotes?
Same issue here
Hey guys! You have to install gnome-keyring because the default one on my system (Arch) is broken with atom. In order to install gnome-keyring on a non-gnome WM, use the PAM method
Same issue here but using Atom under ChromeOs (via Linux emulation).
Would be good to not make the solution dependent on a GUI component (appreciate this is probably a minority of use cases)
Most helpful comment
@KINFOO On Linux, we rely on libsecret to remember this token (via keytar). Do you have a keyring manager installed?
Also, if you look in the developer tools, do you see a warning saying "Using an InMemoryStrategy strategy for storing tokens"?