Commit 8bf0d3a
authored
fix: correct webhook signature verification to use standard base64 (#88)
Remove URL-safe base64 character replacements (+/- and /_) from signature
verification code examples. E2B webhooks send standard base64 signatures
(with + and / characters), not URL-safe base64 as previously documented.
Updated verification code in JavaScript, Python, and Go to match actual
E2B webhook signature format by only removing padding (=) characters.1 parent 3fe440f commit 8bf0d3a
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
280 | | - | |
| 280 | + | |
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
298 | | - | |
| 298 | + | |
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
| |||
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
319 | | - | |
320 | | - | |
321 | 319 | | |
322 | 320 | | |
323 | 321 | | |
| |||
0 commit comments