Sign Verify Encrypt Decrypt on a separate tabs
MODIFY
WalletWasabi.Gui/Tabs/EncryptionManager/EncryptionManagerViewModel.cs
WalletWasabi.Gui/Tabs/EncryptionManager/EncryptionManagerViewModel.cs
@@ -16,7 +16,10 @@ namespace WalletWasabi.Gui.Tabs.EncryptionManager
{
Categories = new ObservableCollection<CategoryViewModel>
{
- new SignMessageViewModel(this)
+ new SignMessageViewModel(this),
+ new VerifyMessageViewModel(this),
+ new EncryptMessageViewModel(this),
+ new DecryptMessageViewModel(this),
};
SelectedCategory = Categories.FirstOrDefault();

MODIFY
WalletWasabi.Gui/Tabs/EncryptionManager/SignMessageViewModel.cs
WalletWasabi.Gui/Tabs/EncryptionManager/SignMessageViewModel.cs
@@ -98,6 +98,7 @@ namespace WalletWasabi.Gui.Tabs.EncryptionManager
private static string SignMessage(string address, string message, string password)
{
+ //https://programmingblockchain.gitbook.io/programmingblockchain/bitcoin_transfer/proof_of_ownership_as_an_authentication_method
password = Guard.Correct(password);
BitcoinSecret bitcoinPrivateKey = Global.WalletService.KeyManager.EncryptedSecret.GetSecret(password);
string signature = bitcoinPrivateKey.PrivateKey.SignMessage(message);

Sign Verify Encrypt Decrypt on a separate tabs