homebysix / jss-filevault-reissue

A framework for re-escrowing missing or invalid FileVault keys with Jamf Pro.
Apache License 2.0
186 stars 56 forks source link

"An error occurred" shown to user even though key escrowed to JSS #54

Closed cattyv closed 2 years ago

cattyv commented 2 years ago

Summary

After an individual enrolls in Jamf Pro running macOS Monterey, they get a prompt in Self Service to click an button to run this script, if they already have Disk Encryption enabled (so their FileVault Encryption Key value is Invalid or Unknown.) After clicking this button in Self Service to run the script, they receive the following error: "Sorry, an error occurred while escrowing your FileVault key." But Personal Recovery Key does, in fact, escrow to JSS. The issue is we are seeing this error when it's not an error technically. I'm not sure what all the sudden caused this, outside of running macOS Monterey now. Any help is greatly appreciated!

Steps to Reproduce

Steps to reproduce the behavior.

Expected/Desired Behavior

A clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Versions

Additional Information

Any other context you'd like to share.

homebysix commented 2 years ago

Hello @cattyv - Could you please include which version of the reissue script you're using, and which specific macOS version you experience the error on? Thank you.

cattyv commented 2 years ago

Hi @homebysix - yes no problem. Version of Reissue Script: 1.11.0 and macOS Monterey Version 12.2.

homebysix commented 2 years ago

May you try again with the latest script version, 1.12.0?

cattyv commented 2 years ago

Hi @homebysix, version 1.12.0 fixed this issue. Awesome script - thanks so much.