Display sensitive data in red color
MODIFY
WalletWasabi.Gui/Controls/WalletExplorer/WalletInfoView.xaml
WalletWasabi.Gui/Controls/WalletExplorer/WalletInfoView.xaml
<StackPanel Orientation="Vertical" Spacing="2">
<StackPanel IsVisible="{Binding !IsWatchOnly}" Orientation="Horizontal">
<TextBlock Text="Extended Master Private Key: " />
- <controls:ExtendedTextBox Text="{Binding ExtendedMasterPrivateKey}" Classes="selectableTextBlock" />
+ <controls:ExtendedTextBox Text="{Binding ExtendedMasterPrivateKey}" Foreground="Red" Classes="selectableTextBlock" />
</StackPanel>
<StackPanel IsVisible="{Binding !IsWatchOnly}" Orientation="Horizontal">
<TextBlock Text="Extended Master zprv: " />
- <controls:ExtendedTextBox Text="{Binding ExtendedMasterZprv}" Classes="selectableTextBlock" />
+ <controls:ExtendedTextBox Text="{Binding ExtendedMasterZprv}" Foreground="Red" Classes="selectableTextBlock" />
</StackPanel>
<StackPanel Orientation="Horizontal">
<StackPanel IsVisible="{Binding !IsWatchOnly}" Orientation="Horizontal">
<TextBlock Text="Extended Account Private Key: " />
- <controls:ExtendedTextBox Text="{Binding ExtendedAccountPrivateKey}" Classes="selectableTextBlock" />
+ <controls:ExtendedTextBox Text="{Binding ExtendedAccountPrivateKey}" Foreground="Red" Classes="selectableTextBlock" />
</StackPanel>
<StackPanel IsVisible="{Binding !IsWatchOnly}" Orientation="Horizontal">
<TextBlock Text="Extended Account zprv: " />
- <controls:ExtendedTextBox Text="{Binding ExtendedAccountZprv}" Classes="selectableTextBlock" />
+ <controls:ExtendedTextBox Text="{Binding ExtendedAccountZprv}" Foreground="Red" Classes="selectableTextBlock" />
</StackPanel>
<StackPanel Orientation="Horizontal">

Display sensitive data in red color