keybase / keybase/keybase-issues

Better error message for verification

Open
#2,277 2 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

Verifying this:

```
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

zer0pwn lives in brandon, manitoba, canada
-----BEGIN PGP SIGNATURE-----
Version: Keybase OpenPGP v0.1.12
Comment: https://keybase.io/crypto

wl4EABEKAAYFAlNZXkQACgkQEzc897CULnnTYQD/bMecus80jZdrYgJVjiIPKZ2f
WP9O+3eCTxbaqDSWa/4A/RIJtzPPlEa+roSEUZub1XbldOH8h45PTcd5QsekQ5Cu
=iVsQ
-----END PGP SIGNATURE-----
```

Web interface gives this error: `Error: you cannot process a message that was encrypted for someone else.`

Clearly its not encrypted, but the related keys have `(probably?)` been removed. Error message should be clearer.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in the web interface's message-verification flow and locate the source of the error “you cannot process a message that was encrypted for someone else.” Reproduce the supplied PGP signed message, then compare the handling of signed messages with messages encrypted for another recipient and with removed related keys. Done means the verification failure reports the actual cause clearly.

Written by the indexing model from the issue text.

Assessment

Domain
cryptography
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.