mastodon / ostatus2

A Ruby toolset for interacting with the OStatus suite of protocols
MIT License
31 stars 9 forks source link

Incoming signature for websub isn't normalized #5

Closed lambadalambda closed 7 years ago

lambadalambda commented 7 years ago

For verification, the incoming websub document's signature is a number represented as hex string. In the code, only the string representations are compared, not the actual value. This can lead to problems if the incoming signature isn't all lower case.