diff --git a/verifier/src/lib.rs b/verifier/src/lib.rs index ef5ba20..5c58fe4 100644 --- a/verifier/src/lib.rs +++ b/verifier/src/lib.rs @@ -259,6 +259,5 @@ pub fn verify_attestation( .ok_or_else(|| anyhow!("Invalid / unaligned public key"))?; let verifying_key = VerifyingKey::from_bytes(alias.try_into()?)?; - verifying_key.verify(message.as_slice(), &signature)?; - todo!("verify_attestation"); + Ok(verifying_key.verify(message.as_slice(), &signature)?) }