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
returnandroidAttestationKey, nil, ErrAttestationFormat.WithDetails("Attestation challenge not equal to clientDataHash")
108
+
return"", nil, ErrAttestationFormat.WithDetails("Attestation challenge not equal to clientDataHash")
108
109
}
109
110
// The AuthorizationList.allApplications field is not present on either authorization list (softwareEnforced nor teeEnforced), since PublicKeyCredential MUST be scoped to the RP ID.
returnandroidAttestationKey, nil, ErrAttestationFormat.WithDetails("Attestation certificate extensions contains all applications field")
112
+
return"", nil, ErrAttestationFormat.WithDetails("Attestation certificate extensions contains all applications field")
112
113
}
113
114
// For the following, use only the teeEnforced authorization list if the RP wants to accept only keys from a trusted execution environment, otherwise use the union of teeEnforced and softwareEnforced.
114
115
// The value in the AuthorizationList.origin field is equal to KM_ORIGIN_GENERATED. (which == 0)
returnandroidAttestationKey, nil, ErrAttestationFormat.WithDetails("Attestation certificate extensions contains authorization list with origin not equal KM_ORIGIN_GENERATED")
117
+
return"", nil, ErrAttestationFormat.WithDetails("Attestation certificate extensions contains authorization list with origin not equal KM_ORIGIN_GENERATED")
117
118
}
118
119
// The value in the AuthorizationList.purpose field is equal to KM_PURPOSE_SIGN. (which == 2)
returnandroidAttestationKey, nil, ErrAttestationFormat.WithDetails("Attestation certificate extensions contains authorization list with purpose not equal KM_PURPOSE_SIGN")
121
+
return"", nil, ErrAttestationFormat.WithDetails("Attestation certificate extensions contains authorization list with purpose not equal KM_PURPOSE_SIGN")
0 commit comments