pyce
pyce copied to clipboard
Encrypted Python Execution
The hard dependency on cryptography 2.3.1 is a serious problem. I can install pyce successfully by ignoring dependencies. the requirement on < 3.7 seems overly cautious. Or does python regularly...
I have a module that requires the ' __ file __ ' variable for loading a bunch of files. When I run my program without any encryption this works flawlessly....
### Why `pip3/pip install pyce` doesn't work on Debian: ``` root@milani:~/Desktop# pip install pyce ERROR: Could not find a version that satisfies the requirement pyce (from versions: none) ERROR: No...
Bumps [cryptography](https://github.com/pyca/cryptography) from 2.3.1 to 3.2. Changelog Sourced from cryptography's changelog. 3.2 - 2020-10-25 * **SECURITY ISSUE:** Attempted to make RSA PKCS#1v1.5 decryption more constant time, to protect against Bleichenbacher...
ie you can simply ``` #!/usr/bin/python3 from pyce._crypto import decryptf with open('output.pyc', 'wb') as output: output.write(decryptf('./__init__.pyce', '3e8a6f52eb5b41e0883c594dc026c70aa04258790ca71259d9d1c1bf47cfc0aa')) ``` Then use ` uncompyle6 output.pyc` to get full source.. if you have...
…directory under Windows. (Full path is required in key). This could be required if for example, the application is frozen with a tool such as pyInstaller, and that executable is...
Hi guys, A customer is sometimes (rarely) getting the error `ImportError: bad magic number` , just wondering if anyone else has experienced this... and come up with a solution?
encrypt_path returns a tuple of file location and key whereas the PYCEPathFinder.KEYS accepts a dictionary. ``` >>> encrypt_path('.') [('./hello.pyce', '69b9f28ba960bb3a83abef44950c99baf427f671bc33cd112cf87e22259ab835'), ('./mod.pyce', 'b6bea595bea6b95098d9b9a4f98e17cb399c99d3cdd99daeab5078757ec65f3c')] ``` ``` PYCEPathFinder.KEYS = {'hello.pyce':'69b9f28ba960bb3a83abef44950c99baf427f671bc33cd112cf87e22259ab835','mod.pyce':'b6bea595bea6b95098d9b9a4f98e17cb399c99d3cdd99daeab5078757ec65f3c'} ```
Goals: - Clean `sdist` with only library files (no need for test / demo files) - Re-organize file layout into `src` folder and `test` or `demo` folder Thanks to @pradyunsg...
Hi, thank you for releasing your work as open source! I noticed that the dictionary key used to lookup the encryption key for a source file changes depending on which...