Skip to content
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

pyasn1.error.SubstrateUnderrunError: 37-octet short #6

Open
egberts opened this issue May 29, 2017 · 2 comments
Open

pyasn1.error.SubstrateUnderrunError: 37-octet short #6

egberts opened this issue May 29, 2017 · 2 comments

Comments

@egberts
Copy link

egberts commented May 29, 2017

I get this error with client.py with Python 2.7.13 on CentOS6.9 visiting https://nt.com/OCSP

 $ ./client.py 
Traceback (most recent call last):
  File "./client.py", line 119, in <module>
    response = decode(response, OCSPResponse())
  File "./client.py", line 106, in decode
    ocspResponse = decoder.decode(data, asn1Spec=spec)
  File "/opt/rh/python27/root/usr/lib/python2.7/site-packages/pyasn1/codec/ber/decoder.py", line 784, in __call__
    '%d-octet short' % (length - len(substrate))
pyasn1.error.SubstrateUnderrunError: 37-octet short
@TayC710
Copy link

TayC710 commented Apr 18, 2022

Do you work out this issue?

@egberts
Copy link
Author

egberts commented Apr 19, 2022

No. I have since moved on given that my platform is Python3+ and bleeding edge.

The pressure to not pursue this by the inclusion of very old legacy stuff was too great.

Was a bit stymied by the lack of a simple demonstrator or code example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants