Commit Graph

5 Commits

Author SHA1 Message Date
eta e5478ed5ef mcm renewal
build-and-push / check-branch (push) Successful in 13s
build-and-push / prepare (push) Successful in 9s
build-and-push / build (amd64, linux/amd64) (push) Successful in 1m38s
- Changed certificate renwal procedure
2026-10-14 15:42:58 +03:30
eta f53f2f6309 Improved logging and error handling for mcm
build-and-push / check-branch (push) Successful in 14s
build-and-push / prepare (push) Successful in 10s
build-and-push / build (amd64, linux/amd64) (push) Successful in 1m38s
2026-10-11 17:21:34 +03:30
eta 9472cfff8d Decouple certificate CN from device_id
build-and-push / check-branch (push) Successful in 11s
build-and-push / build (amd64, linux/amd64) (push) Successful in 10m57s
- ca.sign_csr's identity parameter renamed to `common_name`, fully
  decoupled from device_id.
- New resolve_common_name(): CN comes from the device's own CSR: falls
  back to device_id only if the CSR has no CN (malformed request).
- Renewal unaffected: a renewed cert always keeps the CN of the
  device's current, still-valid cert, regardless of what the renewal
  CSR claims (verified against an adversarial CSR asserting a
  different CN).
- device_id remains the sole storage key (pending/issued/revoked) and
  MQTT topic routing key, and must still be unique per physical
  device even when CN is deliberately shared across many.
- /api/pending and /api/issued now also expose the CSR-resolved CN for
  display, without changing what's actually stored.

No topic structure changes. No new MQTT payload fields.
2026-08-27 16:34:42 +03:30
eta e23eb7498b cert config
- Changed SAN default for generating server certificate
- Added two new options for organizations
2026-08-18 13:14:04 +03:30
eta 0e084adf8d initial commit
build-and-push / build (aarch64, linux/arm64) (push) Has been cancelled
build-and-push / build (amd64, linux/amd64) (push) Has been cancelled
build-and-push / build (armhf, linux/arm/v6) (push) Has been cancelled
build-and-push / build (armv7, linux/arm/v7) (push) Has been cancelled
build-and-push / build (i386, linux/386) (push) Has been cancelled
2026-08-02 15:35:21 +03:30