[Linux] fall-back to cmd line login broken in v1.0.18-20170206170059+4931777: ERROR Failed to get getpin greeting: EOF
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 9.2k
- Forks
- 1.3k
- Avg merge
- 12h 58m
- Merged PRs (30d)
- 56
Description
Situation:
- Machine A - headless linux with v1.0.18-20170206170059+4931777
- Machine B - Windows (without running X-server)
This morning I tried to login on one of my linux machines and received the following error:
▶ ERROR Failed to get getpin greeting: EOF
I thought that maybe I needed to update, so I did. This resulted in:
▶ WARNING Restarting after upgrade; service is running v1.0.18-20170201170258+dc90cf4, while v1.0.18-20170206170059+4931777 is available
▶ INFO Restarting service...
▶ INFO Forking background server with pid=15259
▶ ERROR Failed to get getpin greeting: EOF
As it turns out, apparently I can NOT login if I don't have an X-server running with the current version! Using ssh without X-forwarding and running run_keybase I am able to login.
In some previous versions it didn't behave like that. When I had accidentally forgotten to start Xming or VcXrv (on Machine B), keybase would fall-back to the command line.
Giving me:
Please enter the Keybase passphrase for rowena (12+ characters):
I'm not sure at which version it broke as I trust my headless box enough to leave keybase logged in on it.
I cleared the logs before making a clean attempt, I did NOT clear the caches in ~/.config/Keybase/
my log id: b5c5899ec4b2e9dd892dff1c
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the login attempt on a headless Linux machine without X forwarding, using the reported version and the run_keybase command. Start with the log identified by b5c5899ec4b2e9dd892dff1c and compare the behavior with and without an X server; done means command-line passphrase fallback works instead of failing with the getpin greeting EOF.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, linux
- Domain
- authentication, cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100