Open GoogleCodeExporter opened 8 years ago
[deleted comment]
When "RequestHandler.OnBeforeResourceLoad" is implemented, I can use Python's
ZipFile.read() to get the bytes of the requested file. That should produce a
usable stream. If not the results would need to be converted to a compatible
stream.
Original comment by rich...@gmail.com
on 30 Nov 2012 at 3:57
Here's an example of zip file extraction. Not a stream as will be needed for
the callback, but a start.
It only works with ZipCrypto encryption and not AES-256. I have not yet
figured out how to encrypt(save) with a password.
Original comment by rich...@gmail.com
on 1 Dec 2012 at 3:50
Attachments:
We already have a ready code in c++, so don't bother unless you can do the same
in Python (AES encryption, decryption with password).
AES c++ library, very small only 2 files, easy to implement:
http://www.lomont.org/Software/Misc/AES/AES.php
An example code of how to use it can be found in WBEA, see also CEF forum link,
code snippets are over there.
Original comment by czarek.t...@gmail.com
on 1 Dec 2012 at 3:56
With Cython we can use C++ libraries easily, so that's not a big problem, but
of course if you could do the same in Python then that would be great, as with
c++ we have to compile a static library for each of the operating systems
(currently only windows, but linux and mac are coming).
Original comment by czarek.t...@gmail.com
on 1 Dec 2012 at 3:58
There are other libs in Python for encryption, and the built-in module ZLIB
should be able to handle AES. I'll look further into it and report back.
Original comment by rich...@gmail.com
on 3 Dec 2012 at 5:03
[deleted comment]
[deleted comment]
[deleted comment]
[deleted comment]
In CEF 3 the ResourceHandler API can be used instead of CefSchemeHandler.
Original comment by czarek.t...@gmail.com
on 19 Jan 2015 at 6:20
Project will move to Github. Find this issue at the new address (soon):
https://github.com/cztomczak/cefpython/issues/17
Original comment by czarek.t...@gmail.com
on 24 Aug 2015 at 6:25
Original issue reported on code.google.com by
czarek.t...@gmail.com
on 27 Sep 2012 at 7:53