Remove encrypted secret info from wallet info
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/WalletInfoView.xaml
WalletWasabi.Gui/Controls/WalletExplorer/WalletInfoView.xaml
<controls:GroupBox Title="Keys" TextBlock.FontSize="16" Padding="30" Margin="0 10 0 0">
<Grid Classes="content">
<StackPanel Orientation="Vertical" Spacing="2">
- <StackPanel IsVisible="{Binding !IsWatchOnly}" Orientation="Horizontal">
- <TextBlock Text="Encrypted Extended Master Private Key: " />
- <controls:ExtendedTextBox Text="{Binding EncryptedExtendedMasterPrivateKey , ConverterParameter=40, Converter={StaticResource LurkingWifeModeStringConverter}, Mode=OneWay}" Classes="selectableTextBlock" />
- </StackPanel>
-
<StackPanel IsVisible="{Binding !IsWatchOnly}" Orientation="Horizontal">
<TextBlock Text="Extended Master Private Key: " />
<controls:ExtendedTextBox Text="{Binding ExtendedMasterPrivateKey}" Classes="selectableTextBlock" />

MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/WalletInfoViewModel.cs
WalletWasabi.Gui/Controls/WalletExplorer/WalletInfoViewModel.cs
@@ -86,7 +86,6 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
public string ExtendedAccountPublicKey => KeyManager.ExtPubKey.ToString(Global.Network);
public string ExtendedAccountZpub => KeyManager.ExtPubKey.ToZpub(Global.Network);
- public string EncryptedExtendedMasterPrivateKey => KeyManager?.EncryptedSecret?.ToWif() ?? "";
public string AccountKeyPath => $"m/{KeyManager.AccountKeyPath.ToString()}";
public ReactiveCommand<Unit, Unit> ShowSensitiveKeysCommand { get; }
@@ -164,7 +163,6 @@ namespace WalletWasabi.Gui.Controls.WalletExplorer
Global.UiConfig.WhenAnyValue(x => x.LurkingWifeMode).Subscribe(_ =>
{
- this.RaisePropertyChanged(nameof(EncryptedExtendedMasterPrivateKey));
this.RaisePropertyChanged(nameof(ExtendedAccountPublicKey));
this.RaisePropertyChanged(nameof(ExtendedAccountZpub));
}).DisposeWith(Disposables);

Remove encrypted secret info from wallet info