ERROR decrypt unable to find a PGP decryption key for this message
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 9.2k
- Forks
- 1.3k
- Avg merge
- 12h 58m
- Merged PRs (30d)
- 56
Description
System Info:
5.4.0-40-generic
Ubuntu 20.04.1 LTS focal
keybase version 5.5.1-20200527202541+39ca0071e5
gpg (GnuPG) 2.2.19
libgcrypt 1.8.5
Application Error:
ERROR decrypt unable to find a PGP decryption key for this message
Additional info:
I add my own PGP key with passphrase with keybase pgp select command
I don't get request for type passphrase when I use keybase
How to reproduce:
keybase pgp list
Keybase Key ID: 010196
PGP Fingerprint: 857209
PGP Identities:
Vladimir Samoylov (cageyv) <cageyv.....@gmail.com>
keybase pgp encrypt -m "foobar" > testmessage.txt
cat testmessage.txt
-----BEGIN PGP MESSAGE-----
Comment: https://keybase.io/download
Version: Keybase Go 5.5.1 (linux)
wcFMA4vYUBIL+GyiARAAXPdge8CeXlhjMne32C8SteJuLz/A4rzajo7hXipE7nIa
BVI+s7tmZCRDU9lTkQutH7FJ1cwI60m6Ig3cBTRtDxKDX/W7ZU0OLD35bBIB0+Wj
kzj3HMqHNfWzx+hiLWtQNW7U61XZry8CP4WdWNyPGWnz0uHcHnJZ2di1TMJxgq2e
HD//w6Y5mwWFslA6vAVvvNtZyWFYkJ7G+yoNRSnyMZxjWOcwb8rg3HsfCYW4nLDG
ET5/zRcVVsekhGmwd5jsGBxRMzPqCwDR3YlDAnzzf15JbpaqDiQ7b1XcQacdLB2b
WBGnxIYF09PI/Ef6thsQINuCiJHPb7NxDvV0JuWmGN6Va0QhdH+lwHIMNU1XMQdW
hvlk539Y4ee+MGtNqnSt5RGOS0HdpkZvA4zNaMzxMTFZOIWz5YTRT9xWLRQtuCON
Bdxn9+qPUxyPtw2qp6rfAtFHKdzZLMMpLvJ3i9J8A/0+z3KOlNikIZ1+UDLI7Ta1
3BrAvFHuPMiFKbDmP9wZ+5RPTdlmcaW68m/PQjr9E0fw/OyTMFY5OydzoSPdTmEf
9luseUa8cCLvGFs9i/StY+NqglnvYttmwczj8dW0JTNGrOYglNfDtNVt4yHj9S8Q
VCTM26bCblkPnq7xQncvVFUUVTKiSnIuDemgNp9XpJWmEDLPz3ePwAQdj+LWMa7S
4AHkTqKTa//UOUj8VkFMPTifJOEYZeAa4O7hZZvgFuIELlNc4F/iMs5oE+Al4VsS
4O3kC9J0syzdPvKib7fSN1wgEOJksiiX4WMtAA==
=Isrr
-----END PGP MESSAGE-----
gpg2 --decrypt testmessage.txt
"Entering passphrase..."
gpg: encrypted with 4096-bit RSA key, ID 8BD85012F86CA2, created 2020-02-02
"Vladimir Samoylov (cageyv) <cageyv....@gmail.com>"
foobar%
gpg --decrypt testmessage.txt
"Entering passphrase..."
gpg: encrypted with 4096-bit RSA key, ID 8BD85012F86CA2, created 2020-02-02
"Vladimir Samoylov (cageyv) <cageyv....@gmail.com>"
foobar%
keybase pgp decrypt -i testmessage.txt
ERROR decrypt error: unable to find a PGP decryption key for this message
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The report names the keybase pgp decrypt command and compares it with gpg2 --decrypt and gpg --decrypt; start by reproducing those commands on the listed Ubuntu and Keybase versions. Done means keybase pgp decrypt can locate the selected PGP key, request its passphrase, and decrypt testmessage.txt successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, linux, ubuntu
- Domain
- cli, cryptography
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100