We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 940eb29 commit b4e57a1Copy full SHA for b4e57a1
interceptor/test/e2e.sh
@@ -33,7 +33,7 @@ function test_interceptor {
33
export PD_SIGNATURE=$override_signature
34
fi
35
36
- SIGN=$(echo -n "$PAYLOAD_BODY_FORMATTED" | sha256hmac -K $PD_SIGNATURE | tr -d "[:space:]-")
+ SIGN=$(echo -n "$PAYLOAD_BODY_FORMATTED" | openssl dgst -sha256 -hmac $PD_SIGNATURE | sed 's/^.* //')
37
38
# Store the PID of the interceptor process
39
INTERCEPTOR_PID=$!
test/generate_incident.sh
@@ -1,4 +1,4 @@
1
-#!/bin/bash
+#!/usr/bin/env bash
2
set -e
3
4
# Define the mapping of alert names to titles
0 commit comments