Commit 4eb729d
committed
bitlk: Do not try to use empty password for password keyslots
Passing empty password means we want to try to open the device
using the clear key so we can skip all other keyslots in this case.
This also fixes unlocking a BitLocker device where recovery
passphrase is in the first keyslot where we try to use the empty
passhrase first, hoping for a clear key, and never actually prompt
user for an actual (recovery) passphrase after.
Fixes: #9731 parent 3886646 commit 4eb729d
2 files changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1300 | 1300 | | |
1301 | 1301 | | |
1302 | 1302 | | |
| 1303 | + | |
| 1304 | + | |
| 1305 | + | |
| 1306 | + | |
| 1307 | + | |
| 1308 | + | |
| 1309 | + | |
| 1310 | + | |
| 1311 | + | |
| 1312 | + | |
| 1313 | + | |
1303 | 1314 | | |
1304 | 1315 | | |
1305 | 1316 | | |
| |||
Binary file not shown.
0 commit comments