From 1c543723fb1f2312102c8a4aeb826618340181e1 Mon Sep 17 00:00:00 2001 From: Jesse Wierzbinski Date: Thu, 2 Jan 2025 04:36:28 +0100 Subject: [PATCH] fix(api): :bug: Use aesgcm, not aes128gcm during push notifications Mastodon's server hates aes128gcm --- classes/workers/push.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/classes/workers/push.ts b/classes/workers/push.ts index 4ea1920c..ceea112a 100644 --- a/classes/workers/push.ts +++ b/classes/workers/push.ts @@ -117,6 +117,7 @@ export const getPushWorker = (): Worker => privateKey: config.notifications.push.vapid.private, publicKey: config.notifications.push.vapid.public, }, + contentEncoding: "aesgcm", }, );