Skip to content

Use US spelling in the enrollment report - #167

Merged
mastacontrola merged 1 commit into
masterfrom
us-english-secureboot-report
Aug 29, 2026
Merged

Use US spelling in the enrollment report#167
mastacontrola merged 1 commit into
masterfrom
us-english-secureboot-report

Conversation

@mastacontrola

Copy link
Copy Markdown
Member

Companion to FOGProject/fogproject#1453.

#166 shipped 23 UK spellings of enrolment, and the test file carried it in its name:

tests/checks/secureboot-enrolment-report.sh
  -> tests/checks/secureboot-enrollment-report.sh

FOS's own identifiers have always been US — fog.enrollsb, sbEnrollDb, and the db / trusted / mok vocabulary the server stores — so the prose was disagreeing with the code around it.

Scoped to the lines #166 added

fog.enrollsb and secureboot-funcs.sh both carry pre-existing enrolment in text written before this work, including the reference to docs/adr/0009-secure-boot-enrolment-paths.md. Those are left alone: rewriting them is a separate pass, and renaming an ADR that other files reference is its own decision.

That does leave a mixture inside those two files, deliberately.

No behavior change, and wire-compatible

The words sbReport sends — db, trusted, mok — are untouched, so this stays compatible with service/secureboot.report.php on any server, old or new. One user-visible string changes: the note printed when the record could not be reached.

sh tests/run-all.sh — 17 passed, 0 failed.

🤖 Generated with Claude Code

https://claude.ai/code/session_01C2gFRQ3Khhx24FNYMZhW6N

The companion to fos#166 shipped 23 UK spellings of "enrolment", and the
test file carried it in its NAME. FOS's own identifiers have always been US
-- fog.enrollsb, sbEnrollDb, sbStageMok's callers, and the 'db'/'trusted'/
'mok' vocabulary the server stores -- so the prose disagreed with the code
around it.

  tests/checks/secureboot-enrolment-report.sh
    -> tests/checks/secureboot-enrollment-report.sh

Scoped to the lines fos#166 added. fog.enrollsb and secureboot-funcs.sh both
carry pre-existing "enrolment" in text written before this work, including
the reference to docs/adr/0009-secure-boot-enrolment-paths.md, and those are
left alone -- rewriting them is a separate pass, and the filename of an ADR
that other files reference is its own decision.

One user-visible string changes: the note printed when the record could not
be reached on the server. No behaviour change, and the words sbReport sends
('db', 'trusted', 'mok') are untouched, so it stays wire-compatible with
service/secureboot.report.php on any server.

Co-Authored-By: Claude <noreply@anthropic.com>
@mastacontrola
mastacontrola merged commit 96e7f04 into master Aug 29, 2026
1 check passed
@mastacontrola
mastacontrola deleted the us-english-secureboot-report branch September 1, 2026 15:24
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.

1 participant