Skip to content

Commit

Permalink
verifier: Remove todo! enabling use of the verify_attestation fn
Browse files Browse the repository at this point in the history
  • Loading branch information
flihp committed Dec 23, 2023
1 parent da1df40 commit 4dd18ea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions verifier/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)?)
}

0 comments on commit 4dd18ea

Please sign in to comment.