This is an automated email from the git hooks/post-receive script.
tom pushed a commit to branch master in repository depictor.
The following commit(s) were added to refs/heads/master by this push: new 4567fb3 Switch from pycrypto to cryptodome 4567fb3 is described below
commit 4567fb3f821d427c1ca5d3b8b61918ff45464705 Author: Tom Ritter tom@ritter.vg AuthorDate: Wed Jun 22 11:47:53 2022 -0400
Switch from pycrypto to cryptodome --- website.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/website.py b/website.py index dd9198e..879e7cf 100755 --- a/website.py +++ b/website.py @@ -14,7 +14,7 @@ import datetime import subprocess
from base64 import b64decode -from Crypto.PublicKey import RSA +from Cryptodome.PublicKey import RSA
import stem.version import stem.descriptor.remote @@ -759,7 +759,7 @@ class WebsiteWriter: key = key.replace("\n", "") keyDER = b64decode(key) keyPub = RSA.importKey(keyDER) - return str(keyPub.size() + 1) + return str(keyPub.size_in_bits())
def _write_authority_keys(self): """
tor-commits@lists.torproject.org