Skip to content

Backport customization, font logging, and macOS DA fixes from dev/tdewey/2.1#1652

Merged
tdewey-rpi merged 5 commits into
mainfrom
backport/main
Jul 8, 2026
Merged

Backport customization, font logging, and macOS DA fixes from dev/tdewey/2.1#1652
tdewey-rpi merged 5 commits into
mainfrom
backport/main

Conversation

@tdewey-rpi

Copy link
Copy Markdown
Collaborator

Summary

Cherry-picks five commits from dev/tdewey/2.1 that are unrelated to the privileged-helper work:

Test plan

  • Build on macOS, Linux, and Windows
  • Run customization_generator_test
  • Customisation wizard: set username/password and Wi-Fi; confirm image customisation generates valid hashes
  • Paste a password with a trailing newline; confirm login still works
  • macOS: unmount/eject a removable drive during write prep

…ic font engine logging

Implement logFontEngine() in Windows, macOS, and Linux to log the configured font engine used by the application. This function provides insights into the font engine settings based on the platform's configuration, enhancing debugging and platform-specific behavior tracking.
Call PlatformQuirks::logFontEngine() during application init alongside the
existing text-scale debug output.
…nGenerator

Move password hashing (yescrypt/sha256crypt), Wi-Fi PSK derivation, and
CR/LF stripping into the generator so customization output is built from
a single place. Add unit tests and link the bundled crypto libraries into
the test target.
Replace ImageWriter.crypt/pbkdf2 with hashUserPassword and deriveWifiPsk,
pass the OS release date into the generator, and invalidate saved yescrypt
hashes when targeting older images. Wizard steps now store only derived
credentials; ImTextField uses paste() so pasted passwords drop CR/LF.
Schedule DA sessions on the main run loop before initiating unmount/eject,
and dispatch from worker threads via dispatch_sync to the main queue so
callbacks are delivered reliably.
@tdewey-rpi
tdewey-rpi merged commit 8b8695a into main Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Password with copy-paste includes trailing newline → yescrypt hash incompatible with PAM (sudo fails)

1 participant