fix(app): derive an address private key only when revealed
Address rows and the address detail sheet no longer carry the WIF of every listed address for the whole session. The key is derived after the password gate and dropped when hidden, when the sheet closes or when the wallet closes. See ADR 0037.
This commit is contained in:
1 parent
8bcee27c23
commit
06d1f59c2b
8 files changed
+119
-23
No files matched your search
@@ -1019,7 +1019,7 @@
|
||||
<!-- Revealed: key text + hide button -->
|
||||
<StackPanel IsVisible="{Binding $parent[UserControl].((vm:MainWindowViewModel)DataContext).IsAddressPrivKeyRevealed}"
|
||||
Spacing="6">
|
||||
<SelectableTextBlock Text="{Binding PrivKey}"
|
||||
<SelectableTextBlock Text="{Binding $parent[UserControl].((vm:MainWindowViewModel)DataContext).RevealedPrivKey}"
|
||||
FontFamily="monospace" FontSize="12"
|
||||
Foreground="{DynamicResource DangerBrush}"
|
||||
TextWrapping="Wrap"/>
|
||||
|
||||
Reference in new issue
Block a user