Skip to content

Commit a5e56c3

Browse files
authored
fix: forwardemail bounce processing invalid signature issue (#2250)
1 parent 0878f3e commit a5e56c3

File tree

4 files changed

+720
-632
lines changed

4 files changed

+720
-632
lines changed

cmd/bounce.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ func handleBounceWebhook(c echo.Context) error {
210210
sig = c.Request().Header.Get("X-Webhook-Signature")
211211
)
212212

213-
bs, err := app.bounce.Forwardemail.ProcessBounce([]byte(sig), rawReq)
213+
bs, err := app.bounce.Forwardemail.ProcessBounce(sig, rawReq)
214214
if err != nil {
215215
app.log.Printf("error processing forwardemail notification: %v", err)
216216
if _, ok := err.(*echo.HTTPError); ok {

frontend/package.json

+3
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,8 @@
4242
"vite": "^5.1.8",
4343
"vue-eslint-parser": "^9.3.2",
4444
"vue-template-compiler": "^2.6.12"
45+
},
46+
"resolutions": {
47+
"jackspeak": "2.1.1"
4548
}
4649
}

0 commit comments

Comments
 (0)