keybase / client

Keybase Go Library, Client, Service, OS X, iOS, Android, Electron
BSD 3-Clause "New" or "Revised" License
8.89k stars 1.23k forks source link

login crashes when I start typing passphrase #2558

Open blahah opened 8 years ago

blahah commented 8 years ago

System: OSX Yosemite 10.10.1 Keybase version: 1.0.14-1

With a fresh install achieved like this:

$ npm uninstall --global keybase
$ brew unlink keybase
$ brew update
$ brew install keybase
$ keybase -v
keybase version 1.0.14-1

If I try to keybase login using the passphrase option like this...

$ keybase login
How would you like to sign this install of Keybase?

(1) Use an existing device
(2) Use a paper key
(3) Use my Keybase passphrase
(4) Use GPG
Choose a signing option: 3
Your keybase username or email address: blahah

Keybase crashes as soon as I start typing, with the error:

▶ ERROR Failed to read line after GETPIN: EOF

Screenshot:

screenshot 2016-04-07 16 41 22

Also afterwards, the alignment of everything in the terminal is thrown out - I have to close the window. Like this:

$ keybase
NAME:
        keybase - Keybase command line client.

                                              USAGE:
                                                       keybase [global options] command [command options] [arguments...]

                                                                                                                           VERSION:
                                                                                                                                      1.0.14-1

          COMMANDS:
                      base62        base62 operations
                                                            btc         Claim a bitcoin address
                                                                                                          cert          Print the CA cert for api.keybase.io
                                ctl         Control the background keybase service
                                                                                                 decrypt        Decrypt messages or files for keybase users
                               deprovision      Revoke the current device, log out, and delete local state.
                                                                                                                      device        Manage your devices
                      encrypt       Encrypt messages or files for keybase users
                                                                                      fuse          Manage fuse
                                                                                                                              id            Identify a user and check their signature chain
                                                                  install       Installs Keybase components
                                                                                                                      launchd       Manage launchd
                 list-trackers  List trackers
                                                list-tracking   List who you're tracking
                                                                                           log          Manage keybase logs
                                                                                                                                      login     Establish a session with the keybase server
                                                              logout        Logout and remove session information
                                                                                                                        paperkey        Generate paper keys for recovering your account

my log id: 8dd0f827684955dec250311c

maxtaco commented 8 years ago

PINENTRY-CURSES, YOU RUIN MY LIFE!

maxtaco commented 8 years ago

Easiest thing to do is to disable pinentry; try --pinentry=none. There might be a complication with the service needed to be started up with that flag, not the client, but i'm not sure. There should be some support for this issue somewhere in this GH issues list.

maxtaco commented 8 years ago

https://github.com/keybase/client/issues/2081

blahah commented 8 years ago

Thanks! That worked.