Skip to content

Commit

Permalink
fix: forwardemail bounce processing invalid signature issue
Browse files Browse the repository at this point in the history
  • Loading branch information
shaunwarman committed Jan 9, 2025
1 parent 0878f3e commit 52c4aed
Show file tree
Hide file tree
Showing 4 changed files with 720 additions and 632 deletions.
2 changes: 1 addition & 1 deletion cmd/bounce.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ func handleBounceWebhook(c echo.Context) error {
sig = c.Request().Header.Get("X-Webhook-Signature")
)

bs, err := app.bounce.Forwardemail.ProcessBounce([]byte(sig), rawReq)
bs, err := app.bounce.Forwardemail.ProcessBounce(sig, rawReq)
if err != nil {
app.log.Printf("error processing forwardemail notification: %v", err)
if _, ok := err.(*echo.HTTPError); ok {
Expand Down
3 changes: 3 additions & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,8 @@
"vite": "^5.1.8",
"vue-eslint-parser": "^9.3.2",
"vue-template-compiler": "^2.6.12"
},
"resolutions": {
"jackspeak": "2.1.1"
}
}
Loading

0 comments on commit 52c4aed

Please sign in to comment.