Skip to content

Instantly share code, notes, and snippets.

@stephendonner
Created September 16, 2021 00:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stephendonner/4b1cb47c4956a5d7b6fbf5b584d0f563 to your computer and use it in GitHub Desktop.
Save stephendonner/4b1cb47c4956a5d7b6fbf5b584d0f563 to your computer and use it in GitHub Desktop.
Test plan for issue 17571

17571-steps.md

Terms:

  1. unencrypted ==
  2. decrypted ==
  3. not decrypted ==

Case One:

Check upgrade paths to confirm encrypted wallet(s) in the Preferences file are decrypted

  1. fresh install 1.29.81 / 1.28.106
  2. launch Brave using Rewards staging
  3. enable Rewards
  4. accept UGP grant
  5. ... (confirm wallets are encrypted)
  6. upgrade to 1.31.x (latest)
  7. ... (confirm the wallet(s) are decrypted)

Expected:

.

Case Two:

Check upgrade paths to confirm corrupted wallets in the Preferences file are not decrypted

  1. fresh install 1.29.81 / 1.28.106
  2. launch Brave using Rewards staging
  3. enable Rewards
  4. accept UGP grant
  5. close Brave
  6. corrupt the wallet by adding junk characters to the wallet in Preferences
  7. upgrade to 1.31.x (latest)
  8. ... (confirm the wallet is encrypted)

Expected:

.

Case Three:

Check fresh install that vBAT wallet is persisted unencrypted

  1. fresh install 1.31.x (latest)
  2. launch Brave using Rewards staging
  3. enable Rewards
  4. accept UGP grant
  5. close Brave
  6. ... (confirm the wallet is unencrypted)

Expected:

.

Case Four:

Check restoring a wallet is persisted unencrypted

  1. fresh install 1.31.x (latest)
  2. launch Brave using Rewards staging
  3. enable Rewards
  4. click on Manage your wallet
  5. click on the Restore tab
  6. enter a recovery key (https://docs.google.com/spreadsheets/d/1Bi2uqiy93KfoP9Jayz5Bw-hRvU7aKadAjUozKT5t1UQ/edit#gid=1418117328 ) and click Restore
  7. ...(confirm the wallet is unencrypted)

Expected:

.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment