]> git.proxmox.com Git - proxmox-acme.git/commit - src/proxmox-acme
dns plugin: improve 'data' string encoding/passing
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Fri, 17 Apr 2020 13:09:34 +0000 (15:09 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 20 Apr 2020 08:47:38 +0000 (10:47 +0200)
commit13bc64ea1df4adc59bb8cddd8c5d63b0466ab5af
tree4aefe09b57d1486cdd0ee71521e46c0808a3de75
parentf0ed07330cd559e4971946201ef749d55ef9bcaa
dns plugin: improve 'data' string encoding/passing

encode the full multi-line string as base64 single-line string on
each config write, and decode at config parse time. pass both the data
key/value pairs and the secret txtvalue via STDIN instead of as command
line arguments.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
src/PVE/ACME/Challenge.pm
src/PVE/ACME/DNSChallenge.pm
src/proxmox-acme