shadowproject / shadow

ShadowCore integration/staging tree
MIT License
96 stars 60 forks source link

Allow unlock for Chat option #51

Closed rynomster closed 8 years ago

rynomster commented 8 years ago

Currently we only have Unlock for staking, or full unlock. We need to add an option for unlock for secure messaging too. The private keys are required in order to decrypt messages, so an encrypted wallet needs to be unlocked in order to send and receive messages.

Files and functions affected: https://github.com/shadowproject/shadow/blob/v1.5.0.1/src/rpcwallet.cpp#L1590 https://github.com/shadowproject/shadow/blob/v1.5.0.1/src/wallet.h#L26 https://github.com/shadowproject/shadow/blob/v1.5.0.1/src/wallet.cpp#L184 https://github.com/shadowproject/shadow/blob/v1.5.0.1/src/walletdb.cpp#L15 https://github.com/shadowproject/shadow/blob/v1.5.0.1/src/qt/askpassphrasedialog.cpp https://github.com/shadowproject/shadow/blob/v1.5.0.1/src/qt/forms/askpassphrasedialog.ui https://github.com/shadowproject/shadow/blob/v1.5.0.1/src/qt/shadowbridge.cpp https://github.com/shadowproject/shadow/blob/v1.5.0.1/src/qt/shadowgui.cpp https://github.com/shadowproject/shadow/blob/v1.5.0.1/src/qt/walletmodel.cpp

kewde commented 8 years ago

This issue has a bounty! https://api.bountysource.com/badge/issue?issue_id=37857094

kewde commented 8 years ago

@rynomster you can assign me to this issue. I've fixed this tonight, will be pushing tomorrow.

rynomster commented 8 years ago

fixed in #62