You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently (v0.8.0) the [sigstore::trust::TrustRoot] trait has two methods, both of them async. These methods have been made async because of internal implementation of sigstore::trust::sigstore::SigstoreTrustRoot.
Internally SigstoreTrustRoot has to initialize its trusted_root variable, which involves the usage of futures.
I think we can initialize this variable inside of the SigstoreTrustRoot::new method (which is already async) and simplify the trait definition.
The text was updated successfully, but these errors were encountered:
Description
Currently (v0.8.0) the [
sigstore::trust::TrustRoot
] trait has two methods, both of themasync
. These methods have been made async because of internal implementation ofsigstore::trust::sigstore::SigstoreTrustRoot
.Internally
SigstoreTrustRoot
has to initialize itstrusted_root
variable, which involves the usage of futures.I think we can initialize this variable inside of the
SigstoreTrustRoot::new
method (which is alreadyasync
) and simplify the trait definition.The text was updated successfully, but these errors were encountered: