Commit Graph

1452 Commits

Author SHA1 Message Date
Avi Miller
35d4617009 fix: revert _readini() function to be more generic
Also switched [::space::] with a literal space for better
cross-platform compatibility.

Signed-off-by: Avi Miller <avi.miller@oracle.com>
2021-08-10 09:30:05 +02:00
Avi Miller
55681f9fdd feat: enable automatic configuration from an OCI configuration file
The individual parameters can still be overridden via the
corresponding OCI_CLI environment variable.

Signed-off-by: Avi Miller <avi.miller@oracle.com>
2021-08-10 09:30:05 +02:00
Avi Miller
bdc0f74d00 fix: add missing else/return 1 to if block
Signed-off-by: Avi Miller <avi.miller@oracle.com>
2021-08-10 09:30:05 +02:00
Avi Miller
a41cf825e7 fix: switch to using functions instead of calling OpenSSL directly
Also reduced the number of environment variables which simplifies
the documentation and requirements. The variable names now match
those used by the OCI CLI.

Signed-off-by: Avi Miller <avi.miller@oracle.com>
2021-08-10 09:30:05 +02:00
Avi Miller
eee5341988 Add DNS API plugin for Oracle Cloud Infrastructure DNS Service
This plugin is has noticeably more required fields than most
other plugins due to the requirement that all requests to
the OCI REST API must be cryptographically signed by the client
using the draft standard proposed in draft-cavage-http-signatures-08[1].

The OCI specific implementation details of the draft standard are
documented in the Developer Guide[2].

NOTE: there is maximum allowed clock skew of five minutes between the
client and the API endpoint. Requests will be denied if the skew is
greater.

This PR also includes a minor tweak to the Solaris job in the DNS
workflow so that it uses the pre-installed GNU tools, curl and OpenSSL 1.1.1.
Without these changes, the signature generation function does not
work on Solaris.

[1]: https://datatracker.ietf.org/doc/html/draft-cavage-http-signatures-08
[2]: https://docs.oracle.com/en-us/iaas/Content/API/Concepts/signingrequests.htm#five

Signed-off-by: Avi Miller <avi.miller@oracle.com>
2021-08-10 09:30:05 +02:00
neilpang
6e05ad4e71 fix https://github.com/acmesh-official/acme.sh/issues/3563 2021-08-10 09:30:05 +02:00
Marcus Grando
d18ffdb675 Added Azion DNS API 2021-08-10 09:30:05 +02:00
neil
0ce63c79fc fix bug 2021-08-10 09:29:15 +02:00
Christophe B Billheimer
dd805d6850 fix dns_1984hosting_add() so checks for HTML responses are actually find HTML responses 2021-08-10 09:29:15 +02:00
neil
3580cdc87f fix bug 2021-08-10 09:29:15 +02:00
neil
3315c71947 add debug info 2021-08-10 09:29:15 +02:00
Roman Zabaluev
c3099e7ac7 Fix porkbun issues
See gh-3450
2021-08-10 09:29:15 +02:00
Christophe B Billheimer
f0b9532f07 change "$url" -> $url so the value of $url gets passed by reference, and the string "$url" does not erroneously get passed as a variable into _post() 2021-08-10 09:29:15 +02:00
neilpang
ac73e78554 add debug info 2021-08-10 09:29:15 +02:00
Will Browning
bbe338db74 Remove DEDYN_NAME variable from dns_desec.sh 2021-08-10 09:29:15 +02:00
neilpang
484c3293c9 minor 2021-08-10 09:29:15 +02:00
Alexander Kulumbeg
333d5ad72f String update
Hopefully the last one
2021-08-10 09:29:15 +02:00
qkdreyer
0b5fd6718e fix: prevent rate limit 2021-08-10 09:28:23 +02:00
Quentin Dreyer
5529dc99f4 feat: add dns_porkbun 2021-08-10 09:28:23 +02:00
neil
f33f463b3b fix format 2021-08-10 09:28:23 +02:00
anom-human
39e12ec65f Update dns_servercow.sh to support wildcard certs
Updated dns_servercow.sh to support txt records with multiple entries. This supports wildcard certificates that require txt records with the same name and different contents.
2021-08-10 09:28:23 +02:00
anom-human
5ab52c8eab Update dns_servercow.sh to support wildcard certs
Updated dns_servercow.sh to support txt records with multiple entries. This supports wildcard certificates that require txt records with the same name and different contents.
2021-08-10 09:28:23 +02:00
neilpang
79a8fb677a fix format 2021-08-10 09:28:23 +02:00
neilpang
72a8e8ff0c fix https://github.com/acmesh-official/acme.sh/issues/3019 2021-08-10 09:28:23 +02:00
Lukas Brocke
a73fdbbb5b dnsapi/ionos: Use POST instead of PATCH for adding TXT record
The API now supports a POST route for adding records. Therefore
checking for already existing records and including them in a PATCH
request is no longer necessary.
2021-08-10 09:28:23 +02:00
Kristian Johansson
9838b792ed Adds comment 2021-08-10 09:28:23 +02:00
Kristian Johansson
e8d3984f11 Fixes response handling and thereby allow issuing of subdomain certs 2021-08-10 09:28:23 +02:00
czeming
89ee620f5d Update dns_dp.sh
没有encode中文字符会导致提交失败
2021-08-10 09:28:23 +02:00
Easton Man
4ccfa1a794 feat: add huaweicloud error handling 2021-08-10 09:28:02 +02:00
jerrm
e1229d4c02 duckdns - fix "integer expression expected" errors (#3397)
* fix "integer expression expected" errors

* duckdns fix

* Update dns_duckdns.sh

* Update dns_duckdns.sh
2021-08-10 09:28:02 +02:00
manuel
b822da93f4 dnsapi/pdns: also normalize json response in detecting root zone 2021-08-10 09:27:38 +02:00
Vahid Fardi
4a86e71442 change name actor 2021-08-10 09:27:38 +02:00
Vahid Fardi
1d70b98941 change Author name 2021-08-10 09:27:38 +02:00
Vahid Fardi
60fcfd8ce0 change arvan api script 2021-08-10 09:27:38 +02:00
Alexander Kulumbeg
58ff7722cd Revert "Syncing with the original repo (#2)"
This reverts commit c384ed960c.
2021-08-10 09:27:23 +02:00
Alexander Kulumbeg
4dd333c4e1 String change 2021-08-10 09:25:09 +02:00
Alexander Kulumbeg
4770115be6 Changing the _hmac auth back
It only works this way, apparently
2021-08-10 09:25:09 +02:00
Alexander Kulumbeg
8363853208 added hex param to _hmac
but removed "printf "s%" ...
2021-08-10 09:25:09 +02:00
Alexander Kulumbeg
debf06fff8 Update dns_websupport.sh 2021-08-10 09:25:09 +02:00
Alexander Kulumbeg
5d03106cd2 Changing the _hmac call into Neil's suggestion 2021-08-10 09:25:09 +02:00
Alexander Kulumbeg
bc1488ae90 Trying the original solution
_hmac sha1 "$(printf "%s" "$WS_ApiSecret" | _hex_dump | tr -d " ")" hex)
2021-08-10 09:25:09 +02:00
Alexander Kulumbeg
c0821cb648 adding the hex parameter to _hmac call 2021-08-10 09:25:09 +02:00
Alexander Kulumbeg
1b12aebe58 Typo
Forgot a quotation mark on line 161
2021-08-10 09:25:09 +02:00
Alexander Kulumbeg
20da70a4ab Implementing/testing Neil's suggestions 2021-08-10 09:25:09 +02:00
Alexander Kulumbeg
803aa99dec Testing double 2>/dev/null into _utc_date with sed 2021-08-10 09:25:09 +02:00
Alexander Kulumbeg
f13718b199 2>/dev/null/ to 2>/dev/null
Silly mistake with a "/" -.-
2021-08-10 09:25:09 +02:00
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.
2021-08-10 09:25:09 +02:00
Alexander Kulumbeg
103800de26 Fixing the shebang accident 2021-08-10 09:25:09 +02:00
Alexander Kulumbeg
41abe01ee1 sed workaround for "datez" 2021-08-10 09:25:09 +02:00
Alexander Kulumbeg
9948a889d9 And again 2021-08-10 09:25:09 +02:00