This topic was originally posted by david.hernando on 12/15/2023.
This content has been migrated from our previous community forum to preserve valuable discussions.
Hey Web3Auth team,
how can I delete the nonce (in keys[].nonce_data.nonce) from Torus nodes?
I want to delete a key when a key obtained with SFA SDK has been imported with tKey.
When you import the sfa key to tkey ( migrate from sfa to mfa ) you need to provide the importKey and set the flags delete1OutOf1 to true during the tkey.initialize
@cherngwoei thanks for you response. But the nonce is not deleted.
I see that for delete1OutOf1 I need also to set manualSync=true in the constructor. Then, I’m syncing the metadata calling tKey.syncLocalMetadataTransitions(); after tKey.initialize()`. But in the next authentication I see the Torus nodes still return the nonce…