httpsig
httpsig copied to clipboard
HTTP Signature library for Golang
Try implementing hs2019 support (using PSS). I've been reading through both these drafts: * https://tools.ietf.org/html/draft-cavage-http-signatures-12 * https://tools.ietf.org/html/draft-ietf-httpbis-message-signatures-00 But still find it a bit confusing on how the digital signature algorithm...
All of the algorithms are deprecated with exception of `hs2019` due to an attack vector specifying the algorithm.
Would there be any interest in adding something like https://github.com/bjangelo/httpsig/commit/63235c7f1c0cd35a64dc1066c47c99daa924c2e3?
There is a conformance suite for v11 at https://github.com/w3c-dvcg/http-signatures-test-suite. We should make sure we're conformant.
At the time of verification, we use the value of digest header(if required) for verifying signature. This opens a gate to the attackers. Suppose someone was able to tamper with...
This should prevent the possibility of an XSS attack.