Alexander Kulumbeg
0021fb8a33
Changing the _hmac auth back
...
It only works this way, apparently
2021-02-04 17:27:39 +01:00
Alexander Kulumbeg
c8c727e6c6
added hex param to _hmac
...
but removed "printf "s%" ...
2021-02-04 17:21:33 +01:00
Alexander Kulumbeg
b8494ab3cc
Update dns_websupport.sh
2021-02-04 17:15:22 +01:00
Alexander Kulumbeg
2eda03f5de
Changing the _hmac call into Neil's suggestion
2021-02-04 15:32:51 +01:00
Alexander Kulumbeg
3a38358946
Trying the original solution
...
_hmac sha1 "$(printf "%s" "$WS_ApiSecret" | _hex_dump | tr -d " ")" hex)
2021-02-04 15:22:53 +01:00
Alexander Kulumbeg
6c9845b9f3
adding the hex parameter to _hmac call
2021-02-04 15:18:39 +01:00
Alexander Kulumbeg
9e146a8a5a
Typo
...
Forgot a quotation mark on line 161
2021-02-04 15:15:17 +01:00
Alexander Kulumbeg
433d9bfb02
Implementing/testing Neil's suggestions
2021-02-04 15:11:53 +01:00
Alexander Kulumbeg
94917e315e
Testing double 2>/dev/null into _utc_date with sed
2021-02-04 11:18:22 +01:00
Alexander Kulumbeg
ced6852735
2>/dev/null/ to 2>/dev/null
...
Silly mistake with a "/" -.-
2021-02-04 11:15:13 +01:00
Alexander Kulumbeg
8dc55f417d
Extra test - adding date -u -d
...
Adding this to at least partially prevent the virtually nonexistent possibility of timestamp and _utc_date() mismatch. If the normal date -u -d does not get converted (looking at you Solaris!), the poor man's method with manipulating the _utc_date() string output kicks in.
2021-02-04 10:13:36 +01:00
Alexander Kulumbeg
3d338bba3c
Fixing the shebang accident
2021-02-04 00:31:46 +01:00
Alexander Kulumbeg
631398f700
sed workaround for "datez"
2021-02-04 00:21:08 +01:00
Alexander Kulumbeg
7984d8cdfb
And again
2021-02-01 20:43:22 +01:00
Alexander Kulumbeg
783a6110ef
Yet another Solaris test
2021-02-01 20:31:05 +01:00
Alexander Kulumbeg
5d4d53c3a1
Testing datez change for Solaris
2021-02-01 18:37:17 +01:00
Alexander Kulumbeg
3014955ece
Fix comments, error msg and time formatting
2021-02-01 18:16:15 +01:00
Alexander Kulumbeg
0481f20c6b
"datez" var and comments
2021-02-01 00:30:36 +01:00
Alexander Kulumbeg
76309601eb
Update dns_websupport.sh
2021-01-31 22:25:13 +01:00
Alexander Kulumbeg
84dd864886
Simplified approach for the HMAC method
2021-01-31 22:16:00 +01:00
Alexander Kulumbeg
7924e01b15
Added a forgotten ")"
2021-01-31 22:04:53 +01:00
Alexander Kulumbeg
dadc70630b
Testing HMAC
2021-01-31 22:02:11 +01:00
Alexander Kulumbeg
4956a58026
Update dns_websupport.sh
2021-01-25 22:10:27 +01:00
Alexander Kulumbeg
92332fc385
Update dns_websupport.sh
2021-01-25 22:01:41 +01:00
Alexander Kulumbeg
9366f4b40e
Test original implementation by trgosk
2021-01-25 21:55:07 +01:00