Hi,
I'm trying to use the userPassword scenario and I found confusion when the user change the password after the initial key was saved.
is there any suggestion for unlocking the saved key when the user changes the password? is there any method to update the key and decrypt saved encrypted data?
You want to use the changePassword method of KeyProtectedByPassword to change the password, then save the new KeyProtectedByPassword that you get from doing that:
Hi, I'm trying to use the userPassword scenario and I found confusion when the user change the password after the initial key was saved. is there any suggestion for unlocking the saved key when the user changes the password? is there any method to update the key and decrypt saved encrypted data?