keys-pub / app

Key management is hard
https://keys.pub
Other
126 stars 4 forks source link

Twitter proxy vs cache user check can be inconsistent #44

Open gabriel opened 3 years ago

gabriel commented 3 years ago

The user cache uses search which enforces single key to user. But the proxy doesn't. See TestMovedKeyTwitterProxy in https://github.com/keys-pub/keys/blob/master/users/twitter_test.go#L213

This can cause confusion in an edge case where user sigchain fails but the proxy succeeds.