Comments (1)
First round
After dumping memory searching for strings, this diff seems to actually remove it from the renderer process memory.
- reset the form to clear form values
- use Buffer to allow zeroing of variable
diff --git a/app/containers/WalletOpenForm.js b/app/containers/WalletOpenForm.js
index c49b942..db950dc 100644
--- a/app/containers/WalletOpenForm.js
+++ b/app/containers/WalletOpenForm.js
@@ -11,20 +11,28 @@ const style = {
let LoaderForm = ({ dispatch }) => {
let pubpass = '';
let privpass = '';
+ let temppass;
return (
<div>
- <form onSubmit={e => {
+ <form id="openwallet" onSubmit={e => {
e.preventDefault();
if (pubpass == '' || privpass == '') {
console.log(pubpass, privpass);
return;
}
dispatch(openWalletRequest(pubpass, privpass));
+ document.getElementById("openwallet").reset();
+ temppass.fill(0);
pubpass = '';
privpass = '';
}}>
<TextField
+ id="temppass"
+ hintText="boop"
+ onBlur={(e) =>{temppass = Buffer.from(e.target.value);}}
+ /><br />
+ <TextField
id="pubpass"
hintText="Public Password"
floatingLabelText="Public Password"
from decrediton.
Related Issues (20)
- cannot remove SPV Connect setting HOT 4
- Load Custom Translation is missing on macOS
- Decrediton 1.8.0: No feedback when purchasing ticket with wrong password HOT 2
- Failed to retrieve user information: response buffer too short HOT 1
- Trezor fixes (bundle bridge + udev rules) HOT 2
- Decrediton 1.8.0 doesn't send HOT 3
- Receive into unmixed (not default) by default, when in mixing mode
- Consider getting rid of "private" in "private passphrase" HOT 1
- Trezor: Webpack build broken on master. HOT 1
- Ledger: Broken on master. HOT 5
- Wallet splash page tutorial "Block Creation" still has placeholder text HOT 1
- UX Idea: Show status of Ticket Purchase? HOT 3
- Library not found: /tmp/.mount_decredDX71ju/modules/dex/libdexc/libdexc.so - decrediton-v1.8.1 HOT 1
- Sync Failed VSP Tickets does require VSP_LISTING even when disabled in Privacy/Security Settings
- Chinese version is missing DEX Launcher HOT 4
- Flatpak support and distribution via Flathub
- Support DCRDEX seed format and use it as default HOT 3
- Not able to transfer DCR from wallet to exchange HOT 8
- Unable to open up a Decredition binary on OSX Sonoma HOT 1
- close
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from decrediton.