keybase / keybase/keybase-issues

command line decrypt passphrase issue

Open
#515 14 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

If I type "keybase decrypt" and paste in a message, it prompts me for my passphrase. If I type it and hit enter, nothing happens. If I hit enter again, the prompt is reprinted. If I hit enter on the third prompt, whether or not I typed the passphrase, the prompt disappears and it seems to return to receiving input. If I then try to paste the message again or type ctrl-d gpg-style, I get:

```
warn: gpg: Invalid passphrase; please try again ...
warn: gpg: Invalid passphrase; please try again ...
warn: gpg: encrypted with 2048-bit RSA key, [truncated to shorten line]
warn: "keybase.io/meghan "
warn: gpg: public key decryption failed: bad passphrase
warn: gpg: decryption failed: secret key not available
warn: gpg: [don't know]: invalid packet (ctb=14)
error: `gpg` exited with code 2
```

I'm on Mac OS X 10.6. Using gpg works fine.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing `keybase decrypt` on the reported Mac OS X 10.6 environment, entering a passphrase and pasted message as described. Compare its prompt and input handling with the working gpg behavior; done means valid passphrases decrypt successfully without repeated prompts or invalid-passphrase errors.

Written by the indexing model from the issue text.

Assessment

Domain
cli
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.