-
-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DER: error while encoding OCTET STRING more than 255 bytes long #5
Comments
It clearly states that all codecs are under development. It is close to impossible to have a list of all limitations as there are so many. I'll implement this tonight if it's easy, which it likely is. |
Thank you in advance. |
There is a fix in commit 535f0f0, which is released to PyPI in version 0.23.0. I'm sure you will find other missing features, and likely a bug or two. Just post any issues here and I'll fix them. |
Thank you so much, I've already tried and it worked. |
When I try to encode an OCTET STRING more than 255 bytes long, I get an exception in codecs/der.py:
490: encoded.append(len(data))
because the implementation seems not to support multibyte length fields. The same must happen with other array types.
Please, mention this limitation in the lib description.
The text was updated successfully, but these errors were encountered: