Alexander Kulumbeg
333d5ad72f
String update
Hopefully the last one
5 years ago
Alexander Kulumbeg
4dd333c4e1
String change
5 years ago
Alexander Kulumbeg
4770115be6
Changing the _hmac auth back
It only works this way, apparently
5 years ago
Alexander Kulumbeg
8363853208
added hex param to _hmac
but removed "printf "s%" ...
5 years ago
Alexander Kulumbeg
debf06fff8
Update dns_websupport.sh
5 years ago
Alexander Kulumbeg
5d03106cd2
Changing the _hmac call into Neil's suggestion
5 years ago
Alexander Kulumbeg
bc1488ae90
Trying the original solution
_hmac sha1 "$(printf "%s" "$WS_ApiSecret" | _hex_dump | tr -d " ")" hex)
5 years ago
Alexander Kulumbeg
c0821cb648
adding the hex parameter to _hmac call
5 years ago
Alexander Kulumbeg
1b12aebe58
Typo
Forgot a quotation mark on line 161
5 years ago
Alexander Kulumbeg
20da70a4ab
Implementing/testing Neil's suggestions
5 years ago
Alexander Kulumbeg
803aa99dec
Testing double 2>/dev/null into _utc_date with sed
5 years ago
Alexander Kulumbeg
f13718b199
2>/dev/null/ to 2>/dev/null
Silly mistake with a "/" -.-
5 years ago
Alexander Kulumbeg
70b17d1a61
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.
5 years ago
Alexander Kulumbeg
103800de26
Fixing the shebang accident
5 years ago
Alexander Kulumbeg
41abe01ee1
sed workaround for "datez"
5 years ago
Alexander Kulumbeg
9948a889d9
And again
5 years ago
Alexander Kulumbeg
4495e83ee0
Yet another Solaris test
5 years ago
Alexander Kulumbeg
2745324b5a
Testing datez change for Solaris
5 years ago
Alexander Kulumbeg
817d0472b6
Fix comments, error msg and time formatting
5 years ago
Alexander Kulumbeg
5b87f05cb2
"datez" var and comments
5 years ago
Alexander Kulumbeg
a263390a07
Update dns_websupport.sh
5 years ago
Alexander Kulumbeg
f6e5ab4da2
Simplified approach for the HMAC method
5 years ago
Alexander Kulumbeg
7e34de8b26
Added a forgotten ")"
5 years ago
Alexander Kulumbeg
f02dccb648
Testing HMAC
5 years ago
Alexander Kulumbeg
1d36e880b1
Update dns_websupport.sh
5 years ago
Alexander Kulumbeg
00eba97511
Update dns_websupport.sh
5 years ago
Alexander Kulumbeg
e0eeca34c7
Test original implementation by trgosk
5 years ago
Alexander Kulumbeg
051775b9b4
String update
Hopefully the last one
5 years ago
Alexander Kulumbeg
2386d2e299
String change
5 years ago
Alexander Kulumbeg
0021fb8a33
Changing the _hmac auth back
It only works this way, apparently
5 years ago
Alexander Kulumbeg
c8c727e6c6
added hex param to _hmac
but removed "printf "s%" ...
5 years ago
Alexander Kulumbeg
b8494ab3cc
Update dns_websupport.sh
5 years ago
Alexander Kulumbeg
2eda03f5de
Changing the _hmac call into Neil's suggestion
5 years ago
Alexander Kulumbeg
3a38358946
Trying the original solution
_hmac sha1 "$(printf "%s" "$WS_ApiSecret" | _hex_dump | tr -d " ")" hex)
5 years ago
Alexander Kulumbeg
6c9845b9f3
adding the hex parameter to _hmac call
5 years ago
Alexander Kulumbeg
9e146a8a5a
Typo
Forgot a quotation mark on line 161
5 years ago
Alexander Kulumbeg
433d9bfb02
Implementing/testing Neil's suggestions
5 years ago
Alexander Kulumbeg
94917e315e
Testing double 2>/dev/null into _utc_date with sed
5 years ago
Alexander Kulumbeg
ced6852735
2>/dev/null/ to 2>/dev/null
Silly mistake with a "/" -.-
5 years ago
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.
5 years ago
Alexander Kulumbeg
3d338bba3c
Fixing the shebang accident
5 years ago
Alexander Kulumbeg
631398f700
sed workaround for "datez"
5 years ago
Alexander Kulumbeg
7984d8cdfb
And again
5 years ago
Alexander Kulumbeg
783a6110ef
Yet another Solaris test
5 years ago
Alexander Kulumbeg
5d4d53c3a1
Testing datez change for Solaris
5 years ago
Alexander Kulumbeg
3014955ece
Fix comments, error msg and time formatting
5 years ago
Alexander Kulumbeg
0481f20c6b
"datez" var and comments
5 years ago
Alexander Kulumbeg
76309601eb
Update dns_websupport.sh
5 years ago
Alexander Kulumbeg
84dd864886
Simplified approach for the HMAC method
5 years ago
Alexander Kulumbeg
7924e01b15
Added a forgotten ")"
5 years ago