-
Notifications
You must be signed in to change notification settings - Fork 48
Description
Describe the bug
I am using an SEB-File created using the Windows Configuration Tool (latest version).
Running that SEB file on a Windows Client and using the Javascript API (i.e. SafeExamBrowser.security.configKey) returns a key which properly validates to a hash of URL+ConfigKey on the server side.
However, using the same file to access the same URL on iOS produces a different ConfigKey.
There was a similar bug-report (#421) in 2024 which could not be reproduced and was therefore closed. #309 refers to a completely different issue (the server side application does not validate iframes)
To Reproduce
I am using the attached SEB-file (as an example).
I have used the Admin-Password
asd7623M658.JKUILNeuweoutirARDfzhjedrfskiuzchHZUIvbnkdjhf,vnb
and Quit-Password
quit
for this example
On Windows this results in the Hash
09dfeb15c9a9a51cec7010b67bf2b4a6d53e1cfe10b2b384dc45f6503ed20798 which is identical to the Hash I get when using ComputeSha256Hash(URL + myConfigKey)
On iOS I (consistently) get
b84aea16b23f26856d461cac2b43fac6298e8bade3f588d29dc4b2b32e60dba5
which is evidently different.
The iOS-log-file is inconclusive
SEB-iOS-Client.log
Expected behavior
Both platforms should result in identical Hash-values for identical URLs when using identical SEB-files.
I assume the reason is either
a. that iOS for some reason encodes a different URL (though I checked with window.location.href and document.URL and get the exact same result on both Windows and iOS); the application does use 302-Redirects, but those should not affect the URL used for generating the hash on iOS (or should they?)
b. that IOS somehow ignores / modifies / changes settings from the Windows-generated config-file and therefore generates a different hash
Version Information
Please complete the following information:
- OS: iOS 26.1
- SEB Version: iOS 3.6.1 / Windows 3.10.1