We should release the GIL around long-running tasks such as RSA key gen
Bug #896526 reported by
Phil Mayers
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyOpenSSL |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
As reported on the mailing list, pyopenssl blocks the entire Python interpreter when calling RSA_generate_key in crypto/
The code should release the GIL for these C calls, and for any other likely long-lived operates where it isn't already - the SSL code seems to already have this implemented.
Related branches
lp:~songofacandy/pyopenssl/allow_thread_while_keygen
- Jean-Paul Calderone: Pending requested
-
Diff: 36 lines (+15/-5)1 file modifiedOpenSSL/crypto/pkey.c (+15/-5)
Changed in pyopenssl: | |
status: | New → Confirmed |
Changed in pyopenssl: | |
status: | Confirmed → Fix Committed |
To post a comment you must log in.