Marvo2011 / acme.sh

A pure Unix shell script implementing ACME client protocol
https://acme.sh
GNU General Public License v3.0
1 stars 1 forks source link

domain lookup for DNS_MAP changed. #5

Closed AlvinSchiller closed 2 years ago

AlvinSchiller commented 2 years ago

Fix for https://github.com/Marvo2011/acme.sh/issues/1#issuecomment-1122004920

-Replaced "grep" and "tr" with "sed" command to get the RID -Added support for defining DNS entries with or without prefix (support existing definitions of old version) -DNS entry will only be matched on full domain (at the beginning of the string or with a leading whitespace)

TODOs: Plugins must be validated

AlvinSchiller commented 2 years ago

@Marvo2011 https://github.com/Marvo2011/acme.sh/issues/1#issuecomment-1129556503 the changes look good on my side. Only thing i adjusted was the "space" char. I used the POSIX conform version of "\s" - [[:space:]] now for higher error tolerance, which should be availabe on all distros. Please recheck on your side. in case this will fail, we can go back to the "space".

Marvo2011 commented 2 years ago

@AlvinSchiller thanks, I will try it 👍 than I merge it