Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPG User Authentication: In-memory gpg keygen + keytocard and GPG key material backup enabling (plus a lot of code cleanup and UX improvements) #1515

Commits on Nov 1, 2023

  1. WiP

    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    b1e5c63 View commit details
    Browse the repository at this point in the history
  2. Wip: now supports both backup and copy to card and gpg_auth when back…

    …up exists. Might want to discuss that implementation. Some functions needed to be moved from functions to ash_functions so that gpg_auth can be called from recovery function. That might need to be discussed as well, recovery could be moved from ash_functions to functions instead.
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    2c55338 View commit details
    Browse the repository at this point in the history
  3. WiP: provide proper info/warn/die messages explaining causes of error…

    …s linked to detach signing errors
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    eceb97a View commit details
    Browse the repository at this point in the history
  4. WiP: adapt dmesg in function of CONFIG_DEBUG_OUTPUT being enabled or …

    …not so and adapt further troubleshooting notes in code when keys cannot be accessed on media for whatever cause so user can understand what is happening when accessing GPG material on backup thumb drive
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    1f28c71 View commit details
    Browse the repository at this point in the history
  5. WiP: further removal of unecessary debug messages

    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    2697a6a View commit details
    Browse the repository at this point in the history
  6. scripts: unify luks in text/prompts/messages to LUKS

    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    88d00df View commit details
    Browse the repository at this point in the history
  7. WiP: add export CONFIG_HAVE_GPG_KEY_BACKUP=y so whiptail-tpm2 can be …

    …used with GPG key material thumb drive backup
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    2ae9440 View commit details
    Browse the repository at this point in the history
  8. /etc/functions: add missing TRACE traces to get where TPM passphrase …

    …should be written to file and reused since not all in same functions/files for TPM2
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    2ea62ff View commit details
    Browse the repository at this point in the history
  9. bin/reboot: intercept reboot call when in DEBUG mode to type 'r' to g…

    …o to recovery shell instead of rebooting
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    754e3c9 View commit details
    Browse the repository at this point in the history
  10. TPM1/TPM2: unify wording for TPM Owner Password and cache it external…

    …ly to /tmp/secret/tpm_password to be reused in a boot session until recovery shell access or reboot
    
    TODO: Why two functions prompt_tpm_password and prompt_new_owner_password
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    911eb07 View commit details
    Browse the repository at this point in the history
  11. WiP: Clean cached /tmp/secret/tpm_password when sealing fails, otherw…

    …ise reuse it on TPM Reset/TOTP+HOTP Sealing once for TPM1/TPM2+TPM Disk Unlock Key
    
    gui-init: make sure that reseal_tpm_disk_decryption_key happens only on successful TOTP/HOTP sealing, reusing cached TPM Owner password
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    3fb84f0 View commit details
    Browse the repository at this point in the history
  12. To Squash: changes to reboot were not ash compliant

    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    15f1d0b View commit details
    Browse the repository at this point in the history
  13. WiP to be squashed: we need to refactor prompt_tpm_password which is …

    …used both for TPM Owner Password prompt and caching reused for TPM disk unlock key passphrase which of course fails
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    729f2b1 View commit details
    Browse the repository at this point in the history
  14. TPM2 DUK and TOTP/HOTP reseal fix, refactoring and ifferenciating tpm…

    …_password into tpm_owner_password and reusing correctly
    
    i
    TODO: fix all TODO in PR prior of review + squash
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    27c457f View commit details
    Browse the repository at this point in the history
  15. bin/reboot: fix parameter order so that we pause when in DEBUG before…

    … rebooting
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    cf065ee View commit details
    Browse the repository at this point in the history
  16. .ash_history: add history command for manual detached signed integrit…

    …y validation
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    b2cb9b4 View commit details
    Browse the repository at this point in the history
  17. qemu doc: add modify list/mount instructions to use losetup to map pa…

    …rtitions to loop0pX and mount them to get public key
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    2b21623 View commit details
    Browse the repository at this point in the history
  18. WiP: NK3 with p256 ECC algo supported for in-memory keygen and key-to…

    …-card op. With this commit, one can provision NK3 with thumb drive backup which enables authenticated recovery shell and USB boot.
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    56b6029 View commit details
    Browse the repository at this point in the history
  19. oem-factory-reset: make passphrases variables able to contain strings…

    … and validate things more solidly
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    9e838ad View commit details
    Browse the repository at this point in the history
  20. PCR extend ops inform users on what happens, otherwise we tpm command…

    …s output on screen without context
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    05fc4c1 View commit details
    Browse the repository at this point in the history
  21. gpg_auth function was not failing properly on failing, die instead

    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    7f5d970 View commit details
    Browse the repository at this point in the history
  22. initrd/bin/reboot: BugFix in nv41/ns50 condition check to call nitrop…

    …ad-shutdown.sh (otherwise output error on console for improper condition in ash
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    9c3fb35 View commit details
    Browse the repository at this point in the history
  23. oem-factory-reset: further cleaning of code for proper validation and…

    … consistency checks for passphrases. Also skip flashing code on qemu boards with short explanation
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    7cd44b6 View commit details
    Browse the repository at this point in the history
  24. oem-factory-reset seal-hotpkey: unify prompts and vocabulary

    oem-factory-reset: bugfix, keytocard inverts prompts. First is keyring then smartcard.
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    8a8634f View commit details
    Browse the repository at this point in the history
  25. Squash: remove DEBUG that were TODO for removal

    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    c3a5359 View commit details
    Browse the repository at this point in the history
  26. oem-factory-reset: simplify provisioned secret output at end of wizar…

    …d, including GPG key material output passphrase (uses strings+=string)
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    e6eeb57 View commit details
    Browse the repository at this point in the history
  27. RSA keygen adaptation testing with rsa 2048 in memory keygen and key …

    …to card missing pieces
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    867fb8d View commit details
    Browse the repository at this point in the history
  28. Squash: revert testing changes for RSA and unify once more USB Securi…

    …ty dongle's usage
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    38fc097 View commit details
    Browse the repository at this point in the history
  29. oem-factory-reset: make initial questionnaire more concise

    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    ad1bff6 View commit details
    Browse the repository at this point in the history
  30. Remove TODO in code that were not relevant prior of first review

    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    a3086e9 View commit details
    Browse the repository at this point in the history
  31. oem-factory-reset: RSA default should be 3072, not 3076. squash

    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    2a04fb5 View commit details
    Browse the repository at this point in the history
  32. oem-factory-reset: typo correction past tense

    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    4d72eb3 View commit details
    Browse the repository at this point in the history
  33. luks-functions: cleanup code of luks containers reported

    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    2aa9cfa View commit details
    Browse the repository at this point in the history
  34. oem-factory-reset: now permits to generate in-memory key, backuped to…

    … encrypted disk without copy to card from questionnaire. Can be tested out of the box on Qemu without modification from end of wizard's reboot call, prompting for gpg_auth when in debug mode.
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    584c964 View commit details
    Browse the repository at this point in the history
  35. qemu boards: Put back DEBUG and TRACE on

    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    f5dc5ef View commit details
    Browse the repository at this point in the history
  36. ash_functions: have gpg_auth calls to confirm_gpg_card in subshell lo…

    …op to force successful authentication
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    c2c32c4 View commit details
    Browse the repository at this point in the history
  37. oem-factory-reset: prmompt only for GPG User PIN when needed, warn us…

    …ers when no backup/when having only in-memory keygen backup without smartcard.
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    2942d66 View commit details
    Browse the repository at this point in the history
  38. luks_functions: fix width of whiptail messages with newlines so its n…

    …ot cut in the middle
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    af3287c View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2023

  1. tpmr: move TPM2 related secrets artifacts to /tmp/secret to be autowi…

    …ped when recovery shell is accessed. If you want to see those, use qemu and have main console launching qemu under recovery shell prior of doing ops you want to see /tmp/secret/ artifacts before being deleted. We still have pcap under /tmp which is as expected
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    921acd0 View commit details
    Browse the repository at this point in the history
  2. functions: prompt_tpm_owner_password only reuses /tmp/secret/tpm_owne…

    …r_password if already created by seal functions or itself. Sealing ops not being able to reuse the file shred it (kexec-seal-key and seal-totp)
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    48c446c View commit details
    Browse the repository at this point in the history
  3. oem-factory-reset ash_functions: fix USB Security Dongle' smartcard -…

    …> USB Security Dongle's smartcard
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    8526645 View commit details
    Browse the repository at this point in the history
  4. oem-factory-reset: simplify first question for users to have a GPG ke…

    …y material backup and enable GPG Authentication
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    644a59a View commit details
    Browse the repository at this point in the history
  5. functions: guide user torward resetting TPM more directly if counter_…

    …increment fails.
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    19c5d16 View commit details
    Browse the repository at this point in the history
  6. TPM2: add DEBUG and fix path for TPM2 primary key handle hash.

    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    6d7f9be View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2023

  1. unseal-totp: fix indentation

    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    9523b4f View commit details
    Browse the repository at this point in the history
  2. functions: check_tpm_counter; add shred call to wipe tpm_owner_passwo…

    …rd if creating counter fails with cached tpm owner password so prompt_tpm_owner_password asks for it again on next run
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    51caab8 View commit details
    Browse the repository at this point in the history
  3. seal-totp/tpmr: differenciate die messages to show which between tpm1…

    …_seal/tpm2_seal or check_tpm_counter fails to seal as first step to possible refactor
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    e2985d3 View commit details
    Browse the repository at this point in the history
  4. kexec-seal-key/seal-totp/tpmr/functions: move wiping of tpm_owner_pas…

    …sword to tpmr calls directly
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    84374df View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    afb817c View commit details
    Browse the repository at this point in the history
  6. tpmr/kexec-seal-key/functions: end refactoring of tpmr being in carge…

    … of wiping /tmp/secret/tpm_owner_password if invalid
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    cd3ce69 View commit details
    Browse the repository at this point in the history
  7. oem-factory-reset/ash_functions/luks-functions: replace provisioning …

    …with configuring keywords. Tweak oem-factory-reset flow and questionnaire. Now first prompt is to ask if user wants to go advanced or use defaults.
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    4e10740 View commit details
    Browse the repository at this point in the history
  8. gui-init: fix TRACE: clean_check_boot stating mount_boot instead of c…

    …lean_boot_check
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    c064b78 View commit details
    Browse the repository at this point in the history
  9. oem-factory-reset: add rudimentary mount_boot function so that oem-fa…

    …ctory-reset can be called early at boot without /boot previously mounted. Also fix logic so that GPG User PIN is showed as configured when keytocard or smartcard only is configured.
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    eee913d View commit details
    Browse the repository at this point in the history
  10. init: add early boot 'o' option to jump directly to oem-factory-reset…

    … for OEM provisioning of secret prior of shipping products, once OS is installed and after MRC training happened on first boot.
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    504f033 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2023

  1. kexec-select-boot/kexec-insert-key: add info message explaining why P…

    …CR 4 is extended
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    bfc877c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8d7efa0 View commit details
    Browse the repository at this point in the history
  3. ash_functions:confirm_gpg_card: loop gpg_admin_pin prompt until non-e…

    …mpty
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    923b4e1 View commit details
    Browse the repository at this point in the history
  4. kexec-seal-key: remove non-needed shred of file cached /tmp/secret/tp…

    …m_owner_password (done when sealing fails under tpmr)
    
    - document why shred is still called under functions:check_tpm_counter for safety and add TODO there
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    0042163 View commit details
    Browse the repository at this point in the history
  5. oem-factory-reset/librem boards: remove CONFIG_OEMRESET_OFFER_DEFAULT…

    …S=y and checks for it; the default of oem-factory-reset is now to propose user to use defaults first for simplicity of most common use case without allianating advanced users which can simply not accept the default and answer questionnaire
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    9e0491e View commit details
    Browse the repository at this point in the history
  6. tpmr: Move last TPM owner password prompt/shred into tpmr

    Prompt for TPM owner password internally within tpm2_counter_create.
    Add tpm1_counter_create to prompt for password internally.  Wipe the
    cache in either if the operation fails, in case the password was
    incorrect.
    
    Signed-off-by: Jonathon Hall <[email protected]>
    JonathonHall-Purism authored and tlaurion committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    fd6a947 View commit details
    Browse the repository at this point in the history
  7. All TPM Extend additional context passed from console echo output to …

    …DEBUG. Put back console output as of master. TODO: decide what we do with tpmr extend output for the future. Hint: forward sealing of next flashed firmware measurements.
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    388ee51 View commit details
    Browse the repository at this point in the history
  8. oem-factory-reset: fix typo : Same a GPG Admin PIN

    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    659de63 View commit details
    Browse the repository at this point in the history
  9. oem-factory-reset: normal output to inform user of consequences of ge…

    …nerating keys on smartcard without backup, not a wanring anymore
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 6, 2023
    Configuration menu
    Copy the full SHA
    160367d View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2023

  1. oem-factory-reset: unify booleen y/n variable usage and double check …

    …logic. Also move USB Security dongle capability detection under code already checking for USB Security Dongle's smartcard presence.
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    3787293 View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2023

  1. nv41/ns50/librem linux: Add EXFAT fs support (mandatory).

    config/linux-librem_common-6.1.8.config: passed to oldconfig format through 'make BOARD=librem_14  linux.modify_and_save_oldconfig_in_place'
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    23c967f View commit details
    Browse the repository at this point in the history
  2. oem-factory-reset : Prompt user for any connected block device, give …

    …storage size and loop until none is connected to exit loop.
    
    Warn user if connected usb block device is less then 128mb, since creating LUKS container of less then 8mb might cause issues.
    
    Signed-off-by: Thierry Laurion <[email protected]>
    tlaurion committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    e924a8a View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2023

  1. oem-factory-reset: Improve prompt flow formatting flash drive

    Combine prompt to disconnect other devices with prompt to connect the
    desired device.
    
    Show block device sizes in MB/GB when selecting device so it is easier
    to select.  file_selector now supports --show-size to include block
    device sizes in menu.
    
    Rework file_selector so menu options can contain spaces (use bash
    array) and to simplify logic.
    
    Prompt to select flash drive and LUKS percentage in OEM reset before
    actually taking any actions, so aborting doesn't half-reset the system.
    
    Abort OEM reset if user aborts the flash drive selection instead of
    looping forever.  (Canceling the confirmation still loops to retry but
    it is possible to exit by aborting the repeated menu.)
    
    Signed-off-by: Jonathon Hall <[email protected]>
    JonathonHall-Purism committed Nov 13, 2023
    1 Configuration menu
    Copy the full SHA
    a925219 View commit details
    Browse the repository at this point in the history
  2. oem-factory-reset: Move format confirmation before resetting anything

    Move confirmation of formatting flash drive with LUKS percentage
    selection before any reset actions have been taken, so aborting does
    not result in a half-reset system.  Combine with the more basic
    "confirm" prompt that existed after selecting the device (but did not
    include the LUKS size information).
    
    Split up prepare_flash_drive into interactive_prepare_flash_drive (both
    prompts and formats as before), confirm_thumb_drive_format (just
    confirms the selections), and prepare_thumb_drive (now noninteractive).
    
    Signed-off-by: Jonathon Hall <[email protected]>
    JonathonHall-Purism committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    d39fc26 View commit details
    Browse the repository at this point in the history
  3. oem-factory-reset: Don't repeat "insert flash drive" message

    Don't repeat this message if the user says "no" to the confirmation
    prompt.  Go directly to the menu.
    
    Signed-off-by: Jonathon Hall <[email protected]>
    JonathonHall-Purism committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    97d903f View commit details
    Browse the repository at this point in the history