So this is 10.15 and not supported but this what I'm seeing.
Script result: [WARNING] This script is not yet supported on macOS Catalina. Use at your own risk.
Alerting user jeremyalcorn about incoming password prompt...
Prompting jeremyalcorn for their Mac password...
Prompting jeremyalcorn for their Mac password (attempt 2)...
Prompting jeremyalcorn for their Mac password (attempt 3)...
Successfully prompted for Mac password.
Checking for /var/db/FileVaultPRK.dat on macOS 10.13+...
Issuing new recovery key...
[WARNING] FileVault key was generated, but escrow cannot be confirmed. Please verify that the redirection profile is installed and the Mac is connected to the internet.
Displaying "failure" message...
So this is 10.15 and not supported but this what I'm seeing.
Script result: [WARNING] This script is not yet supported on macOS Catalina. Use at your own risk. Alerting user jeremyalcorn about incoming password prompt... Prompting jeremyalcorn for their Mac password... Prompting jeremyalcorn for their Mac password (attempt 2)... Prompting jeremyalcorn for their Mac password (attempt 3)... Successfully prompted for Mac password. Checking for /var/db/FileVaultPRK.dat on macOS 10.13+... Issuing new recovery key... [WARNING] FileVault key was generated, but escrow cannot be confirmed. Please verify that the redirection profile is installed and the Mac is connected to the internet. Displaying "failure" message...