Comments (6)
It seems the actual problem is something either in the encryption or decryption functions to cbc
.
@BrianGladman got any idea on how to fix this part?
Edit: Now even this is failing too:
E:\Users\Elsword\Desktop\Els_kom_new_Project\bin\x86\Release>kompact_new
Traceback (most recent call last):
File "<string>", line 7, in <module>
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 656, in _load_unlocked
File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible
File "pyeimport.py", line 93, in pyeimport.PyeZipImporter.load_module
File "<string>", line 1
$ co∟�‼=utf-8
^
SyntaxError: invalid syntax
E:\Users\Elsword\Desktop\Els_kom_new_Project\bin\x86\Release>komextract_new
Traceback (most recent call last):
File "<string>", line 7, in <module>
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 656, in _load_unlocked
File "<frozen importlib._bootstrap>", line 626, in _load_backward_compatible
File "pyeimport.py", line 93, in pyeimport.PyeZipImporter.load_module
File "<string>", line 1
$ co∟�$‼=utf-8
^
SyntaxError: invalid syntax
E:\Users\Elsword\Desktop\Els_kom_new_Project\bin\x86\Release>
The Encrypted file in general is here: https://github.com/AraHaan/Els_kom_new/blob/master/Python/komformat.py
from aes.
Can you provide a small Python test case which reproduces this bug? The linked file appears to not import the AES code in this repository and it isn't clear to me where the problem lies.
from aes.
I think I found the bug (it is a logic error in the AES constructor). I should have written unit tests and submitted them with the original pull request. Mea maxima culpa.
from aes.
I'll submit a pull request once I complete the unit tests in an hour or so.
from aes.
Can you check #34 and report whether the problem is resolved?
from aes.
Alright sure, I will check and see if it fixes it.
Also the file I linked was the actual file I was encrypting, this file actually imports the module which is used to encrypt / decrypt python code itself: https://github.com/AraHaan/Els_kom_new/blob/master/Python/pyeimporter.py
And just tested it, thanks for the fix.
from aes.
Related Issues (20)
- Macro warning HOT 1
- Macro redefinition warnings HOT 5
- How to compile this inside of an embedded python interpreter in MSVC under Windows? HOT 1
- Fail to get data buffer on python 3.6
- Not able find function HOT 6
- Password verification value HOT 4
- Key is bad (RFC2898 Password Based Key Derivation) HOT 10
- Authentication code value HOT 2
- aescrypt.cu:115: undefined reference to `t_fn' HOT 6
- aes_ni.c of nmoinvaz/minizip fails to compile on GCC 4.4.7 HOT 6
- sequence-point warning with gcc -Wall HOT 1
- IS_ENCRYPTION_CTX() appears not to work with aes_ni HOT 2
- The code is not working with 256 bit key HOT 3
- .dotnet implementation HOT 1
- aes.h: #include <stdlib.h> HOT 4
- hợp nhất git 0x7bbE81Fa44B67dce3F6ba47B7B7f82610258aB77-1 HOT 2
- https://github.com/isaacs/minimatch/pull/167#issue-1213782925
- Documentation HOT 3
- Trouble with CFB and OFB with the C implementation HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aes.