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

12 lines
323 B
Diff

--- 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