keybase / keybase/keybase-issues

Keybase client hangs waiting on key entry

Open
#1,053 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
899
Forks
40
PR merge metrics
No merged PRs in 30d

Description

Here's a log

```
$ keybase track max [18:14:11]
info: ...checking identity proofs
✔ public key fingerprint: 8EFB E2E4 DD56 B352 7363 4E8F 6052 B2AD 31A6 631C
✔ "maxtaco" on twitter: https://twitter.com/maxtaco/status/433688676975927296
✔ "maxtaco" on github: https://gist.github.com/8847250
✔ "maxtaco" on reddit: https://www.reddit.com/r/KeybaseProofs/comments/2clf9c/my_keybase_proof_redditmaxtaco_keybasemax/
✔ "maxtaco" on coinbase: https://coinbase.com/maxtaco/public-key
✔ "maxtaco" on hackernews: https://news.ycombinator.com/user?id=maxtaco
✔ admin of keybase.io via HTTPS: https://keybase.io/.well-known/keybase.txt
✔ admin of oneshallpass.com via HTTPS: https://oneshallpass.com/.well-known/keybase.txt
✔ admin of the DNS zone for oneshallpass.com
✔ admin of the DNS zone for maxk.org
✔ admin of the DNS zone for nutflex.com
Is this the max you wanted? [y/N] y
Permanently track this user, and write proof to server? [Y/n]

You need a passphrase to unlock the secret key for
user: "keybase.io/tel "
2048-bit RSA key, ID _, created 2014-09-23
(subkey on main key ID _)

```

and then it hangs indefinitely. This happens for most keybase requests.

Installed via `npm` and `brew install gpg2`

```
$ keybase version [18:17:23]
keybase (keybase.io CLI) v0.7.1
- node.js v0.10.28
- gpg (GnuPG) 2.0.26
- libgcrypt 1.6.2
Identifies as: 'keybase.io node.js client v0.7.1 darwin'
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the hang with `keybase track max` and review how the Node.js client invokes GPG during passphrase entry. Compare the behavior using the reported Node.js v0.10.28, GnuPG 2.0.26, and keybase v0.7.1 environment; done means key entry completes and the request no longer hangs indefinitely.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.