Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finish the Policy Trait and implement a basic policy #79

Open
esoterra opened this issue Mar 22, 2023 · 3 comments
Open

Finish the Policy Trait and implement a basic policy #79

esoterra opened this issue Mar 22, 2023 · 3 comments
Assignees

Comments

@esoterra
Copy link
Collaborator

  1. Wire policy through the server so that it is used to accept/reject publishes
  2. Implement a basic policy that uses an allow list of keys/package names
  3. Allow the basic policy to be deserialized from a config file
@esoterra esoterra added this to the Dogfood Registry milestone Mar 22, 2023
@peterhuene
Copy link
Member

peterhuene commented May 25, 2023

#121 implements configuring a server for rejecting any content that isn't WebAssembly (likely one we'd use for the dogfooding implementation).

Record-based policies (e.g. one where it would validate a public key id is accepted for the package name) are forthcoming.

@peterhuene
Copy link
Member

#130 implements a record policy trait for rejecting published records by policy; a simple "authorized key" policy was also implement as part of it.

@peterhuene
Copy link
Member

What's missing: ability to configure policies for warg-server CLI; currently policies can only be enabled via the API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants