Skip to content

fix: stamp the real version into the image and bound CULVERT_CRL_DAYS - #61

Merged
catinspace-au merged 1 commit into
mainfrom
fix/version-arg-crl-bound
Oct 1, 2026
Merged

catinspace-au merged 1 commit into
mainfrom
fix/version-arg-crl-bound

Conversation

@catinspace-au

Copy link
Copy Markdown
Contributor

The published image's /etc/vpn/VERSION read "dev" because nothing passed the release version into the Dockerfile's ARG VERSION build arg. hyperi-ci now renders it from release.container.build_args, using the {version} placeholder it substitutes at release time.

CULVERT_CRL_DAYS reached Easy-RSA unvalidated, so a zero, negative, or non-numeric value could break CRL regeneration silently. validate() now rejects both cases with a clear error; unset still defaults to 180. crl_days stays a plain int everywhere it's consumed (pki.py, revoke-client.py, update-crl.py); an unparseable raw value is carried separately in crl_days_invalid so validate() can name it.

Also documents scalo.logger.setup and its four call sites in docs/scalo-reference.md, closing the Quality "no doc did" warning from #60.

The published image's /etc/vpn/VERSION read "dev" because nothing passed
the release version into the Dockerfile's ARG VERSION build arg. hyperi-ci
now renders it from release.container.build_args.

CULVERT_CRL_DAYS reached Easy-RSA unvalidated, so a zero, negative, or
non-numeric value could break CRL regeneration silently. validate() now
rejects both cases with a clear error; unset still defaults to 180.

Also documents scalo.logger.setup and its four call sites in
docs/scalo-reference.md, closing the Quality "no doc did" warning from #60.
@catinspace-au
catinspace-au requested a review from a team as a code owner October 1, 2026 11:23
@catinspace-au
catinspace-au merged commit d5aa744 into main Oct 1, 2026
13 checks passed
@catinspace-au
catinspace-au deleted the fix/version-arg-crl-bound branch October 1, 2026 11:29
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Released in v2.1.17 -- https://github.com/hyperi-io/culvert/releases/tag/v2.1.17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant