Cert checking #1

Open
opened 2026-11-11 22:29:50 +00:00 by jan.klopper · 0 comments

While nldoc is opensource, and probably not running somewhere where this is a real issue. The current code in the kimiworker class connects to its s3 storage backend with a hardcoded disabled certificate check.
cert_check=False.

While this is probably not an issue if the s3 instance is in fact co-hosted (as in the examples on localhost, and a trusted machine), any other location adds the risk of mitm attacks. Since the host, port etc are configurable, I'd propose making at least the cert check configurable too, if not by default Enabled).

This issue is there for any future devs, or users of NlDoc, and in the spirit of making safe and by default secure code reusable via code.overheid.nl.

While nldoc is opensource, and probably not running somewhere where this is a real issue. The current code in the kimiworker class connects to its s3 storage backend with a hardcoded disabled certificate check. [cert_check=False. ](https://code.overheid.nl/Logius/nldoc-lib-python-baseworker/src/branch/develop/kimiworker/worker.py#L69) While this is probably not an issue if the s3 instance is in fact co-hosted (as in the examples on localhost, and a trusted machine), any other location adds the risk of mitm attacks. Since the host, port etc are configurable, I'd propose making at least the cert check configurable too, if not by default Enabled). This issue is there for any future devs, or users of NlDoc, and in the spirit of making safe and by default secure code reusable via code.overheid.nl.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Logius/nldoc-lib-python-baseworker#1
No description provided.