Digest header seems to be case sensitive
Environment
- Installation type (OTP or From Source): git
- Pleroma version (could be found in the "Version" tab of settings in Pleroma-FE): commit 25832534
- Elixir version (
elixir -v
for from source installations, N/A for OTP): 1.10.4 - Operating system: Arch Linux
- PostgreSQL version (
psql -V
): 12.4
Bug description
I could be wrong here, but the reference I found for the Digest header is RFC 3230, which specifies that "All digest-algorithm values are case-insensitive". When attempting to send activities to Pleroma, however, the signature is rejected unless I capitalize "SHA-256"
Edited by Colin Reeder