Repository navigation
ArvanCloud Let's Encrypt
Security and release integrity
- Replace the abbreviated license summary with the complete GPL-3.0-or-later text, SPDX identifiers, and third-party provenance for the adapted ArvanCloud DNS plugin. GitHub recognizes the repository license as
GPL-3.0. - Require explicit manual release publishing from the current
maincommit; split read-only validation from the publisher job, use least-privilege token permissions, pinactions/checkoutto a reviewed full commit SHA, and reject unverifiable or already-existing tags/releases. - Pin
install.sh,menu.sh, andcore.shto the same immutable release tag; verify every downloaded script against that release's SHA-256 manifest before execution. - Clean up temporary ArvanCloud authorization files on normal exits and common signals; verify the temporary files use restrictive permissions.
- Document certificate directory/private-key permissions, service access implications, and the safe use of custom output directories.
- Add a guarded manual ACME staging integration workflow that requires explicit confirmation and dedicated repository secrets, uses a pinned upstream acme.sh commit, and keeps staging files isolated from production paths. A live staging issuance is still required before this release is considered fully validated.
DNS and certificate reliability
- Retry read-only ArvanCloud DNS GET transport failures and HTTP 429/5xx responses at most three total attempts with bounded backoff; do not retry authorization failures or repeat DNS mutations.
- Preserve exact TXT-record cleanup behavior so only the matching ACME challenge record is deleted.
- Make the replacement-key flow retry only for credential/zone-access failures, reject empty or multi-line keys, and stop rather than reprompt on network/unexpected API errors.
- Preserve worker failure exit codes and ensure failed issuance/install operations are not logged as completed.
- Verify certificate installation output, file presence and permissions, and OpenSSL parsing before reporting success.
Testing and CI
- Add 57 deterministic mocked Bats cases across nine files covering DNS API behavior, authentication/zone access, cleanup on EXIT/HUP/INT/TERM, replacement keys, issuance/install failures, foreground/background worker lifecycle, checksum verification, and staging input guards.
- Run CI on Ubuntu 22.04/24.04 and Debian 12/13; include Bash/sh syntax checks, ShellCheck, actionlint, DNS plugin parity, installer safety checks, and the complete mocked Bats suite.
- Extend release preflight to run the complete behavioral test suite and workflow linting before publishing.