-
Notifications
You must be signed in to change notification settings - Fork 0
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
Make it work with Mattermost #2
Labels
enhancement
New feature or request
Comments
Digest verification fails Headers: {
host: 'passerelles.colibris-outilslibres.org',
'user-agent': 'http.rb/5.0.4 (Mastodon/3.5.3; +https://framapiaf.org/)',
'content-length': '2163',
'accept-encoding': 'gzip',
'content-type': 'application/activity+json',
date: 'Tue, 12 Jul 2022 15:47:26 GMT',
digest: 'SHA-256=gzNmJMzfSiUmGHjmJHE7yMOv2W60+5TtenNy/YKH9pk=',
signature: 'keyId="https://framapiaf.org/users/srosset#main-key",algorithm="rsa-sha256",headers="(request-target) host date digest content-type",signature="V642qEgrFO9KLaXypXibod99eyX/Z5kwniBPgltGN5J2eTxEdZwnruK8BKpL8kVP0U5W0rsebfmdPXrrGEpSj+jU19Vm7Nb5/+kdijY5DM9MoXwrPNhOV9rBRCeOoxw/9WU/BL9tshLR3ZM1ZMWDALBvo5JY7WtgQc36hVw0AcJQQWrCGMCzFNeduZ/wk2Ttci6/XxwdNS6WKKRrkZvfM4feHeI46l2cfaZravNTx17F/PbArMQTlzjbFQWrKU/7H/QMCyv538tAtz0v/GTsToh9/V39d+XP7j44gN2o/OUtnTUKv9OYDFSBmbOPajOFkL4BN3W7yMhTgGhgCquuVg=="',
'x-forwarded-for': '88.99.213.22',
'x-forwarded-host': 'passerelles.colibris-outilslibres.org',
'x-forwarded-port': '443',
'x-forwarded-proto': 'https',
'x-forwarded-server': '61e93ac4d2ee',
'x-real-ip': '88.99.213.22'
} Body JSON.stringified:
The signature in the body is strange. But even if I remove it, it is still not working. Maybe instead of doing a JSON.stringify, I should get the body itself from the API ? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently the Accept activity returned by Mattermost is rejected with a 401 error.
The text was updated successfully, but these errors were encountered: