keybase / keybase/keybase-issues

running `keybase pgp select` garbled terminal text

Open
#3,560 0 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

i added a gpg key from my computer using the `keybase pgp select` command, and while the key seemed to be added ok, my terminal text became garbled (for ~2 pages worth of text in the buffer and everything after; everything before that was ok). for example, this is the output of running `keybase log help`:

```
␌┌▒␋⎼␊@␉┤┼┼≤:·$ ┐␊≤␉▒⎽␊ ┌⎺±
NAME:
┐␊≤␉▒⎽␊ ┌⎺± - M▒┼▒±␊ ┐␊≤␉▒⎽␊ ┌⎺±⎽

USAGE:
┐␊≤␉▒⎽␊ ┌⎺± <␌⎺└└▒┼␍> [▒⎼±┤└␊┼├⎽...]

COMMANDS:
⎽␊┼␍ S␊┼␍ ⎼␊␌␊┼├ ␍␊␉┤± ┌⎺±⎽ ├⎺ ┐␊≤␉▒⎽␊
␤␊┌⎻, ␤ S␤⎺┬⎽ ▒ ┌␋⎽├ ⎺° ␌⎺└└▒┼␍⎽ ⎺⎼ ␤␊┌⎻ °⎺⎼ ⎺┼␊ ␌⎺└└▒┼␍

␌┌▒␋⎼␊@␉┤┼┼≤:·$
```

i'm using macOS 10.14.6, iterm2 v3.3.4, and keybase v. 4.5.0-20190919040244+93e889ab01

not sure if it's related, but adding `--import` to the `select` command failed with this error: `▶ ERROR ImportKey (secret: true) error: GPG error: exit status 2`

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce `keybase pgp select` on macOS 10.14.6 using iTerm2 3.3.4, then check whether subsequent `keybase log help` output is garbled and whether `--import` produces the reported GPG error. No repository files or tests are named; done means terminal text remains readable after key selection.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.