-- Leo's gemini proxy
-- Connecting to git.thebackupbox.net:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
repo: gemcall action: commit revision: path_from: revision_from: bed10163a9763e4b68add112ef33807000d9fed1: path_to: revision_to:
commit bed10163a9763e4b68add112ef33807000d9fed1 Author: Anna “CyberTailor” <cyber@sysrq.in> Date: Fri Jul 29 08:57:30 2022 +0500 Fixed regression with recent PyCryptodome Seems like they changed API. diff --git a/gemcall/gemcall.py b/gemcall/gemcall.py
--- a/gemcall/gemcall.py +++ b/gemcall/gemcall.py @@ -16,7 +16,7 @@ class Response(): except ValueError: certobj: ECC.EccKey = ECC.import_key(cert) # "\n" is added for API compatibility - pubkey: str = certobj.public_key().export_key(format="PEM") + "\n" + pubkey: str = certobj.public_key().export_key(format="PEM").decode() + "\n" self.serverpubkey: bytes = pubkey.encode() self._filehandle = self._socket.makefile(mode = "rb") diff --git a/setup.cfg b/setup.cfg
--- a/setup.cfg +++ b/setup.cfg @@ -1,7 +1,7 @@ [metadata] name = gemcall -version = 0.9 -description = A library and CLI tool for making gemini requests. +version = 0.9.1 +description = A library and CLI tool for making gemini requests long_description = file: README.md long_description_content_type = text/markdown home_page = https://notabug.org/tinyrabbit/gemcall
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 15:05:09 2024