New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example generate signature #913
Conversation
Thanks for the PR @sandstrom! It looks like tests are broken, could you look into fixing this? Assigning to @brandur-stripe to help review and merge. |
hi @remi-stripe, please have a look at #912 first. This PR is just an example to illustrate my thinking. |
@sandstrom Yep, gotcha. I'll be taking a look at this one soon! |
@sandstrom Looks largely good. Do you think you take a look at a couple things? (There are quite a few words here, but all these points are pretty simple.)
Anyway, thanks for sending us a PR! Looking good. |
@brandur-stripe Thanks for having a look! I wrote the PR mostly to illustrate my thinking in the issue I opened. Since I'm not paid to work on the Stripe product I didn't really envision doing the work (sorry). But hopefully the idea and issue itself is useful, and the code example in this PR helped illustrate my point in the issue. If you think it's a good idea, it would be awesome if you'd make this improvement! Since signature verification is important for security, it's quite helpful if we can easily generate signatures and use them in tests, to ensure that our code is verifying signatures correctly. So it's a security win. Anyway, overall happy with Stripe with our without this improvement. Have a good weekend! |
Okay, closing this out. |
thanks @brandur-stripe! Have a great weekend! 🌞 (fixed in #915) |
Thanks @sandstrom. You too! |
Spike to illustrate how one could make signature generation easier. See #912