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
SIGSEGV Error #609
Comments
Could you investigate which line causes the SEGFAULT please? If you use toy Certs/Keys, it would be nice if you could share mesh101.crt with us too. |
Hello, i get this error in the "sign" method sign = crypto.sign(privatekey, bkObject,'sha256') here ist my mesh101.cert
i have created this cert with easyrsa3 (https://github.com/OpenVPN/easy-rsa/blob/master/README.quickstart.md) Best Regards plexa16 |
Could this be related to #259? |
Same issue here, seems to only occur with ECDSA keys. I've attached a backtrace if it helps anyone.
Thanks. |
This fixes a potential heap buffer overflow that may happen when a signature is longer than the private key, as with X9.62 ECDSA (pyca#609).
* Write a test - signatures with EC keys (#609) * Ask for signature length before allocating a buffer. This fixes a potential heap buffer overflow that may happen when a signature is longer than the private key, as with X9.62 ECDSA (#609). * change approach to EVP_PKEY_size and add changelog * add a small assert
Fixed in 17.2.0 :) |
I’m trying to run the following program, but I get a
Process finished with exit code 139 (interrupted by signal 11: SIGSEGV) error in my code
Fatal Python error: Segmentation fault
Current thread 0x00007f85f041d700 (most recent call first):
Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
Why am I getting this error?
Im Using pyOpenSSL 16.2.0
on Ubuntu 16.04 LTS
with Python 3.5.2
greets
Plexa16
The text was updated successfully, but these errors were encountered: