A wallet's private key is stored in a Keystore file, which is a JSON file format. It is encrypted with a user-defined password to give a level of security that is proportional to the strength of the password.
If you want to update the wallet password, you must re-import the wallet using a helper or plaintext private key and encrypt it with the new password in order to produce a new Keystore.
When using the Keystore, there are two things to bear in mind:
1. Encrypt the Keystore file with a password that is as long as feasible and is not widely used.
2.If you forget your password, you will lose access to the Keystore, and OneKey will not be able to retrieve it for you, so keep the Keystore and password safe.