Commit 486b52f
committed
WiP initrd/bin/oem-factory-reset: add qrcode+secet output loop until user press y (end of reownership wizard secret output)
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
works:
- oem and user mode passphrase generation
- qrcode
missing:
- unattended
- luks reencryption + passphrase change for OEM mode (only input to be provided) with SINGLE passphrase when in unattended mode
- same for user reownership when previously OEM reset unattended
Signed-off-by: Thierry Laurion <insurgo@riseup.net>1 parent 7df501b commit 486b52f
2 files changed
Lines changed: 27 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | 30 | | |
33 | 31 | | |
34 | 32 | | |
| |||
50 | 48 | | |
51 | 49 | | |
52 | 50 | | |
53 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
57 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
58 | 61 | | |
59 | 62 | | |
60 | 63 | | |
| |||
81 | 84 | | |
82 | 85 | | |
83 | 86 | | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
84 | 90 | | |
85 | 91 | | |
86 | 92 | | |
| |||
719 | 725 | | |
720 | 726 | | |
721 | 727 | | |
722 | | - | |
| 728 | + | |
| 729 | + | |
723 | 730 | | |
724 | | - | |
| 731 | + | |
725 | 732 | | |
726 | 733 | | |
727 | 734 | | |
| |||
1371 | 1378 | | |
1372 | 1379 | | |
1373 | 1380 | | |
1374 | | - | |
| 1381 | + | |
1375 | 1382 | | |
1376 | 1383 | | |
1377 | 1384 | | |
1378 | 1385 | | |
1379 | | - | |
| 1386 | + | |
| 1387 | + | |
| 1388 | + | |
| 1389 | + | |
| 1390 | + | |
1380 | 1391 | | |
1381 | | - | |
| 1392 | + | |
1382 | 1393 | | |
1383 | 1394 | | |
1384 | 1395 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
887 | 887 | | |
888 | 888 | | |
889 | 889 | | |
890 | | - | |
| 890 | + | |
891 | 891 | | |
892 | 892 | | |
893 | 893 | | |
| |||
898 | 898 | | |
899 | 899 | | |
900 | 900 | | |
901 | | - | |
902 | | - | |
| 901 | + | |
| 902 | + | |
903 | 903 | | |
904 | 904 | | |
905 | 905 | | |
906 | 906 | | |
907 | | - | |
908 | 907 | | |
909 | 908 | | |
910 | | - | |
911 | | - | |
912 | 909 | | |
913 | 910 | | |
914 | 911 | | |
| |||
978 | 975 | | |
979 | 976 | | |
980 | 977 | | |
981 | | - | |
982 | | - | |
| 978 | + | |
983 | 979 | | |
984 | 980 | | |
985 | 981 | | |
986 | 982 | | |
987 | | - | |
988 | 983 | | |
989 | | - | |
990 | 984 | | |
991 | 985 | | |
992 | 986 | | |
| |||
997 | 991 | | |
998 | 992 | | |
999 | 993 | | |
| 994 | + | |
| 995 | + | |
1000 | 996 | | |
1001 | 997 | | |
1002 | 998 | | |
0 commit comments