keybase / keybase/keybase-issues
unable to find decryption key
- Dominant language
- No language data
- Stars
- 899
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
I setup keybase a few weeks ago, I used `gpg` to generate my local key and I've decided not to upload the secret to keybase, so everything happens locally for me.
Today I wanted to encrypt a secret to myself and verify I could retrieve it
```
$ keybase pgp encrypt -m 'Hello World' -o tmp.txt.pgp asaayers
▶ INFO Generating tracking statement for asaayers
✔ public key fingerprint: 8244 39B9 9F8E 69EC F0AC 139D FB6B 83B1 1398 767F
✔ "asaayers" on github: https://gist.github.com/64820ca416c56e28844a [cached 2015-12-02 10:00:10 EST]
✔ "asaayers" on twitter: https://twitter.com/asaayers/status/667112439574609920 [cached 2015-12-02 10:00:10 EST]
```
That seems like it worked, but I can't decrypt it:
```
$ keybase pgp decrypt -i tmp.txt.pgp
▶ ERROR unable to find decryption key for this message (error 924)
```
I have my key locally, but I can't figure out how to get keybase to talk to gpg again and use my key.
```
$ gpg --fingerprint
/home/asa/.gnupg/pubring.gpg
----------------------------
pub 4096R/1398767F 2015-11-18 [expires: 2016-11-17]
Key fingerprint = 8244 39B9 9F8E 69EC F0AC 139D FB6B 83B1 1398 767F
uid Asa Ayers
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the `keybase pgp encrypt` and `keybase pgp decrypt` commands with the local key shown by `gpg --fingerprint`, then inspect the local GPG integration around error 924. Done means a message encrypted to the user's fingerprint can be decrypted through Keybase using the locally stored key.
Written by the indexing model from the issue text.
Assessment
- Domain
- cryptography
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100