Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
9284a056 by wurstsalat at 2026-01-20T23:22:38+01:00
fix: FileTransferManager: Catch errors when trying to get aesgcm URL fragment
- - - - -
1 changed file:
- gajim/common/file_transfer_manager.py
Changes:
=====================================
gajim/common/file_transfer_manager.py
=====================================
@@ -111,7 +111,11 @@ def http_request(
decryption_data = None
if urlparts.scheme == "aesgcm":
- decryption_data = get_aes_key_data(urlparts.fragment)
+ try:
+ decryption_data = get_aes_key_data(urlparts.fragment)
+ except ValueError as error:
+ log.exception(error)
+
# Don’t send fragment to the server, it would leak the AES key
urlparts = urlparts._replace(scheme="https", fragment="")
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/9284a056f6c96548449c109f60b172d651c7f761
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/9284a056f6c96548449c109f60b172d651c7f761
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]