WALLET: Set Master Password

The Master Password acts as a recovery key in the event where the 2-FA Device or Biometrics are lost or inaccessible. The Master Password has the ability to cryptographically reset these Multi-Factor Authentication measures, so they can be re-instated.

Submitting the Master Password requires a Master Seed to be generated. Please use the "Get Master Seed" Endpoint to receive the Master Seed.

var hashed_mp = SHA256(master_password+master_seed)

or

var hashed_mp = SHA256('starwars'+'VzBlc2ZhaDZ6a201N2JjTXE3Qkd6SFBT')

A Linux Console example would be this:

$ echo -n starwarsVzBlc2ZhaDZ6a201N2JjTXE3Qkd6SFBT | openssl dgst -sha256
result = 870f4fd3c6063f2ab058b93bc538693ed0eb867fd029acd91553f4ac0ab72e84

WALLET: Set Master Password

post

The Master Password acts as a recovery key in the event where the 2-FA Device or Biometrics are lost or inaccessible. The Master Password has the ability to cryptographically reset these Multi-Factor Authentication measures, so they can be re-instated.

The Master Password cannot be changed once set and must be stored in a secure location to avoid any unauthorized third-parties from accessing the wallet and corresponding funds.

Submitting the Master Password requires a Master Seed to be generated. Please use the "Get Master Seed" Endpoint to receive the Master Seed.

The Master Password must be SHA256 hashed before submission in the following way:

  • var hashed_mp = SHA256(master_password+master_seed)

or

  • var hashed_mp = SHA256('starwars'+'VzBlc2ZhaDZ6a201N2JjTXE3Qkd6SFBT')

A Linux Console example would be this:

$ echo -n starwarsVzBlc2ZhaDZ6a201N2JjTXE3Qkd6SFBT | openssl dgst -sha256

result = 870f4fd3c6063f2ab058b93bc538693ed0eb867fd029acd91553f4ac0ab72e84

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
objectOptionalExample: {"master_password":"870f4fd3c6063f2ab058b93bc538693ed0eb867fd029acd91553f4ac0ab72e84","master_seed":"VzBlc2ZhaDZ6a201N2JjTXE3Qkd6SFBT"}
Responses
200

OK

application/json
Responseobject
post
/wallet/setmasterpassword
200

OK

Last updated

Was this helpful?