We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 912186f commit 1f1e295Copy full SHA for 1f1e295
src/bundle/sign.rs
@@ -85,12 +85,10 @@ impl<'ctx> SigningSession<'ctx> {
85
fulcio: &FulcioClient,
86
token: &IdentityToken,
87
) -> SigstoreResult<(ecdsa::SigningKey<NistP256>, fulcio::CertificateResponse)> {
88
+ // NOTE: Currently both email and machine identities get wrapped in a "email" OID.
89
+ // Fulcio does not care about the content.
90
let identity = match &token.identity {
- Identity::Sub(_) => {
- return Err(SigstoreError::IdentityTokenError(
91
- "Non-email identities are not yet supported".to_string(),
92
- ))
93
- }
+ Identity::Sub(identity) |
94
Identity::Email(identity) => identity.as_str(),
95
};
96
0 commit comments