@evanp/activitypub-bot 0.43.2 → 0.43.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/lib/digester.js +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,12 @@ and this project adheres to
|
|
|
9
9
|
|
|
10
10
|
## [Unreleased]
|
|
11
11
|
|
|
12
|
+
## [0.43.3] - 2026-04-22
|
|
13
|
+
|
|
14
|
+
- `Digest:` header uses uppercase name for algorithm. It's supposed to be
|
|
15
|
+
case-insensitive per RFC 3230, but some software compares it case-sensitive
|
|
16
|
+
against uppercase.
|
|
17
|
+
|
|
12
18
|
## [0.43.2] - 2026-04-22
|
|
13
19
|
|
|
14
20
|
### Fixed
|
package/lib/digester.js
CHANGED
|
@@ -9,7 +9,8 @@ export class Digester {
|
|
|
9
9
|
async digest (body) {
|
|
10
10
|
const digest = crypto.createHash('sha256')
|
|
11
11
|
digest.update(body)
|
|
12
|
-
|
|
12
|
+
// NB: uppercase required by some ActivityPub processors
|
|
13
|
+
return `SHA-256=${digest.digest('base64')}`
|
|
13
14
|
}
|
|
14
15
|
|
|
15
16
|
async contentDigest (body) {
|