sigstore / sigstore-rs

An experimental Rust crate for sigstore
https://sigstore.github.io/sigstore-rs/sigstore/
Apache License 2.0
164 stars 51 forks source link

feat: allow to create static instances of some objects #348

Closed flavio closed 4 months ago

flavio commented 5 months ago

Allow to create static instances of the cosign::Client, sigstore::trust::ManualTrustRoot.

The ability to create static instances of these objects can simplify the downstream consumers of this library.

The approach taken to create these static instance is the same used by rustls_pki_types::CertificateDer::into_owned

flavio commented 5 months ago

Putting on hold, because of https://github.com/sigstore/sigstore-rs/pull/311. This is probably going to be closed

flavio commented 4 months ago

Closing, this is no longer needed with the latest changes that landed into the main branch