-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added secure cleanup for most functions
- Moved 'secure_cleanup' in 'wallet_client.py' to the DataManipulation class in 'cryptographic_util.py' - Removed redundant 'secure_delete' function from 'wallet_client.py' because it was already in the DataManipulation of 'cryptographic_util.py' - Most functions will now call the secure_cleanup method in the DataManipulation class whenever there is an error, return statment, or basically any exit point. This ensures that any (potential) sensitive variables are deleted but also purged from memory. This minimizes the potential risks associated with sensitive data lingering in memory. However proformance is slower as a result. - Fixed the path to the denaro qr logo in the 'handle_new_encrypted_wallet'. It was causeing the script to error out when generating a new encrypted wallet with 2-Factor Authentication.
- Loading branch information
1 parent
7974c5f
commit 5d03370
Showing
5 changed files
with
238 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,5 @@ __pycache__/ | |
*.py[cod] | ||
env | ||
denaro/wallet/wallets | ||
wallets | ||
wallets | ||
testing.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.