diff options
author | Sybren A. Stüvel <sybren@stuvel.eu> | 2022-03-13 11:53:03 +0100 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2022-03-13 12:02:15 +0100 |
commit | 6391b1a03682c3493ea69c5a9698277ba9d53a9c (patch) | |
tree | e5057c5e29bfa6a93b42ffb4704bcc9a7633362e /rsa | |
parent | b1679ecf5a88578dbaca1c39ad499b7f39948125 (diff) | |
download | rsa-git-6391b1a03682c3493ea69c5a9698277ba9d53a9c.tar.gz |
Fix #194: Remove debug logging from `rsa/key.py`
Diffstat (limited to 'rsa')
-rw-r--r-- | rsa/key.py | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -31,7 +31,6 @@ of pyasn1. """ -import logging import threading import typing import warnings @@ -43,7 +42,6 @@ import rsa.randnum import rsa.core -log = logging.getLogger(__name__) DEFAULT_EXPONENT = 65537 @@ -669,9 +667,7 @@ def find_p_q( qbits = nbits - shift # Choose the two initial primes - log.debug("find_p_q(%i): Finding p", nbits) p = getprime_func(pbits) - log.debug("find_p_q(%i): Finding q", nbits) q = getprime_func(qbits) def is_acceptable(p: int, q: int) -> bool: |