5
0
mirror of git://git.proxmox.com/git/proxmox-acme.git synced 2025-02-25 21:57:20 +03:00

65 Commits

Author SHA1 Message Date
Thomas Lamprecht
cb5329e656 debian: set source format correctly
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-05 10:00:15 +02:00
Thomas Lamprecht
7c671e3ffe bump version to 1.0.8
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-03-16 17:11:51 +01:00
Thomas Lamprecht
21e6ed3007 dns: add new plugins to schema and install them
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-03-16 17:04:35 +01:00
Thomas Lamprecht
3721195233 update acme.sh to current master
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-03-16 17:01:41 +01:00
Wolfgang Bumiller
c617455e64 add missing 'use PVE::Acme' statement
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-03-12 15:59:46 +01:00
Thomas Lamprecht
5bc035dda3 bump version to 1.0.7
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-12-11 19:10:19 +01:00
Thomas Lamprecht
dfc8695d03 acme: define kapper.net and acme-dns schema
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-12-11 19:10:19 +01:00
Thomas Lamprecht
394bfcc5be buildsys: ensure new plugins also get installed
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-12-11 18:54:53 +01:00
Thomas Lamprecht
895b703e20 add basic test so schema is in sync with available plugins
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-12-11 18:54:53 +01:00
Thomas Lamprecht
da7c723f60 dns challenge: add missing plugins to schema
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-12-11 18:43:16 +01:00
Thomas Lamprecht
cd491a0711 bump version to 1.0.6
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-12-07 11:59:17 +01:00
Thomas Lamprecht
5fa6f0f615 update acme.sh to 2.8.8
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-12-07 11:53:57 +01:00
Fabian Grünbichler
3704cab609 bump version to 1.0.5
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-09-04 14:01:17 +02:00
Thomas Lamprecht
1192b59586 fix : use actual plugin config data
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-24 00:24:44 +02:00
Thomas Lamprecht
956b5190e4 dns challenge: add 'INWX' acme.sh schema
https://bugzilla.proxmox.com/show_bug.cgi?id=2731

Requested-by: Claas Hilbrecht <Claas.Hilbrecht@linum.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-23 23:55:38 +02:00
Thomas Lamprecht
b21c536ad7 bump version to 1.0.4
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-15 20:07:01 +02:00
Thomas Lamprecht
231ed7c0fd dns challenge: describe digitalocean schema
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-15 20:04:56 +02:00
Thomas Lamprecht
ec59606a39 dns challenge: add df (dyndnsfree.de) provider
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-15 20:04:53 +02:00
Thomas Lamprecht
5cc388d2d6 update acme.sh dns plugins to 2.8.6
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-15 19:57:20 +02:00
Thomas Lamprecht
c69fdfe998 make clean: clean more
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-15 19:53:19 +02:00
Thomas Lamprecht
b727e3a6b8 bump version to 1.0.3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-07 21:50:00 +02:00
Thomas Lamprecht
aa7b91cbf0 dns challenge: provide schema for more providers
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-07 20:39:56 +02:00
Thomas Lamprecht
345f5a52db trigger activate-noawait pve-api-updates
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-07 17:29:35 +02:00
Thomas Lamprecht
f3765a2594 bump version to 1.0.2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-05 19:19:49 +02:00
Thomas Lamprecht
dfd2aa27fe dns schema: move fields one level deeper
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-05 19:18:58 +02:00
Thomas Lamprecht
69ce6537ab dns: complete OVH schema
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-05 18:34:33 +02:00
Dominik Csapak
6372e89801 add note that the data has to be base64 encoded
but only via api, on the cli it is a file which contains
the data in plaintext

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-05-05 18:29:08 +02:00
Dominik Csapak
6f5be4aa3c DNSChallenge: make plugins a hash with an optional schema
so that we can use that schema to generate form fields in the gui

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2020-05-05 18:29:04 +02:00
Thomas Lamprecht
f4ee95aec5 plugin id: limit to 'pve-configid' format
Else one can pass almost arbitrary data as ID and break editing or
deletion of a plugin.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-04 14:54:28 +02:00
Thomas Lamprecht
2a656f9a39 bump version to 1.0.1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-03 18:14:52 +02:00
Thomas Lamprecht
4317ba9937 DNS Challenge: add validation-delay plugin option
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-03 18:14:52 +02:00
Thomas Lamprecht
d8aac48878 use smart-relative gitmodule path
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-03 17:17:39 +02:00
Thomas Lamprecht
c1008bfe7e bump version to 1.0.0
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-03 17:07:44 +02:00
Thomas Lamprecht
888b6f2c1b use native source format, fix lintian complaints
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-03 17:07:12 +02:00
Thomas Lamprecht
9bd9d7a72e buildsys: move submodule to src, cleanups
it's nicer as the build system is more coherent, i.e., I can do `make
install` from inside src and it actually works ;)

Use an atomic target for the build directory, else we can easily get
bogus builds.

Further use only one type of GNU make variable flavors, not both $()
and ${} mixed..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-03 17:00:49 +02:00
Thomas Lamprecht
c0c6720a65 buildsys: sort and cleanup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-03 16:49:26 +02:00
Thomas Lamprecht
e39249369a allow to get full DNS plugins list
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-03 16:47:41 +02:00
Thomas Lamprecht
d93b0e879b acme: variable name cleanup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-02 18:48:07 +02:00
Thomas Lamprecht
017d8f5c3d d/control: add ${perl:Depends} and require pve-common > 6~
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-04-30 12:14:41 +02:00
Fabian Grünbichler
3f11a21544 bump version to 1.0.0-1
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-04-20 10:47:38 +02:00
Fabian Grünbichler
8a68340096 d/control: add B+R libpve-common-perl
since we takeover the perl modules

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-04-20 10:47:38 +02:00
Fabian Grünbichler
433059825f d/control: wrap-and-sort 2020-04-20 10:47:38 +02:00
Fabian Grünbichler
1a8ba4f072 proxmox-acme: fix readaccountconf
by switching to bash and echoing the values passed in from the plugin
config.

plugins like the OVH config attempt to detect and handle changed config
by comparing set env variables and values stored in the config, leading
to confusing output otherwise.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-04-20 10:47:38 +02:00
Fabian Grünbichler
13bc64ea1d 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>
2020-04-20 10:47:38 +02:00
Fabian Grünbichler
f0ed07330c dns plugin: reset environment
in addition to switching to nobody:nogroup, to reduce things exposed to
the dnsapi plugins

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-04-17 14:42:26 +02:00
Fabian Grünbichler
bd6d81d468 plugins: remove get_subplugins
it's unused, and the only plugin that has such functionality already
encodes the possible values as enum in the schema anyway..

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-04-17 14:33:41 +02:00
Fabian Grünbichler
122626b3d5 plugins: unify extract_challenge
we have a list of supported challenge types per plugin, so we only need
one generic implementation.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-04-17 14:33:41 +02:00
Fabian Grünbichler
f00829fd60 plugins: refactor setup/teardown signatures
and move handling of tokens/key_auths to plugins, since it's not bound
to be identical for all challenge types forever.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-04-17 14:29:43 +02:00
Fabian Grünbichler
9ea3c3d9de dns plugin: use non-usrmerged path for bash
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-04-17 09:44:09 +02:00
Fabian Grünbichler
13b638827a dns plugin: make data optional
it might be hard-coded in a (modified) plugin, or not needed

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-04-17 09:44:09 +02:00