Browse Source

Remove unecessary base64 encoding

asavin 2 weeks ago
parent
commit
75ee17aeeb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dnsapi/dns_efficientip.sh

+ 1 - 1
dnsapi/dns_efficientip.sh

@@ -121,7 +121,7 @@ dns_efficientip_rm() {
   else
   else
     TS=$(date +%s)
     TS=$(date +%s)
     Sig=$(printf "%b\n$TS\nDELETE\n${baseurlnObject}" "${EfficientIP_Token_Secret}" | _digest sha3-256 hex)
     Sig=$(printf "%b\n$TS\nDELETE\n${baseurlnObject}" "${EfficientIP_Token_Secret}" | _digest sha3-256 hex)
-    EfficientIP_CredsEncoded=$(printf "%b:%b" "${EfficientIP_Token_Key}" "$Sig" | _base64)
+    EfficientIP_CredsEncoded=$(printf "%b:%b" "${EfficientIP_Token_Key}" "$Sig")
     export _H2="Authorization: SDS ${EfficientIP_CredsEncoded}"
     export _H2="Authorization: SDS ${EfficientIP_CredsEncoded}"
     export _H3="X-SDS-TS: $TS"
     export _H3="X-SDS-TS: $TS"
   fi
   fi