Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use SafePassword struct instead of String for passwords #4320

Merged

Conversation

therustmonk
Copy link
Contributor

Description

This update replaces String types with SafePassword wrapper to be sure app the passwords:

  • zeroized
  • never printed

Related: tari-project/tari_utilities#46

Motivation and Context

To guarantee all the passphrases erased.

How Has This Been Tested?

CI

@therustmonk therustmonk force-pushed the dk-zeroize-wallet-config branch from 2d9f2d2 to 94136a8 Compare July 18, 2022 12:26
@therustmonk therustmonk force-pushed the dk-zeroize-wallet-config branch 2 times, most recently from 5d383e8 to 057e76b Compare July 29, 2022 07:13
@therustmonk therustmonk marked this pull request as ready for review July 29, 2022 07:14
@therustmonk therustmonk force-pushed the dk-zeroize-wallet-config branch from af6a5e0 to 641c855 Compare August 3, 2022 08:01
@therustmonk therustmonk force-pushed the dk-zeroize-wallet-config branch from 641c855 to 9c7b092 Compare August 3, 2022 12:56
@stringhandler stringhandler merged commit a059b99 into tari-project:development Aug 3, 2022
sdbondi added a commit to sdbondi/tari that referenced this pull request Aug 4, 2022
* development:
  fix: wallet database encryption does not bind to field keys tari-project#4137 (tari-project#4340)
  fix: use SafePassword struct instead of String for passwords (tari-project#4320)
  feat(dan): template macro handles component state (tari-project#4380)
  fix(dht)!: add message padding for message decryption, to reduce message length leaks (fixes tari-project#4140) (tari-project#4362)
  fix(wallet): update seed words for output manager tests (tari-project#4379)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants