mirror of
https://github.com/usnistgov/macos_security.git
synced 2026-02-03 14:03:24 +00:00
os_setup_assistant_filevault_enforce checks for wrong type #110
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bernstei on GitHub.
On Sonoma 14.3.1, check for
os_setup_assistant_filevault_enforceexpects an integer (1), but the command (which I really don't understand) appears to return a bool-like stringApple's docs here https://developer.apple.com/documentation/devicemanagement/fdefilevault suggest that it is supposed to be bool, not integer.
@brodjieski commented on GitHub:
Thanks for bringing this up. Turns out that the check is a bit incorrect. It should be (note the missing .js):
This will result in a 1 or 0, which MSCP interprets as an integer value. The setting itself in the config profile should be a boolean.
Sorry for the confusion, and we will get it fixed. Thanks again!