seedwing-io / seedwing-proxy

Policy-enforcing Artifact Proxy
Apache License 2.0
2 stars 3 forks source link

Add basic policy evaluation to crates download #20

Closed lkatalin closed 1 year ago

lkatalin commented 1 year ago

I tested pass/fail policy cases with crates, but not more nuanced sigstore-based policies yet.

Related to #9

lkatalin commented 1 year ago

@jcrossley3 I reworked this a bit to use ? instead of an unwieldy amount of match statements.

lkatalin commented 1 year ago

@jcrossley3 WDYT, is this one good to merge?

jcrossley3 commented 1 year ago

@jcrossley3 WDYT, is this one good to merge?

LGTM!