Commit 1724a12
authored
storage: Fix passphrase remembering with "Reuse encryption"
The Format dialog does remember the passphrase used to unlock a device
in the "Reuse existing encryption" scenario, via the call to
unlock_with_type.
However, later on it would erroneously call "remember_passphrase" with
"undefined" during "maybe_mount", which would delete the previously
remembered passphrase. We avoid that now.
https://bugzilla.redhat.com/show_bug.cgi?id=23544971 parent d58c16a commit 1724a12
File tree
2 files changed
+12
-4
lines changed- pkg/storaged/block
- test/verify
2 files changed
+12
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
596 | 596 | | |
597 | 597 | | |
598 | 598 | | |
599 | | - | |
| 599 | + | |
600 | 600 | | |
601 | 601 | | |
602 | 602 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
150 | 150 | | |
151 | | - | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
152 | 155 | | |
153 | | - | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
154 | 159 | | |
155 | 160 | | |
156 | 161 | | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
157 | 165 | | |
158 | 166 | | |
159 | 167 | | |
| |||
0 commit comments