Replies: 7 comments 2 replies
-
See: https://www.safeexambrowser.org/developer/overview.html |
Beta Was this translation helpful? Give feedback.
-
I have a proof of concept that's maturing; I should have code to point you to in a few weeks of generating and customizing .SEB files from a NodeJS/Express framework. The libraries do all of the heavy lifting for you, so it's just plugging things in. I'm using |
Beta Was this translation helpful? Give feedback.
-
@danschlet I have seen that, And cant use RNCRyptor because of the linux libraries that are dependent of them. @trombonekenny
And the Data Format, do i need to encrypt every key seperately? I didn't really understand. |
Beta Was this translation helpful? Give feedback.
-
For password encryption, here's what my code is doing. I think most of things you're stuck on are just handled by // compress the config
var SEBinner= zlib.gzipSync(plist.build(SEBconfig));
// Encrypt with password
var SEBencrypted = jscryptor.Encrypt(SEBinner, 'reallysecretpassWord');
// Add the header
var SEBheader = Buffer.from('pswd', 'utf8');
// Compress it all up again
var SEBfile = Buffer.concat([SEBheader, Buffer.from(SEBencrypted, 'base64')]);
return res.send(zlib.gzipSync(SEBfile)); |
Beta Was this translation helpful? Give feedback.
-
@trombonekenny Thanks alot! |
Beta Was this translation helpful? Give feedback.
-
I'm not sure I understand your question. You encrypt the whole config that's been gzipped. Then you add a small text header at the front and gzip it again. |
Beta Was this translation helpful? Give feedback.
-
@trombonekenny Thank you so much man, that helped me ALOT! |
Beta Was this translation helpful? Give feedback.
-
Hello,
My firm has started using SEB, and it looking for a way to create the .seb files our selves, and since we are using a Node.JS Backend, I am looking for a way to use that to create the .seb configurations.
As I understood, the unencrypted version of the file is XML, so i would be able to recreate that file in no problem, But i dont really understand the encryptions on the way.
Is there anything out there that can set an example of what i should do?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions