open-policy-agent / open-policy-agent/java-opa-sdk

Support bundle signature verification

Open
#39 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
16
Forks
24
Avg merge
8h 17m
Merged PRs (30d)
15

Description

Add support for OPA's signed bundle format (see docs).

  • Config: add top-level keys block and signing section under BundleConfig (keyid, scope, exclude_files).
  • TarballBundleLoader: extract .signatures.json and compute per-file digests.
  • New verifier: validate JWS over file digests using configured public key/secret.
  • BundlePlugin: fail activation when verification fails.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with BundleConfig, TarballBundleLoader, and BundlePlugin, then read the OPA signed bundle format documentation linked in the issue. Identify how the configuration, .signatures.json extraction, per-file digests, and JWS verification fit together. Done means signed bundles validate with the configured key material and BundlePlugin activation fails when verification fails.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.