Skip to content

Releases

v0.13.0

Choose a tag to compare

@github-actions github-actions released this 03 Dec 12:12
14fa419

Released 2026-12-03

The first release from dyokto/opa-authzen-plugin. The Go module path changes, and so does the image name. Configuration and policies work as before.

Changed

  • The repository moved from github.com/kanywst/opa-authzen-plugin to github.com/dyokto/opa-authzen-plugin. GitHub redirects the old URLs.
  • Breaking: the Go module path is now github.com/dyokto/opa-authzen-plugin. Update imports and go.mod requirements when upgrading. v0.12.1 and earlier stay available under github.com/kanywst/opa-authzen-plugin in the Go module proxy.
  • Images are published as ghcr.io/dyokto/opa-authzen-plugin. The existing ghcr.io/kanywst/opa-authzen-plugin tags (up to 0.12.1, 0.12 and latest) stay available but receive no new pushes.
  • Release binaries and images are signed by the workflows in dyokto/opa-authzen-plugin, so cosign verification of new releases uses the identity regexp ^https://github\.com/dyokto/opa-authzen-plugin/.... Releases up to v0.12.1 keep the kanywst identity; RELEASE.md shows both.
  • The interop/todo suite and the Kubernetes example pull ghcr.io/dyokto/opa-authzen-plugin, pinned to 0.13.
  • Every GitHub Action in the workflows is pinned to a full commit SHA.

Fixed

  • When decision_context is configured, the decision and its context are now evaluated within a single query rather than two separate queries. Previously, rules shared by both evaluations, including calls to built-in functions such as http.send, were evaluated twice per decision, potentially resulting in inconsistencies between the decision and its returned context.

Compatibility

  • Built against OPA v1.23.0, up from v1.22.4 in v0.12.1. OPA v1.23.0 roots a bundle at its .manifest file: a bundle tarball loaded from disk with -b must have .manifest at the root of the archive, and bundles signed with opa sign or opa build -b by older OPA versions must be re-signed. Bundles downloaded by the bundle plugin still load as before, with a warning. See the OPA v1.23.0 release notes.

Verifying this release

cosign verify-blob checksums.txt \
  --bundle checksums.txt.sigstore.json \
  --certificate-identity-regexp '^https://github\.com/dyokto/opa-authzen-plugin/\.github/workflows/post-tag\.yaml@refs/tags/v' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

sha256sum --check --ignore-missing checksums.txt

cosign verify ghcr.io/dyokto/opa-authzen-plugin:0.13.0 \
  --certificate-identity-regexp '^https://github\.com/dyokto/opa-authzen-plugin/\.github/workflows/publish\.yaml@refs/tags/v' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

v0.12.1

Choose a tag to compare

@github-actions github-actions released this 18 Nov 10:31
d3e4ac8

Released 2026-11-18

A security rebuild of the binaries and the image, on OPA v1.22.4. No configuration change is needed to upgrade.

Security

  • The container image upgrades its alpine packages at build time. The v0.12.0 image ships zlib 1.3.2-r1 (CVE-2026-4738, fixed in 1.4-r0) because the alpine:3.24 tag lags the package index. The plugin binary does not link zlib.
  • CI scans the image with grype (make image-scan) and fails on fixable High or Critical vulnerabilities.
  • Release binaries are built with Go 1.26.11, fixing GO-2026-6859 in net/http, which is reachable from the plugin on Go 1.26.10.
  • github.com/klauspost/compress v1.20.0 → v1.20.3, fixing GO-2026-6865 (a panic on two-block frames), which is reachable from the plugin.

Compatibility

  • Built against OPA v1.22.4, up from v1.22.0 in v0.12.0. The OPA releases in between are bug fixes for a rule indexer regression and two type checker regressions, and carry no breaking changes.

Verifying this release

cosign verify-blob checksums.txt \
  --bundle checksums.txt.sigstore.json \
  --certificate-identity-regexp '^https://github\.com/kanywst/opa-authzen-plugin/\.github/workflows/post-tag\.yaml@refs/tags/v' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

sha256sum --check --ignore-missing checksums.txt

cosign verify ghcr.io/kanywst/opa-authzen-plugin:0.12.1 \
  --certificate-identity-regexp '^https://github\.com/kanywst/opa-authzen-plugin/\.github/workflows/publish\.yaml@refs/tags/v' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

v0.12.0

Choose a tag to compare

@github-actions github-actions released this 04 Nov 15:03
1944ee2

Released 2026-11-04

AuthZEN decisions now reach OPA's decision log. No configuration change is needed to upgrade.

Added

  • AuthZEN decisions are written to OPA's decision log when decision_logs is configured, as Data API decisions are. Each evaluation is one event with path <path>/<decision>, the evaluated input and the returned Decision as result; each evaluated item of a batch is its own event, and the items of one request share a batch_decision_id. Searches are logged with path <path>/<search rule> and the returned page. Events carry metrics and, with nd_builtin_cache enabled, nd_builtin_cache, and the span gets opa.decision_id. The system.log mask and drop policies apply. Without decision_logs nothing changes, and responses are unchanged either way. See Decision logs.
  • example/kubernetes/: a Deployment and Service for the published image, applied with kubectl apply -k, with the plugin config and policy in a generated ConfigMap. example/kubernetes/test.sh runs it on a kind cluster against an image built from the checkout.

Compatibility

  • Built against OPA v1.22.0, unchanged from v0.11.0.

Verifying this release

cosign verify-blob checksums.txt \
  --bundle checksums.txt.sigstore.json \
  --certificate-identity-regexp '^https://github\.com/kanywst/opa-authzen-plugin/\.github/workflows/post-tag\.yaml@refs/tags/v' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

sha256sum --check --ignore-missing checksums.txt

cosign verify ghcr.io/kanywst/opa-authzen-plugin:0.12.0 \
  --certificate-identity-regexp '^https://github\.com/kanywst/opa-authzen-plugin/\.github/workflows/publish\.yaml@refs/tags/v' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

v0.11.0

Choose a tag to compare

@github-actions github-actions released this 03 Nov 15:12
6f14292

Released 2026-11-03

Moves to OPA v1.22.0, which carries two breaking changes that reach users of the plugin binary (signed bundles, and Rego containing non-breaking spaces). No plugin code changes, and no plugin configuration change is needed to upgrade.

Changed

  • The interop Todo PDP (policy, data, config and e2e suite) now lives in interop/todo/ instead of the separate kanywst/opa-authzen-interop repository. make test-interop runs it against the locally built image without cloning anything, make test-harness serves its policy from the working tree instead of a pinned commit, and the new make test-interop-rego checks, formats and unit-tests the policy with the OPA the plugin links. The suite comes over already tracking v0.10.0, including an assertion on signed_metadata.

Compatibility

  • Built against OPA v1.22.0, up from v1.21.3 in v0.10.0. OPA now locates the bundle signatures file by its exact name .signatures.json and signs every other file ending in signatures.json (open-policy-agent/opa#9300). Signed bundles that contain such a file must be re-signed with OPA v1.22.0 or later, or they fail verification. Bundles without such files keep verifying.
  • The Rego scanner now rejects non-breaking spaces (U+00A0) as illegal characters (open-policy-agent/opa#5796). A policy that has one, typically pasted from a web page or a document, fails to load until it is replaced with a regular space.

Verifying this release

cosign verify-blob checksums.txt \
  --bundle checksums.txt.sigstore.json \
  --certificate-identity-regexp '^https://github\.com/kanywst/opa-authzen-plugin/\.github/workflows/post-tag\.yaml@refs/tags/v' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

sha256sum --check --ignore-missing checksums.txt

cosign verify ghcr.io/kanywst/opa-authzen-plugin:0.11.0 \
  --certificate-identity-regexp '^https://github\.com/kanywst/opa-authzen-plugin/\.github/workflows/publish\.yaml@refs/tags/v' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

v0.10.0

Choose a tag to compare

@github-actions github-actions released this 26 Oct 12:11
93ef5f0

Released 2026-10-26

Adds the signed_metadata config option, and rebuilds on Go 1.26.10 and OPA v1.21.3 for two security fixes. No configuration change is needed to upgrade.

Added

  • New signed_metadata config option: publishes a JWT as signed_metadata in the PDP metadata document (spec Section 9.1.3). The plugin does not sign it; the JWT is signed outside the plugin and pasted in. Startup fails if the value is not a signed three-part JWS with an iss claim, or if its capabilities, supported_obligations, access_request_endpoint, jwks_uri or search_*_endpoint claims disagree with the config. Unset by default, which leaves the metadata unchanged.

Security

  • Release binaries are built with Go 1.26.10, fixing GO-2026-6809 in crypto/x509, which is reachable from the plugin on Go 1.26.9.
  • OPA v1.21.2 → v1.21.3, which fixes bundle signature verification being side-stepped when signing is configured without a keyid, or by an unsigned delta bundle (GHSA-g2pf-6v5v-qcc8).

Compatibility

  • Built against OPA v1.21.3, up from v1.21.2 in v0.9.3.

Verifying this release

cosign verify-blob checksums.txt \
  --bundle checksums.txt.sigstore.json \
  --certificate-identity-regexp '^https://github\.com/kanywst/opa-authzen-plugin/\.github/workflows/post-tag\.yaml@refs/tags/v' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

sha256sum --check --ignore-missing checksums.txt

cosign verify ghcr.io/kanywst/opa-authzen-plugin:0.10.0 \
  --certificate-identity-regexp '^https://github\.com/kanywst/opa-authzen-plugin/\.github/workflows/publish\.yaml@refs/tags/v' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

v0.9.3

Choose a tag to compare

@github-actions github-actions released this 19 Oct 14:04
c3c495b

Released 2026-10-19

Moves to OPA v1.21.2. No plugin code changes, and no configuration change is needed to upgrade.

Security

  • OPA v1.21.1 → v1.21.2, which fixes the basic authorizer and the Data API resolving %2F in a path to different documents (open-policy-agent/opa#9323).

Compatibility

  • Built against OPA v1.21.2, up from v1.21.1 in v0.9.2. Release binaries stay on Go 1.26.9.

Verifying this release

cosign verify-blob checksums.txt \
  --bundle checksums.txt.sigstore.json \
  --certificate-identity-regexp '^https://github\.com/kanywst/opa-authzen-plugin/\.github/workflows/post-tag\.yaml@refs/tags/v' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

sha256sum --check --ignore-missing checksums.txt

cosign verify ghcr.io/kanywst/opa-authzen-plugin:0.9.3 \
  --certificate-identity-regexp '^https://github\.com/kanywst/opa-authzen-plugin/\.github/workflows/publish\.yaml@refs/tags/v' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

v0.9.2

Choose a tag to compare

@github-actions github-actions released this 12 Oct 16:20
c53ff2c

Released 2026-10-13

A security rebuild. The v0.9.1 release binaries and container image were built on Go 1.26.8 with golang.org/x/net v0.58.0; this release rebuilds both on Go 1.26.9 with x/net v0.60.0. There are no functional changes, and no configuration change is needed to upgrade.

Security

  • Release binaries are built with Go 1.26.9, fixing 11 Go standard library vulnerabilities reachable from the plugin on Go 1.26.8: GO-2026-6617, GO-2026-6613, GO-2026-6612, GO-2026-6611, GO-2026-6610, GO-2026-6605 and GO-2026-6603 in net/http, GO-2026-6608 in mime/multipart, GO-2026-6607 in crypto/tls, and GO-2026-6600 and GO-2026-6599 in html/template.
  • golang.org/x/net v0.58.0 → v0.60.0, fixing GO-2026-6617, GO-2026-6612, GO-2026-6611, GO-2026-6610 and GO-2026-6603.

Compatibility

  • Built against OPA v1.21.1, unchanged from v0.9.1.
  • The container image is affected this time, unlike in v0.9.1: ghcr.io/kanywst/opa-authzen-plugin:0.9.1 was built on Go 1.26.8 by its golang:1.26-alpine builder and links x/net v0.58.0. The 0.9.2 image is built on Go 1.26.9.

Verifying this release

cosign verify-blob checksums.txt \
  --bundle checksums.txt.sigstore.json \
  --certificate-identity-regexp '^https://github\.com/kanywst/opa-authzen-plugin/\.github/workflows/post-tag\.yaml@refs/tags/v' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

sha256sum --check --ignore-missing checksums.txt

cosign verify ghcr.io/kanywst/opa-authzen-plugin:0.9.2 \
  --certificate-identity-regexp '^https://github\.com/kanywst/opa-authzen-plugin/\.github/workflows/publish\.yaml@refs/tags/v' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

v0.9.1

Choose a tag to compare

@github-actions github-actions released this 07 Oct 13:58
933a00e

Released 2026-10-07

A security rebuild. The v0.9.0 release binaries were built on Go 1.26.1 and linked a vulnerable golang.org/x/crypto; this release rebuilds them on Go 1.26.8 with x/crypto v0.57.0. It also carries the Search result member-order fix and the release tooling changes merged since v0.9.0. No configuration change is needed to upgrade.

Security

  • Release binaries are built with Go 1.26.8. go.mod had no toolchain line, so the release workflow installed the go directive's 1.26.1 verbatim, and the v0.9.0 binaries carry 28 Go standard library vulnerabilities that govulncheck -mode=binary can reach (among them GO-2026-5972 in encoding/asn1, GO-2026-6090 in crypto/tls, GO-2026-6089 in net/http and GO-2026-4601 in net/url). go.mod now pins toolchain go1.26.8; the go 1.26.1 minimum for building from source is unchanged. The container image was not affected: its golang:1.26-alpine builder already resolved to 1.26.8.
  • golang.org/x/crypto v0.55.0 → v0.57.0, fixing GO-2026-6354 and GO-2026-6355, both linked into the v0.9.0 binaries. GO-2026-5932 has no fixed version yet and is not called.
  • CI runs govulncheck on the same Go the release is built with.

Changed

  • The draft GitHub Release that a tag push opens now carries the finished body: the release date, that version's CHANGELOG section, and the cosign commands that verify its assets and image tag. build/release-notes.sh writes it from CHANGELOG.md and the tag workflow passes it to GoReleaser, which used to fill the draft with a raw commit list that had to be replaced by hand before publishing. make release-notes TAG=vX.Y.Z previews it, and the workflow fails if the version has no ## [vX.Y.Z] - YYYY-MM-DD section.

Added

  • make test-harness now also runs the AuthZEN working group's Search interop harness (interop/authzen-search-demo), 198 Subject, Resource and Action Search cases, against a Rego transcription of the demo's authorization model in build/search-harness.rego. CI runs it next to the Todo harness, with the same rule that a missing case or a busy port fails the run.

Fixed

  • Subject and Resource Search results now serialize as {"type": ..., "id": ...} followed by any other members in key order, instead of Go's sorted-key order ({"id": ..., "type": ...}). Action Search results lead with name the same way. JSON member order carries no meaning (RFC 8259 Section 4) and the values are unchanged, but the AuthZEN working group's Search interop harness compares results as serialized strings, so the old order failed all 78 of its Subject and Resource Search cases.

Compatibility

  • Built against OPA v1.21.1, up from v1.21.0 in v0.9.0 (a patch release; see the OPA v1.21.1 release notes).
  • The container image ghcr.io/kanywst/opa-authzen-plugin:0.9.0 was already built on Go 1.26.8 and is not affected by the standard library findings above; the x/crypto bump applies to it too.

Verifying this release

cosign verify-blob checksums.txt \
  --bundle checksums.txt.sigstore.json \
  --certificate-identity-regexp '^https://github\.com/kanywst/opa-authzen-plugin/\.github/workflows/post-tag\.yaml@refs/tags/v' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

sha256sum --check --ignore-missing checksums.txt

cosign verify ghcr.io/kanywst/opa-authzen-plugin:0.9.1 \
  --certificate-identity-regexp '^https://github\.com/kanywst/opa-authzen-plugin/\.github/workflows/publish\.yaml@refs/tags/v' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

v0.9.0

Choose a tag to compare

@github-actions github-actions released this 03 Oct 13:50

Released 2026-10-03

Moves to OPA v1.21.0, which carries two breaking changes of its own. The plugin code is unchanged: internal/ has no non-test changes since v0.8.0, and every AuthZEN endpoint behaves identically. The minor bump is for what OPA now does to your policies and YAML, not for anything the plugin does.

Changed

  • Breaking (from OPA v1.21.0): the type checker now types empty composite literals as empty (open-policy-agent/opa#7275). Selecting from or iterating an empty literal — some x in [], {}.foo — and comparing an empty object or array literal against a value whose type cannot be empty are now rego_type_errors, so a policy that compiled under v0.8.0 can fail to load. Use count(x) == 0 to test for emptiness. The bundled examples under example/ are unaffected; one test policy in this repository used some u in [] and was rewritten.
  • Breaking (from OPA v1.21.0): YAML is parsed against the 1.2 core schema (open-policy-agent/opa#5754). The bare words y, n, yes, no, on and off are now strings rather than booleans everywhere OPA reads YAML, which includes the config file that carries plugins.authzen, --data files, bundles, and yaml.unmarshal. true and false are unaffected. If a config or data file relied on yes/no/on/off meaning a boolean, write true/false instead.

Added

  • make test-contract checks evaluation requests and responses against the JSON Schemas published under api/schemas/ in openid/authzen, fetched at a pinned commit. Every schema-valid request, including the schema's own examples and the interop Todo fixtures, must get HTTP 200 with a schema-valid response, and every schema-invalid one HTTP 400, with the two places the plugin is deliberately lenient (a JSON null member treated as absent) listed by name.
  • make test-harness runs the AuthZEN working group's interop Todo harness against the plugin. CI runs both targets on every pull request and every push to main. It fails when the harness reports a missing case or the port is already taken, rather than passing vacuously.

Compatibility

  • Built against OPA v1.21.0, up from v1.20.2 in v0.8.0. Read the OPA v1.21.0 release notes before upgrading; the two breaking changes above are the ones most likely to reach an AuthZEN deployment.
  • github.com/santhosh-tekuri/jsonschema/v6 is a new direct requirement in go.mod, used only by the contract tests. It is not linked into the binary.
  • Reviewed against openid/authzen commit b304f68 (2026-10-01). Since 6ed00ba, the core API document, the JSON Schemas and the certification scenario are unchanged. The Access Request and Approval Profile was restructured into a core-first base profile plus four companions (catalog, bulk, callback, actor), but the PDP discovery rules this plugin implements — access_request_endpoint as an https:// URI, the urn:openid:authzen:capability:access-request capability, and jwks_uri for a PDP that issues or verifies signed values — read the same, so access_request_endpoint and jwks_uri need no change. The companions all describe the Access Request Service, which the plugin does not host.

Verifying this release

cosign verify-blob checksums.txt \
  --bundle checksums.txt.sigstore.json \
  --certificate-identity-regexp '^https://github\.com/kanywst/opa-authzen-plugin/\.github/workflows/post-tag\.yaml@refs/tags/v' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

sha256sum --check --ignore-missing checksums.txt

cosign verify ghcr.io/kanywst/opa-authzen-plugin:0.9.0 \
  --certificate-identity-regexp '^https://github\.com/kanywst/opa-authzen-plugin/\.github/workflows/publish\.yaml@refs/tags/v' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

v0.8.0

Choose a tag to compare

@github-actions github-actions released this 18 Sep 16:52

Released 2026-09-18

Settles the response shape of a batch request that carries no batch, and makes Content-Type matching follow RFC 9110.

Fixed

  • The Content-Type check on all three request endpoints now compares the parsed media type instead of the raw header, so it is case-insensitive and tolerant of surrounding whitespace as RFC 9110 Section 8.3.1 requires. Application/JSON, APPLICATION/JSON; CHARSET=utf-8 and application/json ; charset=utf-8 all name application/json and were previously rejected with HTTP 400. application/json and application/json; charset=utf-8 were already accepted and are unaffected, and a header whose parameters do not parse still falls back to the previous prefix match, so nothing that was accepted before is rejected now.

Changed

  • Breaking: POST /access/v1/evaluations now answers in the singular Access Evaluation shape ({"decision": ...}) when the request carries no evaluations array or an empty one, instead of wrapping the lone decision in {"evaluations": [...]}. Section 7.1 says such a request "behaves in a backwards-compatible manner with the (single) Access Evaluation API Request" without stating what the response looks like, and the plugin had read that ambiguity the other way. The AuthZEN certification scenario settles it: tests c-3-4-2 and c-3-4-3 require the PDP to "return an Access Evaluation response" and validate the response structure, so the previous shape was a Batch Core certification failure. Section 7.2 points the same way, conditioning the omission of the top-level decision key on the evaluations array being present. The empty-array case was additionally a violation of certification c-3-3-1, which requires the response evaluations array to have the same number of elements as the request's — the plugin answered an empty array with a one-element one. A PEP that posts a batch-shaped request with one or more evaluations sees no change; only the array-absent and array-empty paths differ. Any decision context from decision_context now rides on the singular response's context member.

    Upgrade hazard: a PEP that reaches a permit by iterating the response evaluations array and denying only when some element denies will now permit vacuously on these two paths, because the array it loops over is gone. Such a PEP must read the top-level decision instead. Every other parsing pattern we could construct — indexing evaluations[0], guarding on the array's length, optional chaining — fails closed. If you post to /access/v1/evaluations without an evaluations array, check your PEP before upgrading.

Compatibility

  • Built against OPA v1.20.2, up from v1.20.0 in v0.7.0.
  • Reviewed against the Authorization API 1.0 text at openid/authzen commit 6ed00ba (2026-09-17). The core API document has not changed since the v0.7.0 review, and neither has the certification scenario; the two JSON Schemas under api/schemas/ did change, in both cases by dropping constraints that contradicted the API text — additionalProperties: false is gone from the request schema, and the response context is now an unconstrained object rather than the draft-01 {id, reason_admin, reason_user} shape. Both changes ratify behavior this plugin already had, so neither requires a change here.
  • The evaluations response shape above is the only change a PEP can observe, and only on the array-absent and array-empty paths. Deployments that set no new config key are otherwise byte-identical to v0.7.0.
  • The Access Request and Approval Profile (Draft 1) tightened its denial-binding rules in the same window (upstream issue #516): binding by reference through context.evaluation_id is now scoped to deployments where the Access Request Service shares or is delegated the PDP's state, and a binding_token is required — and must be self-contained — when that service is independent of the PDP. The plugin neither synthesizes nor signs either value, so this changes no code, but it does narrow which topologies the plugin alone can serve. The README's profile section now states the split; if your Access Request Service is independent, sign the binding_token outside the plugin and publish its key at jwks_uri. The README and the example config now also call both opt-in profiles by their upstream titles, which are Draft 1 — the 1_0 in their URLs is the document name, not a released version.

Verifying this release

cosign verify-blob checksums.txt \
  --bundle checksums.txt.sigstore.json \
  --certificate-identity-regexp '^https://github\.com/kanywst/opa-authzen-plugin/\.github/workflows/post-tag\.yaml@refs/tags/v' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

sha256sum --check --ignore-missing checksums.txt

cosign verify ghcr.io/kanywst/opa-authzen-plugin:0.8.0 \
  --certificate-identity-regexp '^https://github\.com/kanywst/opa-authzen-plugin/\.github/workflows/publish\.yaml@refs/tags/v' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com