pyauth / http-message-signatures

An implementation of RFC 9421, HTTP Message Signatures
Apache License 2.0
21 stars 7 forks source link

Content-Digest verification PR #9

Open jschlyter opened 1 year ago

jschlyter commented 1 year ago

I'm looking at Content-Digest verification. Would it make sense to implement this as a helper in this library?

kislyuk commented 1 year ago

Yes. There is a bit of tech debt: the other library that I maintain that depends on this one already implements content-digest verification (https://github.com/pyauth/requests-http-signature/blob/develop/requests_http_signature/__init__.py#L273-L288) but it is specific to the Requests API. I would like to move that code to a helper in this library and wire up the other one to use it.

PRs are welcome.