DeserializationError for PublickKey using Google Auth #690
inthedark122
started this conversation in
General
Replies: 1 comment 2 replies
-
google auth (assume you mean login with google) use a special type of account called keylelss account, it's not using ed25519 as the standard eoa wallet, you can read more here https://aptos.dev/en/network/blockchain/accounts#generalized-authentication you need to do some replacement like this https://x.com/kaitox2024/status/1919385213869666365 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all
Can someone help me with verifying the signature from the React app in the Rust app?
I'm using Aptos wallet with Google Auth. I'm sending public_key: public_key: account.publicKey.toString(),
and then trying to parse it in the rust app: let public_key = Ed25519PublicKey::from_encoded_string(&form.public_key)?;
But I get an error: DeserializationError
Beta Was this translation helpful? Give feedback.
All reactions