Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

up to v4.20.4+ #4

Merged
merged 49 commits into from
Nov 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
6051473
volcengine: set API information within the default configuration (#2308)
liuruibin Oct 21, 2024
19b535c
limacity: fix error message (#2310)
ldez Oct 21, 2024
008c817
Add DNS provider for Core-Networks (#2101)
ldez Oct 25, 2024
48af0d2
chore: update readme generator (#2311)
dmke Oct 26, 2024
e3ec3c2
chore: fix readme generator (#2312)
ldez Oct 26, 2024
d0708fc
chore: embed templates for internal commands (#2314)
ldez Oct 28, 2024
4809501
chore: improve internal release command (#2315)
ldez Oct 28, 2024
aef8970
fix: parse printf verbs in log line output (#2317)
fhemberger Nov 1, 2024
9c87603
Add DNS provider for Regfish (#2320)
ldez Nov 5, 2024
b41079b
chore: update dependencies (#2321)
ldez Nov 5, 2024
40bf2b0
selectelv2: fix non-ASCII domain (#2322)
Archirk Nov 6, 2024
af7e2ed
brandit: provider deprecation (#2116)
ldez Nov 6, 2024
67230e2
cloudxns: provider deprecation (#2324)
ldez Nov 6, 2024
f2f5550
chore: update issue templates
ldez Nov 7, 2024
815c61a
docs: use homogenous examples (#2328)
ldez Nov 7, 2024
f8db554
regru: update authentication method (#2325)
tcaty Nov 8, 2024
f514292
rfc2136: add support for tsig-keygen generated file (#2330)
ldez Nov 9, 2024
4efd1e1
Add DNS provider for Technitium (#2332)
ldez Nov 10, 2024
2b08b83
feat: skip the TLS verification of the ACME server (#2335)
ldez Nov 10, 2024
06dfe51
docs: add documentation for env var only options (#2337)
ldez Nov 10, 2024
faf1e0d
docs: update least privilege instructions for Cloudflare (#2339)
joshka Nov 11, 2024
98371c4
feat: attempt to check ARI unless explicitly disabled (#2298)
beautifulentropy Nov 11, 2024
a7aaae4
chore: domain merge simplification (#2340)
ldez Nov 11, 2024
c17ca37
chore: update linter (#2341)
ldez Nov 11, 2024
f999e16
Prepare release v4.20.0
ldez Nov 11, 2024
947e098
Detach v4.20.0
ldez Nov 11, 2024
b3dc8bc
Prepare release v4.20.1
ldez Nov 11, 2024
1225d05
Detach v4.20.1
ldez Nov 11, 2024
400c2c5
Prepare release v4.20.2
ldez Nov 11, 2024
e020767
Detach v4.20.2
ldez Nov 11, 2024
11929c9
fix: HTTP server IPv6 matching (#2345)
ldez Nov 11, 2024
669cf4d
docs: improve changelog style (#2346)
ldez Nov 11, 2024
062e355
docs: fix typos
ldez Nov 11, 2024
92d437f
chore: restore snap packaging (#2348)
ldez Nov 13, 2024
15af107
chore: fix snap name (#2349)
ldez Nov 13, 2024
5987820
directadmin: fix timeout configuration (#2351)
ldez Nov 15, 2024
a628db5
chore: check DNSProvider interface (#2352)
ldez Nov 15, 2024
8ed8207
chore: publish aur lego-bin (#2356)
ldez Nov 20, 2024
7d83dae
technitium: fix status code handling (#2357)
ldez Nov 21, 2024
b38be91
Prepare release v4.20.3
ldez Nov 21, 2024
d5290e9
Detach v4.20.3
ldez Nov 21, 2024
b66d768
chore: publish snap to the stable channel
ldez Nov 21, 2024
3fc9ae1
Prepare release v4.20.4
ldez Nov 21, 2024
645169e
Detach v4.20.4
ldez Nov 21, 2024
6fccca6
Add DNS provider for Rainyun/雨云 (#2354)
Cikaros Nov 21, 2024
b349021
Add DNS provider for West.cn/西部数码 (#2318)
ldez Nov 21, 2024
87b7e71
chore: fix AUR configuration
ldez Nov 22, 2024
cb6188f
Merge branch 'master' into pr/3
usarise Nov 22, 2024
1dfe5b6
Revert "Merge branch 'master' into pr/3"
usarise Nov 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN_REPO }}
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}
AUR_KEY: ${{ secrets.AUR_KEY }}
39 changes: 28 additions & 11 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,32 +144,49 @@ dockers:
- '--label=org.opencontainers.image.version={{.Version}}'
- '--platform=linux/arm/v7'

# Disabled because https://github.com/go-acme/lego/pull/2134#issuecomment-2135293270
snapcrafts:
- name: lego
disable: true
- name_template: "{{ .ProjectName }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
disable: false
publish: true
grade: stable
confinement: strict
license: MIT
base: core22
publish: true
summary: Lego is a Let's Encrypt/ACME client.
description: |
Lego is a Let's Encrypt/ACME client written in Go.

The lego snap makes it easy to install and use Lego on any Linux distribution that supports snaps.

Usage:
* `sudo snap install lego`
* `sudo lego --email="you@example.com" --domains="example.com" --server=https://acme-staging-v02.api.letsencrypt.org/directory --http --http.port :8080 run

channel_templates:
- edge

apps:
lego:
command: bin/lego
command: lego
environment:
LEGO_PATH: /var/snap/lego/common/.lego
plugs:
- network-bind

aurs:
- description: "Let s Encrypt client and ACME library written in Go"
skip_upload: false
homepage: https://go-acme.github.io/lego/
name: 'lego-bin'
provides:
- lego
maintainers:
- "Fernandez Ludovic <lfernandez dot dev at gmail dot com>"
license: APACHE
private_key: "{{ .Env.AUR_KEY }}"
git_url: "ssh://aur@aur.archlinux.org/lego-bin.git"
commit_author:
name: ldez
email: ldez@users.noreply.github.com
package: |-
# Bin
install -Dm755 "./lego" "${pkgdir}/usr/bin/lego"

# License
install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/lego/LICENSE"
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## [v4.20.4](https://github.com/go-acme/lego/releases/tag/v4.20.4) (2024-11-21)

Publish the Snap to the Snapcraft stable channel.

## [v4.20.3](https://github.com/go-acme/lego/releases/tag/v4.20.3) (2024-11-21)

### Fixed

- **[dnsprovider]** technitium: fix status code handling
- **[dnsprovider]** directadmin: fix timeout configuration
- **[httpprovider]** fix: HTTP server IPv6 matching

## [v4.20.2](https://github.com/go-acme/lego/releases/tag/v4.20.2) (2024-11-11)

### Added
Expand Down
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,55 +182,55 @@ Detailed documentation is available [here](https://go-acme.github.io/lego/dns).
<td><a href="https://go-acme.github.io/lego/dns/pdns/">PowerDNS</a></td>
<td><a href="https://go-acme.github.io/lego/dns/rackspace/">Rackspace</a></td>
</tr><tr>
<td><a href="https://go-acme.github.io/lego/dns/rainyun/">Rain Yun/雨云</a></td>
<td><a href="https://go-acme.github.io/lego/dns/rcodezero/">RcodeZero</a></td>
<td><a href="https://go-acme.github.io/lego/dns/regru/">reg.ru</a></td>
<td><a href="https://go-acme.github.io/lego/dns/regfish/">Regfish</a></td>
<td><a href="https://go-acme.github.io/lego/dns/rfc2136/">RFC2136</a></td>
</tr><tr>
<td><a href="https://go-acme.github.io/lego/dns/rfc2136/">RFC2136</a></td>
<td><a href="https://go-acme.github.io/lego/dns/rimuhosting/">RimuHosting</a></td>
<td><a href="https://go-acme.github.io/lego/dns/sakuracloud/">Sakura Cloud</a></td>
<td><a href="https://go-acme.github.io/lego/dns/scaleway/">Scaleway</a></td>
<td><a href="https://go-acme.github.io/lego/dns/selectel/">Selectel</a></td>
</tr><tr>
<td><a href="https://go-acme.github.io/lego/dns/selectel/">Selectel</a></td>
<td><a href="https://go-acme.github.io/lego/dns/selectelv2/">Selectel v2</a></td>
<td><a href="https://go-acme.github.io/lego/dns/selfhostde/">SelfHost.(de|eu)</a></td>
<td><a href="https://go-acme.github.io/lego/dns/servercow/">Servercow</a></td>
<td><a href="https://go-acme.github.io/lego/dns/shellrent/">Shellrent</a></td>
</tr><tr>
<td><a href="https://go-acme.github.io/lego/dns/shellrent/">Shellrent</a></td>
<td><a href="https://go-acme.github.io/lego/dns/simply/">Simply.com</a></td>
<td><a href="https://go-acme.github.io/lego/dns/sonic/">Sonic</a></td>
<td><a href="https://go-acme.github.io/lego/dns/stackpath/">Stackpath</a></td>
<td><a href="https://go-acme.github.io/lego/dns/technitium/">Technitium</a></td>
</tr><tr>
<td><a href="https://go-acme.github.io/lego/dns/technitium/">Technitium</a></td>
<td><a href="https://go-acme.github.io/lego/dns/tencentcloud/">Tencent Cloud DNS</a></td>
<td><a href="https://go-acme.github.io/lego/dns/timewebcloud/">Timeweb Cloud</a></td>
<td><a href="https://go-acme.github.io/lego/dns/transip/">TransIP</a></td>
<td><a href="https://go-acme.github.io/lego/dns/safedns/">UKFast SafeDNS</a></td>
</tr><tr>
<td><a href="https://go-acme.github.io/lego/dns/safedns/">UKFast SafeDNS</a></td>
<td><a href="https://go-acme.github.io/lego/dns/ultradns/">Ultradns</a></td>
<td><a href="https://go-acme.github.io/lego/dns/variomedia/">Variomedia</a></td>
<td><a href="https://go-acme.github.io/lego/dns/vegadns/">VegaDNS</a></td>
<td><a href="https://go-acme.github.io/lego/dns/vercel/">Vercel</a></td>
</tr><tr>
<td><a href="https://go-acme.github.io/lego/dns/vercel/">Vercel</a></td>
<td><a href="https://go-acme.github.io/lego/dns/versio/">Versio.[nl|eu|uk]</a></td>
<td><a href="https://go-acme.github.io/lego/dns/vinyldns/">VinylDNS</a></td>
<td><a href="https://go-acme.github.io/lego/dns/vkcloud/">VK Cloud</a></td>
<td><a href="https://go-acme.github.io/lego/dns/volcengine/">Volcano Engine/火山引擎</a></td>
</tr><tr>
<td><a href="https://go-acme.github.io/lego/dns/volcengine/">Volcano Engine/火山引擎</a></td>
<td><a href="https://go-acme.github.io/lego/dns/vscale/">Vscale</a></td>
<td><a href="https://go-acme.github.io/lego/dns/vultr/">Vultr</a></td>
<td><a href="https://go-acme.github.io/lego/dns/webnames/">Webnames</a></td>
<td><a href="https://go-acme.github.io/lego/dns/websupport/">Websupport</a></td>
</tr><tr>
<td><a href="https://go-acme.github.io/lego/dns/websupport/">Websupport</a></td>
<td><a href="https://go-acme.github.io/lego/dns/wedos/">WEDOS</a></td>
<td><a href="https://go-acme.github.io/lego/dns/westcn/">West.cn/西部数码</a></td>
<td><a href="https://go-acme.github.io/lego/dns/yandex360/">Yandex 360</a></td>
</tr><tr>
<td><a href="https://go-acme.github.io/lego/dns/yandexcloud/">Yandex Cloud</a></td>
<td><a href="https://go-acme.github.io/lego/dns/yandex/">Yandex PDD</a></td>
</tr><tr>
<td><a href="https://go-acme.github.io/lego/dns/zoneee/">Zone.ee</a></td>
<td><a href="https://go-acme.github.io/lego/dns/zonomi/">Zonomi</a></td>
<td></td>
<td></td>
</tr></table>

<!-- END DNS PROVIDERS LIST -->
Expand Down
2 changes: 1 addition & 1 deletion acme/api/internal/sender/useragent.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cmd/lego/zz_gen_version.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

43 changes: 43 additions & 0 deletions cmd/zz_gen_cmd_dnshelp.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

67 changes: 67 additions & 0 deletions docs/content/dns/zz_gen_rainyun.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
---
title: "Rain Yun/雨云"
date: 2019-03-03T16:39:46+01:00
draft: false
slug: rainyun
dnsprovider:
since: "v4.21.0"
code: "rainyun"
url: "https://www.rainyun.com"
---

<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
<!-- providers/dns/rainyun/rainyun.toml -->
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->


Configuration for [Rain Yun/雨云](https://www.rainyun.com).


<!--more-->

- Code: `rainyun`
- Since: v4.21.0


Here is an example bash command using the Rain Yun/雨云 provider:

```bash
RAINYUN_API_KEY="xxxxxxxxxxxxxxxxxxxxx" \
lego --email you@example.com --dns rainyun -d '*.example.com' -d example.com run
```




## Credentials

| Environment Variable Name | Description |
|-----------------------|-------------|
| `RAINYUN_API_KEY` | API key |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{% ref "dns#configuration-and-credentials" %}}).


## Additional Configuration

| Environment Variable Name | Description |
|--------------------------------|-------------|
| `RAINYUN_HTTP_TIMEOUT` | API request timeout |
| `RAINYUN_POLLING_INTERVAL` | Time between DNS propagation check |
| `RAINYUN_PROPAGATION_TIMEOUT` | Maximum waiting time for DNS propagation |
| `RAINYUN_TTL` | The TTL of the TXT record used for the DNS challenge |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{% ref "dns#configuration-and-credentials" %}}).




## More information

- [API documentation](https://www.apifox.cn/apidoc/shared-a4595cc8-44c5-4678-a2a3-eed7738dab03/api-151416609)

<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
<!-- providers/dns/rainyun/rainyun.toml -->
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
69 changes: 69 additions & 0 deletions docs/content/dns/zz_gen_westcn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
---
title: "West.cn/西部数码"
date: 2019-03-03T16:39:46+01:00
draft: false
slug: westcn
dnsprovider:
since: "v4.21.0"
code: "westcn"
url: "https://www.west.cn"
---

<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
<!-- providers/dns/westcn/westcn.toml -->
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->


Configuration for [West.cn/西部数码](https://www.west.cn).


<!--more-->

- Code: `westcn`
- Since: v4.21.0


Here is an example bash command using the West.cn/西部数码 provider:

```bash
WESTCN_USERNAME="xxx" \
WESTCN_PASSWORD="yyy" \
lego --email you@example.com --dns westcn -d '*.example.com' -d example.com run
```




## Credentials

| Environment Variable Name | Description |
|-----------------------|-------------|
| `WESTCN_PASSWORD` | API password |
| `WESTCN_USERNAME` | Username |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{% ref "dns#configuration-and-credentials" %}}).


## Additional Configuration

| Environment Variable Name | Description |
|--------------------------------|-------------|
| `WESTCN_HTTP_TIMEOUT` | API request timeout |
| `WESTCN_POLLING_INTERVAL` | Time between DNS propagation check |
| `WESTCN_PROPAGATION_TIMEOUT` | Maximum waiting time for DNS propagation |
| `WESTCN_TTL` | The TTL of the TXT record used for the DNS challenge |

The environment variable names can be suffixed by `_FILE` to reference a file instead of a value.
More information [here]({{% ref "dns#configuration-and-credentials" %}}).




## More information

- [API documentation](https://www.west.cn/CustomerCenter/doc/domain_v2.html)

<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
<!-- providers/dns/westcn/westcn.toml -->
<!-- THIS DOCUMENTATION IS AUTO-GENERATED. PLEASE DO NOT EDIT. -->
2 changes: 1 addition & 1 deletion docs/data/zz_cli_help.toml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ To display the documentation for a specific DNS provider, run:
$ lego dnshelp -c code

Supported DNS providers:
acme-dns, alidns, allinkl, arvancloud, auroradns, autodns, azure, azuredns, bindman, bluecat, brandit, bunny, checkdomain, civo, clouddns, cloudflare, cloudns, cloudru, cloudxns, conoha, constellix, corenetworks, cpanel, derak, desec, designate, digitalocean, directadmin, dnshomede, dnsimple, dnsmadeeasy, dnspod, dode, domeneshop, dreamhost, duckdns, dyn, dynu, easydns, edgedns, efficientip, epik, exec, exoscale, freemyip, gandi, gandiv5, gcloud, gcore, glesys, godaddy, googledomains, hetzner, hostingde, hosttech, httpnet, httpreq, huaweicloud, hurricane, hyperone, ibmcloud, iij, iijdpf, infoblox, infomaniak, internetbs, inwx, ionos, ipv64, iwantmyname, joker, liara, lightsail, limacity, linode, liquidweb, loopia, luadns, mailinabox, manual, metaname, mijnhost, mittwald, mydnsjp, mythicbeasts, namecheap, namedotcom, namesilo, nearlyfreespeech, netcup, netlify, nicmanager, nifcloud, njalla, nodion, ns1, oraclecloud, otc, ovh, pdns, plesk, porkbun, rackspace, rcodezero, regfish, regru, rfc2136, rimuhosting, route53, safedns, sakuracloud, scaleway, selectel, selectelv2, selfhostde, servercow, shellrent, simply, sonic, stackpath, technitium, tencentcloud, timewebcloud, transip, ultradns, variomedia, vegadns, vercel, versio, vinyldns, vkcloud, volcengine, vscale, vultr, webnames, websupport, wedos, yandex, yandex360, yandexcloud, zoneee, zonomi
acme-dns, alidns, allinkl, arvancloud, auroradns, autodns, azure, azuredns, bindman, bluecat, brandit, bunny, checkdomain, civo, clouddns, cloudflare, cloudns, cloudru, cloudxns, conoha, constellix, corenetworks, cpanel, derak, desec, designate, digitalocean, directadmin, dnshomede, dnsimple, dnsmadeeasy, dnspod, dode, domeneshop, dreamhost, duckdns, dyn, dynu, easydns, edgedns, efficientip, epik, exec, exoscale, freemyip, gandi, gandiv5, gcloud, gcore, glesys, godaddy, googledomains, hetzner, hostingde, hosttech, httpnet, httpreq, huaweicloud, hurricane, hyperone, ibmcloud, iij, iijdpf, infoblox, infomaniak, internetbs, inwx, ionos, ipv64, iwantmyname, joker, liara, lightsail, limacity, linode, liquidweb, loopia, luadns, mailinabox, manual, metaname, mijnhost, mittwald, mydnsjp, mythicbeasts, namecheap, namedotcom, namesilo, nearlyfreespeech, netcup, netlify, nicmanager, nifcloud, njalla, nodion, ns1, oraclecloud, otc, ovh, pdns, plesk, porkbun, rackspace, rainyun, rcodezero, regfish, regru, rfc2136, rimuhosting, route53, safedns, sakuracloud, scaleway, selectel, selectelv2, selfhostde, servercow, shellrent, simply, sonic, stackpath, technitium, tencentcloud, timewebcloud, transip, ultradns, variomedia, vegadns, vercel, versio, vinyldns, vkcloud, volcengine, vscale, vultr, webnames, websupport, wedos, westcn, yandex, yandex360, yandexcloud, zoneee, zonomi

More information: https://go-acme.github.io/lego/dns
"""
Loading