Files
acme.sh/dnsapi
wurzelpanzer ef7b2d3c2e dns_easydns: match the TXT record by its rdata when removing (#7199)
dns_easydns_rm() picked the first id in the search response and ignored
$txtvalue. When two challenge records exist under the same host - for
example when example.com and *.example.com are issued as separate
certificates - a concurrent run's record could be deleted instead of
our own.

Select the record by its rdata instead, following the dns_cf.sh
convention of matching name + value. tr '{' '\n' puts one record per
line, so both _egrep_o branches - egrep -o and the BRE sed fallback -
return the same single id. Without it the sed fallback would return
only the last match, since .* is greedy.

An empty record_id is now treated as "nothing to remove" and returns 0,
rather than being reported as an error.

Also add the credential check that _rm was missing. It deliberately
does not call _saveaccountconf_mutable, as _add already does that.

Co-authored-by: wurzelpanzer <wurzelpanzer@maximolider.net>
2026-08-22 10:15:52 +08:00
..
2024-10-13 17:41:22 +02:00
2024-11-09 18:22:01 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2026-03-22 11:36:29 +08:00
2026-07-17 12:38:14 +08:00
2024-10-13 17:55:22 +02:00
2026-07-04 16:54:05 +08:00
2026-06-05 22:02:14 +02:00
2025-11-20 00:29:44 +08:00
2026-07-12 16:13:42 +08:00
2024-10-13 17:41:22 +02:00
2026-07-17 12:38:14 +08:00
2025-11-03 18:14:27 +01:00
2026-07-17 12:38:14 +08:00
2024-10-13 17:49:29 +02:00
2024-05-27 12:45:01 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2026-01-10 01:44:07 +01:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:49:29 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:49:29 +02:00
2024-10-13 17:41:22 +02:00
2026-07-17 12:38:14 +08:00
2026-07-17 12:38:14 +08:00
2024-10-13 17:49:29 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2025-07-02 21:15:46 +08:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:49:29 +02:00
2024-10-16 11:49:29 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:58:19 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:58:19 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2026-07-17 12:38:14 +08:00
2025-12-30 16:31:16 -05:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2026-07-17 12:38:14 +08:00
2024-10-13 17:49:29 +02:00
2024-10-13 17:58:19 +02:00
2026-07-17 12:38:14 +08:00
2026-07-17 12:38:14 +08:00
2024-10-13 17:59:25 +02:00
2026-05-24 22:20:40 +02:00
2026-03-03 05:31:51 -08:00
2026-07-17 12:38:14 +08:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2026-07-17 12:38:14 +08:00
2024-10-13 17:41:22 +02:00
2024-10-13 17:41:22 +02:00
2024-12-28 17:42:58 +02:00
2020-01-30 12:06:39 +08:00