diff --git a/contracts/account/src/auth/passkey.rs b/contracts/account/src/auth/passkey.rs index c344cba..5e5c12b 100644 --- a/contracts/account/src/auth/passkey.rs +++ b/contracts/account/src/auth/passkey.rs @@ -27,6 +27,8 @@ struct QueryRegisterResponse { struct QueryAuthenticateResponse {} pub fn register(deps: Deps, addr: Addr, rp: String, data: Binary) -> ContractResult { + panic!("passkeys disabled, pending audit"); + let query = QueryWebAuthNVerifyRegisterRequest { addr: addr.clone().into(), challenge: Binary::from(addr.as_bytes()).to_base64(), @@ -60,6 +62,8 @@ pub fn verify( tx_hash: Vec, credential: &Binary, ) -> ContractResult { + panic!("passkeys disabled, pending audit"); + let challenge = general_purpose::URL_SAFE_NO_PAD.encode(general_purpose::STANDARD.encode(tx_hash));