Repository navigation
rusticdoc 0.1.2
·
19 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
This release limits what one caller can make the service spend. The faults it fixes let a caller use memory, CPU or storage that every caller shares. None let a caller past authentication or into another caller's data.
docker pull ghcr.io/crafted-systems/rusticdoc:0.1.2The image is built for amd64 and arm64, and the CLI for Linux and macOS is attached below with a SHA256SUMS file. Versions follow ZeroVer: a new minor number may change behaviour; see the changelog. Documentation: https://rusticdoc.com/docs/
Now refused
A few things that 0.1.1 accepted:
GET /v1/templates/{id}/variablesanswers422for a template with more than 10,000 variable paths, or a path more than 64 parts deep.- A template whose XML is nested more than 256 deep is refused.
- An overlay image above 25 million pixels is refused.
RUSTICDOC_MAX_JOB_STORAGE,5GBby default, limits the background-job results one caller holds at a time. A job whose result would go past it fails withquota_exceeded./healthshows where the store is to admins only.
Changed
- A listing of a PDF's form fields stops at 16 MiB, and fields that inherit their options share them.
- At most four preview pages are drawn at once.
- Stopping LibreOffice stops its whole process group, so no
soffice.binis left behind. - LibreOffice's error output is logged a line at a time, as a field of the log line.
- The service warns at every start about a key shorter than 16 characters.
- The image leaves out
mountand the parts of GnuPG beyondgpg. Nothing in it runs them. - Each release installs Debian's packages as they are that day, and CI scans the image for findings that have a fix. See check the image you run.
- The Rust dependencies are newer, among them minijinja 3.1.0, resvg 0.49 and zip 9.4.2.