Coder Social home page Coder Social logo

safeexambrowser / seb-mac Goto Github PK

View Code? Open in Web Editor NEW
97.0 97.0 40.0 399.46 MB

Safe Exam Browser for macOS and iOS

Home Page: https://www.safeexambrowser.org/macosx

Objective-C 32.58% C 64.67% Swift 2.58% Ruby 0.01% JavaScript 0.08% C++ 0.09%
e-assessment education kiosk kiosk-mode learning lms macos seb seb-mac teaching webbrowser xcode

seb-mac's People

Contributors

danschart avatar danschlet avatar gerhardam avatar krisell avatar lucaboesch avatar mteep avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

seb-mac's Issues

allowScreenSharing not consistent

Using seb2.1.2 on Mac OS 10.12.5
All laptops are fully managed with non-administrative students and have ARD configured but locked from any student access.

We have allowScreenSharing set to true in the .seb config and in a class of 20 clients around 10 start SEB with the error that screen sharing needs to be turned off before it can start. A reboot will fix most of them but then randomly during the exam SEB will sometimes red screen error about screen sharing and require another reboot.

If we manually turn off screen sharing everything is always ok but this is not feasible as a pre and post safe exam process.

Is the allowScreenSharing parameter meant to work in this way or is there something else we should be configuring?

Partial log printed in debug mode for SEB-JSON

I'm working on a feature for our application to use SEB during exams.
We want to integrate it in a way, that the teachers won't need to use the config tool to create an exam file, so this needs to be generated.
I am struggling to generate the config key. I was following the instructions from the developer website, but the key which is generated for me differs from the one that is generated in the config tool.
There is a way to debug this on macOS, "JSON for Config Key: " should print this json in the log, but it does only partially. I suppose that it exceeds some output limit and that is the problem.
My question is if there is any chance to be fixed in the near future, or can you provide me a default config file with the SEB-JSON together, so I can find out what I missed in the generation of the config key.
I tried to use the Example SEB-JSON String from the webpage, but I can't open it in the config tool, since it is password protected.

Thank you!

org.safeexambrowser.Safe-Exam-Browser-2020-06-02-08-44.log

sebs protocol issue with Safari 13.1 on Mac

In our LMS I build and store exam start files server side. Exams are started by clicking on a link with the sebs protocol like:

"sebs://istest2.ch/sebfiles/u_162_DT_15581_t_1590315260.seb"

This works fine with Chrome, Firefox and Edge, but not with Safari 13.1. The first click starts the local seb file. Subsequent clicks on the same link start the correct file stored on the server. After a certain amount of time a click on the same link reverts to the local file and everything starts over again.

Is this a known issue or did I miss something in the configuration file?
I suspect it is more a Safari issue then a SEB issue, but I am grateful for help.

Environment: Mac OSX 10.15.4, SEB 2.1.4, Safari 13.1

SEB security verification fails after network loss

Description of the use case

  • A student starts a BYOD exam, with a MAC computer (only).
  • He then, disables his WIFI connexion (loosing internet).
  • He then, tries to access next question (buttons become disabled, error explanation is showed)
    • IMPORTANT : WHILE DISCONNECTED ...
    • He flags and unflags the question multiple times.
    • He tries to access other questions (using cards)
  • He then, recovers internet (with same network, or other network)
  • He then, refreshes the page (because everything is frozen, only option)

Expected result

  • Student (as on Windows) should be back on the quizz attempt, same question, but loosing all unsaved data.

Observed result

  • Student (on Mac OS X) gets a error (cf image) and gets kicked out of quizz.
  • After clicking on continue two times (student did not lost his session) he can come back to the quizz. Of course loosing all unsaved data.
  • Two extra clics and a red error on Moodle, that only shows in SEB for Mac OS (2.1.3 or 2.1.4 tested) and if we are using SEB config keys.
  • We also tried using the secondary SEB config key (mac os specific) but same issue exists.

EXC_BAD_ACCESS (SIGSEGV)

We have a student using SEB 2.1.2 on Mac OS X 10.9.5, and the system crashed several times using SEB. SEB was successfully downloaded, but after opening a config file for starting an exam with the settings password, the system crashed. Here is the first part of the report. Can you help?

Process: Safe Exam Browser [323]
Path: /Applications/Safe Exam Browser.app/Contents/MacOS/Safe Exam Browser
Identifier: org.safeexambrowser.Safe-Exam-Browser
Version: 2.1.2 (27A8)
Code Type: X86-64 (Native)
Parent Process: launchd [187]
Responsible: Safe Exam Browser [323]
User ID: 501

Date/Time: 2016-12-16 11:21:09.547 +0100
OS Version: Mac OS X 10.9.5 (13F1911)
Report Version: 11
Anonymous UUID: 1124ABF0-0F76-A232-BA3B-EF934AA184E3

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00007fff52de4e48

VM Regions Near 0x7fff52de4e48:
MALLOC_TINY 00007fec84700000-00007fec84e00000 [ 7168K] rw-/rwx SM=PRV
--> STACK GUARD 00007fff4f5e5000-00007fff52de5000 [ 56.0M] ---/rwx SM=NUL stack guard for thread 0
Stack 00007fff52de5000-00007fff535e5000 [ 8192K] rw-/rwx SM=COW thread 0

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libunwind.dylib 0x00007fff8f6a7b51 libunwind::UnwindCursor<libunwind::LocalAddressSpace, libunwind::Registers_x86_64>::setInfoBasedOnIPRegister(bool) + 33
1 libunwind.dylib 0x00007fff8f6a7b26 unw_init_local + 138
2 libunwind.dylib 0x00007fff8f6a8560 unwind_phase2 + 44
3 libunwind.dylib 0x00007fff8f6a7a44 _Unwind_RaiseException + 248
4 libc++abi.dylib 0x00007fff93033c4a __cxa_throw + 107
5 libFontParser.dylib 0x00007fff89bb492d TcmapUnicodeTable::GetUnicodeSubtable(unsigned int&) + 335
6 libFontParser.dylib 0x00007fff89b80051 TcmapUnicodeTable::TcmapUnicodeTable(TSFNTFont const&) + 79
7 libFontParser.dylib 0x00007fff89b7fef5 TSFNTFont::GetGlyphsPerCharacters(unsigned short const*, unsigned short*, unsigned int&, bool) const + 55
8 libFontParser.dylib 0x00007fff89b91ccc FPFontGetGlyphsForUnichars + 608
9 com.apple.CoreText 0x00007fff8c0ecc0a TcmapTable::Map(unsigned short const*, unsigned short*, long&) const + 210
10 com.apple.CoreText 0x00007fff8c0ecab2 TBaseFont::GetGlyphsForCharacters(unsigned short const*, unsigned short*, long) const + 82

White screen after inserting link to moodle exam

After inserting the link to my moodle exam and applying the new settings in SEB a white screen appears. The moodle website is not being loaded in the SEB. What could be the problem? I use SEB 2.1.3 and Moodle 3.5.5.

"SEB Is Locked!" screen showing up during the exam

I received a report from 2 different schools about iOS app showing a red screen SEB dialog all of the sudden during taking the exam. In first case it happened to less than 1% of students, in another case it happened to 13% of students!

Initially I thought it might be due to a check for a hash in User-Agent header which we do for every request and redirect to SEB settings download page. I thought SEB might have skipped updating the header for a request but after looking more into it it is not possible as the next request we are getting is downloading SEB settings from https://<GLOBAL_CONFIG_URL>/safeexambrowser/SEBClientSettings.seb and while testing reconfiguring SEB manually during the exam, SEB correctly complaints with the dialog "Loading New SEB Settings Not Allowed!" instead of displaying the red screen.

The issue is only present on iOS SEB 2.1.14, not sure about previous versions. We have not had any reports for Windows or Mac installations.

Do you have any ideas what could have gone wrong? I briefly checked 2.1.14 codebase but I could not find a way to disable this screen or the way how can it be triggered. We don't have any special quit urls configured and as far as I know, all are empty.

Please find below a screenshot with a problem and a test config file we use.

https://gist.github.com/t00/dedc067667248eebc4b01da7393ae38f

SEB Is Locked

WiFi does not reconnect in AAC mode

We have seen several examples, during a long 3 hour exam, where the iPad has fallen off the Wifi, and does not auto-reconnect whilst in AAC mode. We have to exit AAC mode, go to settings, reselect the correct WiFi, wait for it to connect, and then re-enter AAC mode in SEB, then get the candidate to re-login to the exam to get the iPad back online. As our exam software supports offline use (single page app using IndexedDB), this does not disturb the candidate during the exam, but it creates work, and worry/stress for candidates and invigilators at the end of the exam. Is this a known issue?

Can Use Second Chrome Window with Multiple Monitors

Hi there,

First of all, your work/project is AWESOME!! Thank you!!

We are currently integrating SEB into our LMS. I have noticed that when I have 2 external monitors hooked up when I am opening an .seb file (and one of the monitors has another Chrome window open with multiple tabs); I am able to still go to each tab and scroll up/down while SEB has "locked down" the whole screen. This seems like an edge case but I thought I'd let you know. Is there a way the stop the user from interacting with that second window (not scroll up/down or go to another tab)? Ideally, all other Chrome windows would close or SEB would refuse to open until all windows have been closed. I am on OSX 10.12.6 (macbook pro mid 2015, 15 inch, 2.2 GHz i7, 16GB RAM, Intel Iris Pro 1536 MB)

Thank you

JavaScript calls in SEB on Mac do not return proper values for confirm dialog windows

OS: macOS 10.13.6, also 10.11.6, Windows 10
SEB Version: 2.1.3 Mac, 2.2 Windows
jQuery 1.12.4

When a JavaScript confirm dialog is generated by a web page, it will give two options, "Cancel" or "OK".

If Cancel is clicked, the function returns false.
If OK is clicked, the function returns true.

I have a JavaScript if condition that checks on which button is clicked in a confirm call. When using SEB on MacOS, if you click cancel then the confirm still returns true.

This is not normal JavaScript functionality, as the result should reflect which button is clicked as listed above. This only occurs on the macOS SEB version 2.1.3, under both OSes tested above. I have tested it under Safari 11.0, Firefox 56, and Chrome 61 on Mac OS 10.11.6. This does not occur on the SEB 2.2 version under Windows or any Windows browsers, which leads me to think it is an issue specific to the Mac version.

I have created a test page at https://kaiapuni-wp.coe.hawaii.edu/test.html that shows the problem. The test code is as follows:

<!doctype html>
<html>
<head>
  <title>Testing JS</title>
  <script
  src="https://code.jquery.com/jquery-1.12.4.js"
  integrity="sha256-Qw82+bXyGq6MydymqBxNPYTaUXXq7c8v3CwiYwLLNXU="
  crossorigin="anonymous"></script>
</head>
<body>
  <h1>Testing <code>confirm();</code> functionality</h1>
  <p>
    <a href="https://kaiapuni-wp.coe.hawaii.edu/" id="test-link">Click to test jQuery calls</a>
  </p>
  <div>
    <strong>Result is:</strong> <span id="link_result_text"></span>
  </div>
  <h1>Test 2</h1>
  <p>
    <button onclick="buttonClicked();">Click to test vanilla JS calls</button>
  </p>
  <div>
    <strong>Result is:</strong> <span id="button_result_text"></span>
  </div>
</body>
  <script>
    // Tests the confirmation event using jQuery.
    var testConfirmation = function(event) {
      var span = document.getElementById( "link_result_text" );
      result = window.confirm( "Click OK to continue, cancel to stop!" );
      if ( result ) {
        span.textContent = "Clicked OK: " + JSON.stringify( result );
        console.log( "Clicked OK" );
        return true;
      } else {
        span.textContent = "Clicked Cancel: " + JSON.stringify( result );
        console.log( "Clicked Cancel" );
        event.preventDefault();
        return false;
      }
    }
    // Fire on-click function.
    $("#test-link").on("click", testConfirmation);

    // Tests confirmation event using vanilla JS.
    function buttonClicked() {
      var span2 = document.getElementById( "button_result_text" );
      result2 = window.confirm( "Button!  Click OK to continue, cancel to stop!" );
      if ( result2 ) {
        span2.textContent = "Clicked OK: " + JSON.stringify( result2 );
        console.log( "Clicked OK" );
      } else {
        span2.textContent = "Clicked Cancel: " + JSON.stringify( result2 );
        console.log( "Clicked Cancel" );
        return false;
      }
    }
  </script>
</html>

Settings or Config files are overwritten by MDM, even when no plist is configured in the MDM

First off... SEB is awesome and I am not sure this is an SEB issue, specifically. But it does impact SEB and at the very least may need to be documented or better understood.

The following applies to iOS devices managed via MDM (we use JAMF, not sure if this is specific to JAMF or MDMs in general). We don't manage non iOS devices via MDM, so I'm not sure if there are implications for OSX or Windows.

What we have found is that iPads managed via JAMF always default to the MDM-supplied config, even when no plist is configured in the MDM (in that case it always launches to "enter a url" start screen, like when you first install SEB).

What this means is that .seb files set to act as permanent config files are never stored as a permanent config. The will work normally when they are first "opened" as long as the config is in memory, but once SEB is quit, it always reverts back to the "blank config". This issue does not occur if the device is not managed via MDM.

If you open a .seb file configured to start an exam, you briefly see the "enter password" screen, but then it is replaced with the "enter a url" start screen. Effectively you have click/open the settings file twice: once to "launch SEB" to the default state and a second time to use the settings file.

We are working around this now by just using the MDM to deliver a configuration and then using a "portal" page. But this is new, and I am fairly certain, unintended behavior. I don't know if the underling issue is with iOS, MDMs (generally), JAMF (specifically), or SEB. Or it's just an edge case of the specific interaction of all 3.

I'm happy to provide more detail or perform what testing I can. Thanks!

IOS SEB 2.1.13 (testflight) - no message if the page url is blocked

Tested on test with SEB 2.1.13 (build 11897) for Test Flight on IOS 12.4 with Ipad
Test: https://test.inspera.no/admin#deliver-test/2691009

How to login to test as external:

URL: test.inspera.no/student
Username: 2691024
Password: hfrx

invigilator password: a12345
SEB password: b12345


Test steps:

  1. Create a question set that has normal and blocked url in resources
  2. Create a normal test with SEB for IOS
  3. As a candidate click on the on the normal url
  4. As a candidate click on the on the blocked url

Results:
-> Regarding point 3: URL resources opens ok (this is ok)
-> Regarding point 4: A blank page opens with the title "untitled page". There is no notification that the page is a blocked one.

Screen freezes

Hi!

Four of our students experienced their screens freezing, everything stopped working and they had to eventually shut down their computers in order to get back control. This happened after they had successfully provided the password for the Safe Exam Browser configuration file and logged into their school portal. So the Safe Exam Browser had at least been able to start. The affected versions are as follows:

Mac OS 10.11.6
SEB 2.1.2

Best regards,
Patrick

SEB Reset Error Message

I used Casper Composer to capture the customized org.safeexambrowser.Safe-Exam-Browser.plist file and then deploy this to all my users laptops. That process works and the file gets deployed properly. Whenever we launch the program we get an error message (attached), but after clicking "OK" SafeExambrowser works perfectly with all the custom settings. Any idea of how I can get rid of this messages for my students?

se reset

Third-Party Applications

Hello, are there any plans in SEB for Mac to run Third-Party Applications like on Windows without the parental control solution? Because for unmanaged devices the parental control solution is hardly applicable. Or is there another solution?

Thank you for the information.

Keyboard fails to fully open

In a recent summative exam, using iPad minis, we had several candidates (maybe 5%) with a problem where the onscreen keyboard failed to open properly, just revealing a grey rectangle, instead of the keyboard. At this point we could not continue the exam, nor could we exit SEB. Is this a known problem, and what could we do to help debug the issue?

Quit Link Restarts Session

When navigating to the Quit-Link on SEB for iOS, SEB exits SAM correctly, however, instead of returning to the iPad home page (quitting SEB), it "Restarts Session" by returning to the start page, and then confirming self lock. People taking the exams find this un-intuitive and end up going round in circles unable to quit (which requires you to press the home button between when it unlocks and when it locks again. Am I missing something obvious in the configuration, or is this how its supposed to work?

Config key failure (Hash being calculated on invalid JSON string)

Version: SEB MAC 2.1.4
Build: 2B66

After some days of trying to implement the SEB config key feature to my learning platform I came across a possible bug. I could not get the config key hash feature working, and after a long time testing, debugging and reading the log files I found out this:

The config key hash is being calculated on a invalid JSON string:
{"hashedQuitPassword":"183297b53ba6bd201b3b9bc6d9e9ce5289ea7ed4a91f1516ec2c61802a6664ce","logLevel":4,

It looks like the JSON string breaks down after the last comma.
Next SEB just calculates the config hash based on this invalid JSON string, check the log lines below.

2020/01/21 22:37:57:772 JSON for Config Key: {"hashedQuitPassword":"183297b53ba6bd201b3b9bc6d9e9ce5289ea7ed4a91f1516ec2c61802a6664ce","logLevel":4,
2020/01/21 22:37:57:772 Config Key: {length = 32, bytes = 0x76fed2a2 379dd1a3 d9538a26 de8053eb ... 26c3def0 ef68fe30 }

Is this a known bug or do I overlook something..?
Please let me know if any more debug information is needed.

Selecting multiple files for upload not working macOS

Steps to reproduce the problem
Use SEB to go to any page which uses a file input-field with the multiple-attribute, for instance https://smallpdf.com/merge-pdf

What's the problem
Multiple files can't be selected.

What is supposed to happen
Multiple files should be selectable, using cmd or shift, or dragging mouse. This works as expected in any other browser I've tried, including SEB for Windows.

push notifications

Hi,

I'm trying to integrate https://onesignal.com/ in my LMS but as it's working properly with firefox, chrome and safari, when I try to use it with safe exam browser i can't get notifications working.

Could you tell me how to debug with SEB? In that way I can check what is blocking my web connections and so on..

Thanks for your works!!

Security

What security does SEB provide for local data? A certain company has a document "explaining" the superiority of an app based approach over a browser based approach on iOS. As far as I can tell SEB as a separate all should have its own encrypted sandbox, and should be as difficult to access the local data as it is in a native app providing local storage. The indexeddb storage file should be inside the SEB encrypted container. Providing all data is encrypted in transit, accessing the local data should be impossible? What about jailbroken devices? Can you provide some reassurance on the security compared to iOS native app solutions?

Touchbar re-programmable with software and not blocked by SEB

You can re-program the touchbar with apps to give you custom icons, text etc on the touchbar and this gives you the possibility to unwanted help.

Added some pictures regarding how this work and looks like.
You can add sub "folders" to each picture/button/text so this gives you the possiblity to have cheats per chapter of a book etc.

You need to run the software before you start SEB and to make it less visible or standing out you can take a default icon that might be normal to have there and hide your custom menu under it.
Maybe even make it that multiple keys needs to be pressed for the sub cheat menus to show up.

https://ibb.co/wc6r9t2
https://ibb.co/YdV961y
https://ibb.co/Ct8QQ69
https://ibb.co/gR8rX3g

iOS WebView breaks css after showing on screen keyboard on iOS 13.4 and up

Similar issue has been registered on Cordova when using UIWebView, SEBWebView seems to be affected by the same problem.
See the Cordova bug
When on screen keyboard is shown animations break and other css-related issues happen due to a bug in WebKit.
This is confirmed to be fixed in WKWebView. Do you have any plans to switch to WKWebView? I guess it requires separating iOS and macOS WebView code?

Tested on seb 2.1.16 and iOS 13.4 and 13.4.1.

Seb 2.1.4 bettertouchtool

seb disables BTT and gave a message about restoring this. but after loading the configuration file given by school i've been unable to recreate the message.

so how to i restore my BTT to work again.
even after restarting my mac i keep getting the default touch bar and been unable to find how to fix it.
it somewhere stated i've got to go into keyboard settings, but cant find touchbar related settings there.

iOS 12 support

iOS 12 for iPad has just been released to the general public. We assumed that SEB would be made compatible during the iOS 12 beta period. But that doesn't seem to be the case. When starting the SEB app on iOS 12 the user is greeted with the following message: "Running on New iOS Version Not Allowed Currently it isn't allowed to run SEB on the iOS version installed of this device" With many of our clients upgrading to iOS 12, this will become a big problem really quickly. Our test device is running iOS 12.0 (16A366).

Safe Exam on Mac

Safe Exam Browser regarding any planned updates that will allow MAC users to swap between languages as PC users can currently do?

Are you aware of a fix for Mac users or do you have an ETA

Sustained keypress and SEB

Dear SEB developper team,

While doing some BYOD exams we observed a feature that can't be used in SEB.
We would like to know if it could be integrated, or if something prevents it from being possible.

For example, a student using a Mac OS X computer configured to use only English UK keyboard for example, usually inserts special characters (éèëê or áàäî, etc.) using "sustained keypress". Pressing a key and keeping pressing it usually suggests some special characters using the same letter.

I think chinese keyboard also uses this feature (of suggestions depending on key strokes) and we would like to know if those suggestions could be used with SEB.

Sorry if this answer has already been answered, couldn't find anything about that.

Should I allow SEB to "control my computer"?

I noticed the following settings in "Security and integrity" -> "Integrity" -> "Accessibility".
I'm not sure of the exact translation, but it basically asks "Allow the applications below to control your computer".

Should SEB be allowed? If so, what happens if this is not checked (I have not noticed any problems having it un-checked).

image

Mac App Store version

Hi,

We've had some schools that had issues with Safe Exam Browser on Mac OS X because they've tried to install it from the Mac App Store.

See link: https://itunes.apple.com/us/app/safe-exam-browser/id411684841
I've noticed that it was last updated in 2012 and the latest version is 1.5.2

I was wondering if there was any chance you could either remove it or update the description to indicate that it wont receive further updates in the Mac App Store.

Crash To Homescreen

We experienced issues with SEB for iOS crashing for a few candidates in a recent sumative exam for about 300 candidates. One candidate had their ipad crash more than three times during the exam. What is the best way for us to help you debug these issues?

SEB 2.1.2 Close Force Quit Window

When opening SEB 2.1.2 in MacOS 10.12.6, it says it cannot run when the Force Quit window is open. I can still move the cursor, but the program itself is not working. The full error message is:
"Close Force Quit Window
SEB cannot run when the Force Quit window is open.
Close the window or quit SEB."
With two buttons "Quit" and "Retry".
When pressing "Quit", it quits. And when pressing "Retry" nothing happens.
How does this happen, and what may I do to fix this?

IndexedDB Support

IndexedDB works fine in iOS 10 & 11, but it is not visible in iOS9. iOS9 support is important because there are some devices still in service that cannot be upgraded to iOS10+.

iOS: Auto-capitalization is not disabled

When typing with the iPad keyboard in a textarea or editable div, the autocapitalization is not disabled, even though AAC is used. This is in conflict with the documentation on AAC by Apple (https://support.apple.com/en-us/HT204775), and might be a bug in iOS.

Steps to reproduce:

  • Open SEB in AAC mode and start typing in a textarea.
  • Type a period, . and press spacebar.
  • The capitalization is then auto-activated, capitalizing the first letter.

Tested on iOS 13.1.2

There is an HTML-attribute, autocapitalization, which can be set to off/none to inform virtual keyboards not to auto-capitalize, and this seems to work outside SEB, but the WebView in SEB does not seem to see this.

Disabling auto-capitalization on the iPad (Settings – General – Keyboard) works as expected.

I have not been able to test with a physical keyboard, but auto-capitalization may be disabled by default then, mitigating this problem for assessment situations.

Looking for ways to disable communication programs

Dear SEB team,

Since the Corona crisis we at Learnbeat see an increased interest in taking exams remotely for our market, mainly high schools.
The problem is that students have found ways to fraude.
We are trying to eliminate the following issues, but I was wondering if we

This is mainly that they can still use apps like Zoom, Skype or Teams to communicate with each other whilst SEB is being launched.
The communication can be either through the native app or through the webapp in the browser.

On the Mac version of SEB we can't disable any applications. Is there another way to lock the above mentioned apps from communicating? We would like to keep our internet connection active. Is the disabling of applications for Mac on your roadmap?

On Windows we can successfully terminate the native apps, which is great, but we can't terminate the whole browser. This is because we would like to redirect the user back to our own webapp in the browser. Do you have any recommendation on how to terminate the communication between these apps? We have blocked capturing audio on Windows, but that doesn't seem to do the trick. Is there maybe a way to terminate all browser tabs except the ones with our own domain?

I hope you have time to look at this!
Kind regards,

Ramon

Audio auto pausing on click in iframe SEB on ipad

When using the plyr library for audio / video playback. The audio playback will be paused when clicking (tapping) anywhere on the screen. It only seems to happen when running in a iframe.
Also, it doesn't happen when running on IOS safari v11 & v12.

Is there a way to debug the content inside SEB?

Frame load error

Hi we are having issues with the new version 2.1.11 for iOS where we are prompted by the error message "Frame load error" when starting Safe Exam Browser on iPads. Not all iPads are affected by this error so maybe it has to do with certain iOS updates?

Best regards,
Patrick

Audio Autoplay doesn't work on IOS

The particular tests we're running inside of SEB have some media elements that in some specific cases are necessary to be able to understand the question. We'd prefer it if we can make these autoplay, which works in SEB on most platforms, just not IOS - and a lot of our users are using iPads.

I'm not able to find a solid reference for Apple's decision, but based off various posts it appears that IOS blocks autoplay in order to conserve either battery or data.
Similar blog post about video:
https://webkit.org/blog/6784/new-video-policies-for-ios/

It's possible to override this behavior with the UIWebView by adding the follow line SEBWebViewController.m file in the loadView method.
_sebWebView.mediaPlaybackRequiresUserAction = NO;
https://developer.apple.com/documentation/uikit/uiwebview/1617954-mediaplaybackrequiresuseraction
I have confirmed this makes autoplay work on my local dev hardware.

Not sure if enabling autoplay as a hardcoded change would be a good idea, or if this should be pulled from the SEB config file.

Does anyone have any thoughts? I can make the change and open a pull request.

Support for Dutch localisation

Dear SEB team,

At this moment my colleagues and I at Dedact are looking into using Safe Exam Browser for making exams within our web-based e-learning platform Learnbeat.

The prototypes we have made thus far show a lot of promise, such that we would like to have Dutch localisation, since most of our clients are located in The Netherlands. We could do the localisation ourselves. We were wondering if the SEB team is willing to support an nl localisation in the normal release of SEB for MacOS and the other platforms if we provide one.

Niels

SEB(Mac) vs Angular

Hello,
we have our test module written in Angular. It works fine in SEB(Win) , however it doesn't run under SEB(Mac). We tested even simpler Angular 1.3 projects and it doesn't start either. We made sure that latest webkit is installed on the system...

We would appreciate any comments on that.

Thanks a lot!

Programmatically creating config file

I generated a config file, and I'm trying to make copies using python.

My seb file is encrypted using a password.

So the format is :
Data Format

All data in network order (big-endian).

| version | options | encryption salt | HMAC salt | IV | ... encrypted data ... | HMAC |

| 0 | 1 | 2-9 | 10-17 | 18-33 | 34 - n-33 | n-31 - n |

version (1 byte): Data format version. For now always 1.
options (1 byte): Reserved. Always 0.
encryption salt (8 bytes)
HMAC salt (8 bytes)
IV (16 bytes)
encrypted data/ciphertext (variable) -- Encrypted with CBC mode.
HMAC (32 bytes)

However, when i inspect the seb file using a hex editor, the first byte is 31.

image

Is there something wrong with my logic?

Network filter not consistent between windows and mac version

Hi,
I created a config file to allow certain website access (in this case is repl.it). I tried to scan all the requested URL and put it into the network filter settings. Somehow, it works on Windows SEB 2.2.2, but it did not work on Mac SEB 2.1.3. Here are some details:

Windows:

  • SEB 2.2.2
  • OS Windows 10

Mac OS:

  • SEB 2.1.3
  • OS X 10.13.6

Problems:
Windows SEB can access repl.it, but Mac SEB cannot access (run button keeps on loading).

Expected behaviour:
With the same network filter settings, both should have the same behaviour.

To test:

  1. Create an SEB config file.

  2. Add the following into the network filter list:
    https://www.google-analytics.com
    https://api.segment.io/v1
    https://repl.it
    wss://eval.repl.it/ws
    https://www.google.com/recaptcha
    https://www.google.com/js
    https://storage.googleapis.com
    https://www.gstatic.com
    https://fonts.gstatic.com
    https://cdn.segment.com
    https://cdn.polyfill.io
    https://fonts.googleapis.com
    https://cdnjs.cloudflare.com

  3. Try to access repl.it from SEB 2.2.2 Windows and SEB 2.1.3 Mac.

  4. Observation: on Windows, it can load and run button can be clicked. On Mac, the run button cannot load and there is an error of cannot connect.

Media keys remap allows students to open Spotify

Hi,

We've gotten some reports that students while in SEB-mac 2.1.3 can press the play/pause button to open the Spotify player.

I've yet to get the full details of how the students remapped the key and if they can actually tab to Spotify but i'm guessing they are using an app such as this one: https://github.com/milgra/macmediakeyforwarder

Would something like this be possible to block since i'm guessing it might still work even if it is remapped to another app than Spotify? Perhaps we haven't set up our SEB config correctly to prevent this?

Safe Exam Browser and Microsoft Teams

Good morning!
We are testing SEB 2.1.4 to allow students to take online exams via moodle.
Unfortunately we have noticed that this version of SEB does not close Microsoft Teams (macOS 10.15). Microsoft Teams continues to operate and manage a video call even after SEB was started.

On windows everything works regularly.

Best regards.

Very slow JavaScript on iOS

Hi, we are using SEB for IOS 2.1.15, and it seems everything on webpages using JavaScript (especially buttons with onclick listeners) are extremely unresponsive. An example would be setting the URL to Google and search for calculator, and tapping the numeric buttons takes a long time to take effect. If you tap the screen too fast the web page will zoom in instead of triggering a click.

The same website performs normally using SEB for macOS.

Are we missing any settings? Could you advise on how to fix this issue please?

Full screen problem

SEB 2.1.2 for mac, Mac 10.10.5 Yosemite
When using SEB with https://geogebra.org/exam buttons and checkboxes on the web page are inactive (or at least not clickable).
The page geogebra.org/exam is in html5 full screen mode.
Using the same URL without SEB everthing is working.
Using Mac 10.9 or Mac 10.11 everthing is working.

img_4134

iOS: settings view remains open when exam is started

Steps to reproduce:

  1. Open the un-configured SEB iOS app

schermafbeelding 2018-05-09 om 10 26 54

2. Open "Edit Settings" under the "Administrators: Set up your exam" section.

schermafbeelding 2018-05-09 om 14 08 40

3. Close the SEB app. 4. Start an exam via a SEB config URL. The SEB app will start the exam correctly, but the Settings view is still on top. I expect the settings view to close when I open the app with a SEB config URL.

This behaviour has been reproduced multiple times on iOS 10.3.3 (iPad 4 gen, SEB latest public release) and iOS 11.3 (simulated iPad Air 2, SEB build based on f62f098).

dictionary lookups

Hi,
I'm currently testing with Mac OS Sierra (10.12.4) and it seems with both SEB 2.1 and 2.1.2 for mac, the "Allow spell checking" and "Allow dictionary look up" options do not work.

I'd be happy to help test a fix. Great product BTW.

Thanks,
Angus

CSS rotate and width do not render correctly in SEB on macOS

OS: macOS 10.10.5, Windows 10
SEB Version: 2.1.3 Mac, 2.1.4(pre2) Mac, 2.2 Windows

When using the CSS property width, setting a parent div to width of 100% and having two child divs set to a width of 50% causes the macOS version of SEB to not correctly render. I have had this occurrence in SEB version 2.1.3 and 2.1.4(pre2) on macOS. I have tested it under Firefox 62, Chrome 69, and Safari 10 on macOS and it is rendering correctly. It's also been tested on SEB version 2.2 on Windows which functioned normally.

rotate does not render. This was also tested on all the platforms listed above and only occurred on the macOS versions of SEB.

Here is a screenshot of a test done in Safari 10 on macOS.

screen shot 2018-09-14 at 3 13 07 pm

And here is the same page in SEB version 2.1.4(pre2).
sorry for the low-quality picture of a screen

img_3822

<!doctype html>
<html>
<head>
  <title>CSS Width and Rotate Test</title>
  <meta charset="utf-8"/>
  <style>
    .matchable-area, .parent-div {
      display: flex;
      width: 100%;
      margin-bottom: 5px;
    }
    .cell-option, .cell-slot {
      display: flex;
      width: 50%;
      position: relative;
      vertical-align: top;
      padding: 10px 16px;
      border: 2px solid black;
    }

    .test-rotate {
      transform: rotate(45deg);  
      position: absolute;
      margin-top: 10px;
      padding: 5px;
      border: 5px solid black;
    }
  </style>
</head>
<body>
  <h1>Testing CSS <code>width</code> and <code>rotate</code></h1>
  <h2>Testing <code>width</code></h2>
    <div class='parent-div'>
      <span class='cell-option'>width: 50%</span>
      <span class='cell-slot'>width: 50%</span>
    </div>
  <h2>Testing <code>rotate</code></h2>
  <div class="test-rotate">rotate</div>
</body>
</html>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.