SafeExamBrowser / seb-mac

Safe Exam Browser for macOS and iOS
https://www.safeexambrowser.org/macosx
99 stars 40 forks source link

SEB 3.2.4 won't load plist using Mosyle Fuse #314

Closed RonHassan closed 1 year ago

RonHassan commented 1 year ago

I'm using SEB 3.2.4 and MDM (Mosyle) to upload the plist to an iPad 9. Mosyle won't upload the plist and, therefore, SEB opens momentarily to a white screen and then crashes. The config file worked fine when loaded from a webserver.

I've asked Mosyle to look into it and they advised that the MDM is working properly and that the issue is with SEB.

danschlet commented 1 year ago

Check out, if the suggested workaround in this issue fixes it: https://github.com/SafeExamBrowser/seb-mac/issues/225. I thought the issue shouldn't happen with SEB 3.2.4 anymore, but maybe it is a regression.

Can you provide the plist with which this happens, so I can test it?

There will be a new SEB 3.3 TestFlight Beta in the next couple of days with improvements for MDM configuration, maybe that will also help.

RonHassan commented 1 year ago

I tried that but nothing changed. It's possible that I didn't remove enough.

The plist is attached.

IAFFiPad (3).txt

RonHassan commented 1 year ago

Any update on your testing?

danschlet commented 1 year ago

We were on summer vacation, there will be a SEB 3.3 TestFlight beta soon, so you could test it then with that version.

RonHassan commented 1 year ago

I see SEB 3.3 for Windows online now. When do you expect it to be available for iOS?

danschlet commented 1 year ago

I can only say: soon. Sorry for not being able to be more specific (we cannot give any specific release dates currently).

markstisd956 commented 1 year ago

Ron, I was able to get this fix to work for me in the past, (not for Mosyle, but for Securly MDM) you have to remove a considerable chunk of the file. In your file, it should be lines 529 - 1323. I removed the lines, give it a try. IAFFiPad.3.txt

danschlet commented 1 year ago

SEB 3.3 for iOS is now available in the App Store. Unfortunately I didn't had time to release a beta version beforehand, because testing and bugfixing the 3.3 macOS version took so much time.

Would be great if you could test the MDM configuration with SEB 3.3 and let me know, if you still observe issues.

There's now finally a new option to remove all default setting key/values from the plist, which reduces the size of the configuration which needs to be deployed by MDM drastically. You can now also export this plist in the macOS 3.3 SEB version. I will add full support for MDM configuration to the Mac version at a later moment (Apple added support for the managed MDM configuration in one of the previous macOS versions).

markstisd956 commented 1 year ago

Updating the app to version 3.3 and creating the MDM file from the app while selecting the "Remove Default Values" slider did yield a usable file for me. The only issue is that it creates the file with the .SEB extension instead of .PLIST, even when checking off "MDM Managed Configuration", but change the extension to .PLIST and it works just fine on the client when pushing it from the MDM. Definitely easier than removing the large chunk from the file. Thanks for your work Daniel!

RonHassan commented 1 year ago

I'm happy to say that after setting up the config file in SEB 3.3, I was able to copy it to the Mosyle and install it on the iPad. Thank you for your help!