CIS490/shipper
max 86a088c204 shipper: defer SSL context build until cert/CA paths exist (closes #11)
First-boot bring-up enables cis490-shipper before the Pi has issued the
mTLS leaf, so ssl.create_default_context(cafile=...) raised
FileNotFoundError out of __init__ and systemd crash-looped the unit
every RestartSec=5. Now the transport pre-flights the configured
ca_bundle / client_cert / client_key paths, raises a recoverable
_CertNotReadyError, and ping/ship_tarball retry the build on each
request — daemon self-heals once the cert lands without a restart.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-30 16:13:59 -05:00
..
__init__.py Lab-host shipper + receiver /v1/ping + install scripts 2026-04-29 23:41:32 -05:00
__main__.py Lab-host shipper + receiver /v1/ping + install scripts 2026-04-29 23:41:32 -05:00
config.py Lab-host shipper + receiver /v1/ping + install scripts 2026-04-29 23:41:32 -05:00
queue.py Lab-host shipper + receiver /v1/ping + install scripts 2026-04-29 23:41:32 -05:00
transport.py shipper: defer SSL context build until cert/CA paths exist (closes #11) 2026-04-30 16:13:59 -05:00