mirror of
https://github.com/brentvollebregt/auto-py-to-exe.git
synced 2026-04-26 04:05:49 +03:00
[GH-ISSUE #97] [Question] - Crypto usage #92
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @vankk on GitHub (May 17, 2020).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/97
Hello, I was trying to use the crypto key and I came across with this thread on stackoverflow, also tried to use
pip install pycryptoand didn't worked as well. Seems that the package has some issues, there is any plan to update this feature or just I may doing some wrong?!😛Edit: nvm, just saw that the pyinstaller still requires the pycrypto and didn't updated yet.
Regards,
vankk.
@brentvollebregt commented on GitHub (May 18, 2020):
If you want to use the
--keyargument from PyInstaller, I definitely recommend usingpycryptodomeinstead ofPyCryptoas it is safer. It has almost the same API as PyCrypto so it should work.You can install
pycryptodomeusing:@vankk commented on GitHub (May 19, 2020):
Could you post an usage sample? Did a few searchs the past days and everytime that I open the the .exe returns an
Failed to execute script pyiboot01_bootstrap.@brentvollebregt commented on GitHub (May 20, 2020):
Outlined in "Encrypting Python Bytecode" are some details on how to encrypt your executable contents.
I had been told that
pycryptodomeworks withpyinstallerbut when trying it myself, it appears that may not be the case. I get an error saying:zlib.error: Error -3 while decompressing data: incorrect header check.I have noticed in PyInstallers GitHub issues that the maintainer has mentioned that
--keyis no longer available. I did a search for--keyin PyInstallers GitHub issues and found this PR but unfortunately it hasn't been merged yet - looks promising though.@vankk commented on GitHub (May 25, 2020):
Thanks my friend, that helped alot.
@brentvollebregt commented on GitHub (May 25, 2020):
Sweet. Since this is more related to PyInstaller than this tool, I'll close the issue. If you do find an issue with this, feel free to open a new issue.