Repository navigation
v2.0.0
Major release for one narrow break. mecmcp 0.29 reserves static token names
starting withoauth:(they would collide with OAuth callers' change-set owner
keys), and atokens.jsoncontaining such a name now fails to load as a whole.
1.0.0 accepted those names, and the Stability promise
covers thetokens.jsonformat, so this is 2.0.0 rather than 1.1.0. Rename any
oauth:*token before upgrading; nothing else in the stable surface breaks.
Tests
- Verified-approver step-up is now covered end to end (mecmcp#400, W8).
tests/http_verified_approver.rsdrives the real HTTP router with an
offline fixture IdP: a valid assertion approves; a missing assertion in
strict mode, an assertion for another subject, and an unreachable IdP are
refused while reads keep working; an unconfigured server is unchanged. A
source tripwire pins that everyApproverIdentitycomes from
from_attribution.
Documentation
- README: verified-approver setup with this server's tool name
(approve_junos_change_set) and its fail-closed behaviour.
Added
- Forward-only audit evidence pipeline (mecmcp#378). With
--audit-forward-endpoint(plus--ssdf-audit-server-id,
--audit-forward-outboxand--audit-forward-ledger) and no
--ssdf-audit-endpoint, the server now ships the hash-chained evidence log
to the forward collector instead of refusing to start, and fails closed on
the forward spool. Startup mode checks now cover the signing key and forward
token in this mode. The forward endpoint uses--audit-forward-ca-file
(falling back to the SSDF CA when SSDF is configured). A forward endpoint
without a server id is refused. SSDF configurations behave as before. - Optional OAuth 2.1 resource-server mode (mecmcp#498), behind the new
oauth-resourcecargo feature (off by default; release images and the LXC
package do not include it). Adds--oauth-issuer,--oauth-resource,
--oauth-scope-map,--oauth-audience,--oauth-role-claimand
--oauth-require-at-jwt-typ, the RFC 9728 metadata route and
resource_metadataon 401 challenges. Requires--tokens-file; the scope
map must be no looser than0640and not a symlink (checked at startup and
again by the loader;chmod 0640an existing file). Builds without the feature have no
--oauth-*flags and no metadata route.
Changed
- Audit line format: three new fields. With mecmcp 0.29.0 every per-call
audit record gainsoauth_issuer=,oauth_subject=andoauth_client_id=.
They are empty for static-token and stdio callers (every caller in a
default build). Strict SIEM parsers must accept them, even with the
oauth-resourcefeature off.
Operationaltarget: "audit"events (flush, startup, redaction warnings)
do not carry them. - mecmcp 0.29.1 (breaking upstream). Apart from the audit fields above,
static-token callers see no change, provided the token file contains no
name starting with the reservedoauth:prefix. Once an OAuth caller (possible only in
anoauth-resourcebuild) has created a change set, older binaries cannot
read the change-set state file; snapshot before upgrading. Static tokens
namedoauth:*are now reserved, and a token file containing one fails to
load as a whole, so rename any such token first.