f696e885c0d523a2511e2c61993c874ae83521e7
The _url_encode function of acme.sh takes an optional 'upper-hex' argument, which makes it output the percent-encoded characters with upper-case hex digits. Our copy of the function in proxmox-acme lacks it and always outputs lower-case hex. The Aliyun DNS plugin of the bundled acme.sh version uses this argument for the signature of its API requests, as the Aliyun API requires upper-case hex there. So the signature never matched, and adding the TXT record always failed with "SignatureDoesNotMatch". Add the argument the same way acme.sh implements it, as suggested in the bug. Upstream changed the Aliyun plugin in the meantime to not rely on the argument anymore, because of bundled copies like ours, but newer plugins, like dns_baidu.sh and dns_hw.sh, use it too. Signed-off-by: Michal Fox <me@dualfroz.com>
Description
My contributions to proxmox-git/proxmox-acme: 2 commits
38 KiB
0 Stars
1 Watchers
0 Forks
Languages
Shell
100%