Skip to content

Commit

Permalink
Merge branch 'catalina' of github.com:usnistgov/macos_security into c…
Browse files Browse the repository at this point in the history
…atalina
  • Loading branch information
robertgendler committed Mar 9, 2021
2 parents 1b3ea92 + 9ca161f commit 779dcf3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/generate_guidance.py
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,8 @@ def generate_profiles(baseline_name, build_path, parent_dir, baseline_yaml, sign
unsigned_file_path=os.path.join(unsigned_mobileconfig_file_path)
unsigned_config_file = open(unsigned_file_path, "wb")
newProfile.finalizeAndSave(unsigned_config_file)
settings_config_file = open(settings_plist_file_path, "wb")
newProfile.finalizeAndSavePlist(settings_config_file)
unsigned_config_file.close()
# sign the profiles
sign_config_profile(unsigned_file_path, signed_mobileconfig_file_path, hash)
Expand Down

0 comments on commit 779dcf3

Please sign in to comment.