Tag: anchor
All the articles with the tag "anchor".
-
Don't pass the signed bytes twice: verifying an enclave's signature in a Solana program
The Solana program never verifies the enclave's signature; a precompile does, one instruction earlier. Five checks that make sure the program reads the bytes that were actually verified, and the attack each one stops.