pypa / browntruck

6 stars 20 forks source link

Replace browntruck.util.verify_signature() w/ gidgethub.sansio.validate_event() #3

Open brettcannon opened 7 years ago

brettcannon commented 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).

I'm happy to do a PR when I have a chance if this change is okay.

dstufft commented 7 years ago

Sounds fine to me!

brettcannon commented 7 years ago

OK, I'll see when I can find the time to write up a PR.