keybase / keybase/keybase-issues

keybase gen hangs on Linux

Open
#169 12 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

Running with the debug flag I get to the actual key generation and then it hangs. Can I provide more info to help debug this?

```
Your key passphrase (can be the same as your login passphrase): ************************
Repeat to confirm: ************************
debug: + generating public/private keypair
debug: | Call to gpg: { args: [ '--batch', '--gen-key', '--keyid-format', 'long' ],
debug: stdin: '%echo generating\nKey-Type: RSA\nKey-Length: 4096\nSubkey-Type: RSA\nSubkey-Length: 4096\nName-Real: keybase.io/jc00ke\nName-Email: jc00ke@keybase.io\nExpire-date: 10y\nPassphrase: [REDACTED]\n%commit',
debug: stderr:
debug: { _v: [],
debug: _writableState:
debug: { highWaterMark: 16384,
debug: objectMode: false,
debug: needDrain: false,
debug: ending: false,
debug: ended: false,
debug: finished: false,
debug: decodeStrings: true,
debug: defaultEncoding: 'utf8',
debug: length: 0,
debug: writing: false,
debug: sync: true,
debug: bufferProcessing: false,
debug: onwrite: [Function],
debug: writecb: null,
debug: writelen: 0,
debug: buffer: [],
debug: errorEmitted: false },
debug: writable: true,
debug: domain: null,
debug: _events: {},
debug: _maxListeners: 10 } }
```

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is named. Start by reproducing `keybase gen` on Linux with the debug flag and inspect the logged GPG `--batch --gen-key` invocation; done means the keypair generation completes or the hang has a documented cause and actionable fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
cryptography, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.