void-packages/srcpkgs/python3-fido2/patches/system-psl.patch

12 lines
323 B
Diff
Raw Normal View History

2023-12-09 12:12:54 +01:00
--- a/fido2/rpid.py
+++ b/fido2/rpid.py
@@ -41,7 +41,7 @@ import os
from urllib.parse import urlparse
-tld_fname = os.path.join(os.path.dirname(__file__), "public_suffix_list.dat")
+tld_fname = '/usr/share/publicsuffix/public_suffix_list.dat'
with open(tld_fname, "rb") as f:
suffixes = [
entry