Open brettcannon opened 7 years ago
gidgethub.sansio.validate_event() could replace browntruck.util.verify_signature() completely (you could also use gidgethub.sansio.Event.from_http() to replace the function and replace the need for an explicit decode).
browntruck.util.verify_signature()
I'm happy to do a PR when I have a chance if this change is okay.
Sounds fine to me!
OK, I'll see when I can find the time to write up a PR.
gidgethub.sansio.validate_event() could replace
browntruck.util.verify_signature()
completely (you could also use gidgethub.sansio.Event.from_http() to replace the function and replace the need for an explicit decode).I'm happy to do a PR when I have a chance if this change is okay.