Closed ankurk91 closed 1 year ago
Hi,
Vonage allows us to customise the signature method (algo) through their dashboard (see screenshot), the default value is set to HMAC_SHA256.
HMAC_SHA256
This package was hard coded to use md5hash, this PR introduce a new config key signature_method which allows us to override the parameter.
md5hash
signature_method
Vonage uses this algorithm to sign the incoming webhooks as well as outgoing SMS via the SDK.
PS. I have kept backward compatibility, the default algo in sdk is still the same.
Hi,
Vonage allows us to customise the signature method (algo) through their dashboard (see screenshot), the default value is set to
HMAC_SHA256
.This package was hard coded to use
md5hash
, this PR introduce a new config keysignature_method
which allows us to override the parameter.Vonage uses this algorithm to sign the incoming webhooks as well as outgoing SMS via the SDK.
PS. I have kept backward compatibility, the default algo in sdk is still the same.