{"base_revision":"git-v1:76df41d928bd7286a241ccba558561a2142f3c69","content":"diff --git a/db.txt b/db.txt\nindex 7aff3fb..e2842db 100644\n--- a/db.txt\n+++ b/db.txt\n@@ -326,20 +326,11 @@ country BM: DFS-FCC\n \t(5490 - 5730 @ 160), (24), DFS\n \t(5735 - 5835 @ 80), (30)\n \n-# Source:\n-# https://aiti.gov.bn/media/planjc1p/bd-radio-spectrum-plan-2019.pdf\n-# Section 7.5, Page 244-251\n-country BN: DFS-FCC\n-\t(2400 - 2483.5 @ 40), (200 mW)\n-\t(5150 - 5250 @ 80), (1000 mW), AUTO-BW\n-\t(5250 - 5350 @ 80), (500 mW), DFS, AUTO-BW\n-\t# This range ends at 5725 MHz, but channel 144 extends to 5730 MHz.\n-\t# Since 5725 ~ 5730 MHz belongs to the next range which has looser\n-\t# requirements, we can extend the range by 5 MHz to make the kernel\n-\t# happy and be able to use channel 144.\n-\t(5470 - 5730 @ 160), (500 mW), DFS\n-\t(5730 - 5850 @ 80), (4000 mW)\n-\t(57000 - 66000 @ 2160), (10000 mW), NO-OUTDOOR\n+country BN: DFS-JP\n+\t(2402 - 2482 @ 40), (20)\n+\t(5170 - 5250 @ 80), (20), AUTO-BW\n+\t(5250 - 5330 @ 80), (20), DFS, AUTO-BW\n+\t(5735 - 5835 @ 80), (20)\n \n country BO: DFS-JP\n \t(2402 - 2482 @ 40), (20)\n@@ -740,13 +731,6 @@ country FM: DFS-FCC\n \t(5490 - 5730 @ 160), (24), DFS\n \t(5735 - 5835 @ 80), (30)\n \n-country FO: DFS-ETSI\n-\t(2400 - 2483.5 @ 40), (100 mW)\n-\t(5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW\n-\t(5250 - 5350 @ 80), (100 mW), DFS, NO-OUTDOOR, AUTO-BW\n-\t(5470 - 5725 @ 160), (500 mW), DFS\n-\t(5945 - 6425 @ 320), (23), NO-OUTDOOR\n-\n # FR as part of EU/CEPT accepted decisions 2005/513/EC (5GHz RLAN, EN 301 893)\n # and 2006/771/EC (amended by 2008/432/EC, Short-Range Devices, EN 300 440)\n #  EU decision 2005/513/EC: https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:02005D0513-20070213\n@@ -817,13 +801,6 @@ country GH: DFS-FCC\n \t(5490 - 5730 @ 160), (24), DFS\n \t(5735 - 5835 @ 80), (30)\n \n-country GI: DFS-ETSI\n-\t(2400 - 2483.5 @ 40), (100 mW)\n-\t(5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW\n-\t(5250 - 5350 @ 80), (100 mW), DFS, NO-OUTDOOR, AUTO-BW\n-\t(5470 - 5725 @ 160), (500 mW), DFS\n-\t(5945 - 6425 @ 320), (23), NO-OUTDOOR\n-\n country GL: DFS-ETSI\n \t(2402 - 2482 @ 40), (20)\n \t(5170 - 5250 @ 80), (20), AUTO-BW, wmmrule=ETSI\n@@ -892,7 +869,7 @@ country HK: DFS-ETSI\n \t(5250 - 5350 @ 80), (23), DFS, AUTO-BW, NO-OUTDOOR\n \t(5470 - 5730 @ 160), (27), DFS\n \t(5730 - 5850 @ 80), (36)\n-\t(5945 - 6425 @ 320), (24), NO-OUTDOOR\n+\t(5925 - 6425 @ 160), (14)\n \n # Source:\n # https://www.conatel.gob.hn/doc/Regulacion/resoluciones/2023/NR05-23.pdf\n@@ -999,13 +976,6 @@ country IL: DFS-ETSI\n \t(5725 - 5875 @ 80), (25 mW), AUTO-BW\n \t(5945 - 6425 @ 320), (200 mW), NO-OUTDOOR\n \n-country IM: DFS-ETSI\n-\t(2400 - 2483.5 @ 40), (100 mW)\n-\t(5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW\n-\t(5250 - 5350 @ 80), (100 mW), DFS, NO-OUTDOOR, AUTO-BW\n-\t(5470 - 5725 @ 160), (500 mW), DFS\n-\t(5945 - 6425 @ 320), (23), NO-OUTDOOR\n-\n # Source:\n # https://dot.gov.in/spectrummanagement/delicensing-24-24835-ghz-band-gsr-45-e-5150-5350-ghz-gsr-46-e-and-5725-5875-ghz\n # https://dot.gov.in/spectrummanagement/license-exemption-5-ghz-gsr-1048e-dated-22102018\n@@ -1015,7 +985,6 @@ country IN:\n \t(5250 - 5350 @ 80), (24), DFS\n \t(5470 - 5725 @ 160), (24), DFS\n \t(5725 - 5875 @ 80), (30)\n-\t(5925 - 6425 @ 320), (24), NO-OUTDOOR\n \n # Source:\n # https://asnad.cra.ir/fa/Public/Documents/Details/73af8590-f065-eb11-968f-0050569b0899\n@@ -1144,9 +1113,8 @@ country KR: DFS-JP\n \t(5250 - 5350 @ 80), (20), DFS, AUTO-BW\n \t(5470 - 5725 @ 160), (20), DFS\n \t(5725 - 5850 @ 80), (23)\n-\t# 6 GHz band - per MSIT Notice 2026-10\n-\t(5925 - 6425 @ 320), (18), NO-OUTDOOR, AUTO-BW\n-\t(6425 - 7125 @ 320), (15), NO-OUTDOOR, AUTO-BW\n+\t# 6 GHz band\n+\t(5925 - 7125 @ 160), (15), NO-OUTDOOR\n \t# 60 GHz band channels 1-4\n \t(57000 - 66000 @ 2160), (43)\n \n@@ -1221,15 +1189,12 @@ country LI: DFS-ETSI\n \t# 60 GHz band channels 1-4 (ETSI EN 302 567)\n \t(57000 - 66000 @ 2160), (40)\n \n-# Source:\n-# https://www.trc.gov.lk/content/files/licensing/RTTE_GAZETTE-English.pdf\n-# Sri Lanka RTTE Type Approval Rules 2020, Table 2 - Applicable Standards- Wireless\n-country LK: DFS-ETSI\n-\t(2400 - 2483.5 @ 40), (200 mW)\n-\t(5150 - 5250 @ 80), (200 mW), AUTO-BW\n-\t(5250 - 5350 @ 80), (20), DFS, AUTO-BW\n-\t(5470 - 5725 @ 160), (27), DFS, AUTO-BW\n-\t(5725 - 5875 @ 80), (24), DFS, AUTO-BW\n+country LK: DFS-FCC\n+\t(2402 - 2482 @ 40), (20)\n+\t(5170 - 5250 @ 20), (17)\n+\t(5250 - 5330 @ 20), (24), DFS\n+\t(5490 - 5730 @ 20), (24), DFS\n+\t(5735 - 5835 @ 20), (30)\n \n # Source:\n # http://lca.org.ls/images/documents/lesotho_national_frequency_allocation_plan.pdf\n@@ -1784,8 +1749,8 @@ country RS: DFS-ETSI\n country RU:\n \t(2400 - 2483.5 @ 40), (100mW)\n \t(5150 - 5350 @ 160), (100 mW), NO-OUTDOOR\n-\t(5650 - 5850 @ 160), (200 mW), NO-OUTDOOR\n-\t(5925 - 6425 @ 320), (200 mW), NO-OUTDOOR\n+\t(5650 - 5850 @ 160), (100 mW), NO-OUTDOOR\n+\t(5925 - 6425 @ 160), (100 mW), NO-OUTDOOR\n \t# 60 GHz band channels 1-4, ref: Changes to NLA 124_Order №129_22042015.pdf\n \t(57000 - 66000 @ 2160), (40), NO-OUTDOOR\n \n@@ -1889,13 +1854,6 @@ country SK: DFS-ETSI\n \t# 60 GHz band channels 1-4 (ETSI EN 302 567)\n \t(57000 - 66000 @ 2160), (40)\n \n-country SM: DFS-ETSI\n-\t(2400 - 2483.5 @ 40), (100 mW)\n-\t(5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW\n-\t(5250 - 5350 @ 80), (100 mW), DFS, NO-OUTDOOR, AUTO-BW\n-\t(5470 - 5725 @ 160), (500 mW), DFS\n-\t(5945 - 6425 @ 320), (23), NO-OUTDOOR\n-\n # Source:\n # Regulation N° 2004-005 ART/DG/DRC/D.Rég\n country SN: DFS-FCC\n@@ -1962,7 +1920,7 @@ country TG: DFS-ETSI\n \t(5150 - 5350 @ 80), (20), DFS\n \t(5470 - 5850 @ 160), (27), DFS\n \t(5925 - 6425 @ 320), (23), DFS, NO-OUTDOOR\n-\t(57000 - 66000 @ 2160), (40)\n+\t(57000 - 66000 @2160), (40), DFS\n \n # Source:\n # https://ratchakitcha.soc.go.th/documents/140D100S0000000004000.pdf\n@@ -2057,7 +2015,7 @@ country UA: DFS-ETSI\n \t(5725 - 5850 @ 80), (100 mW), NO-OUTDOOR\n \t(5945 - 6425 @ 320), (23), NO-OUTDOOR\n \t# 60 GHz band channels 1-4, ref: Etsi En 302 567\n-\t(57000 - 66000 @ 2160), (40), NO-OUTDOOR\n+\t(57000 - 66000 @ 2160), (40 mW), NO-OUTDOOR\n \n country UG: DFS-FCC\n \t(2402 - 2482 @ 40), (20)\n@@ -2113,13 +2071,6 @@ country UZ: DFS-ETSI\n \t(5170 - 5250 @ 80), (20), AUTO-BW\n \t(5250 - 5330 @ 80), (20), DFS, AUTO-BW\n \n-country VA: DFS-ETSI\n-\t(2400 - 2483.5 @ 40), (100 mW)\n-\t(5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW\n-\t(5250 - 5350 @ 80), (100 mW), DFS, NO-OUTDOOR, AUTO-BW\n-\t(5470 - 5725 @ 160), (500 mW), DFS\n-\t(5945 - 6425 @ 320), (23), NO-OUTDOOR\n-\n # Source:\n # http://www.ntrc.vc/regulations/Jun_2006_Spectrum_Managment_Regulations.pdf\n country VC: DFS-ETSI\n@@ -2189,12 +2140,11 @@ country YT: DFS-ETSI\n \n # Source: https://www.gov.za/sites/default/files/gcis_document/202305/48643gon1822.pdf\n country ZA: DFS-ETSI\n-\t(2400 - 2483.5 @ 40), (100 mW)\n-\t(5150 - 5250 @ 80), (23), NO-OUTDOOR, AUTO-BW\n-\t(5250 - 5350 @ 80), (20), NO-OUTDOOR, DFS, AUTO-BW\n-\t(5470 - 5725 @ 160), (27), DFS\n-\t(5725 - 5875 @ 80), (25 mW)\n-\t(5925 - 6425 @ 320), (23), NO-OUTDOOR\n+\t(2402 - 2482 @ 40), (20)\n+\t(5170 - 5250 @ 80), (20), AUTO-BW\n+\t(5250 - 5330 @ 80), (20), DFS, AUTO-BW\n+\t(5490 - 5710 @ 160), (30)\n+\t(5925 - 6425 @ 320), (14)\n \n country ZW: DFS-ETSI\n \t(2402 - 2482 @ 40), (20)\ndiff --git a/db2bin.py b/db2bin.py\nindex fd59b91..29ae313 100755\n--- a/db2bin.py\n+++ b/db2bin.py\n@@ -2,6 +2,7 @@\n \n from io import BytesIO, open\n import struct\n+import hashlib\n from dbparse import DBParser\n import sys\n \n@@ -124,18 +125,19 @@ if len(sys.argv) > 3:\n     # Load RSA only now so people can use this script\n     # without having those libraries installed to verify\n     # their SQL changes\n-    from cryptography.hazmat.primitives import hashes, serialization\n-    from cryptography.hazmat.primitives.asymmetric import padding\n+    from M2Crypto import RSA\n \n     # determine signature length\n-    with open(sys.argv[3], 'rb') as key_file:\n-        key = serialization.load_pem_private_key(key_file.read(),\n-                                                 password=None)\n-    sig = key.sign(output.getvalue(), padding.PKCS1v15(), hashes.SHA1())\n+    key = RSA.load_key(sys.argv[3])\n+    hash = hashlib.sha1()\n+    hash.update(output.getvalue())\n+    sig = key.sign(hash.digest())\n     # write it to file\n     siglen.set(len(sig))\n     # sign again\n-    sig = key.sign(output.getvalue(), padding.PKCS1v15(), hashes.SHA1())\n+    hash = hashlib.sha1()\n+    hash.update(output.getvalue())\n+    sig = key.sign(hash.digest())\n \n     output.write(sig)\n else:\ndiff --git a/debian/changelog b/debian/changelog\nindex 31c3985..2844ea3 100644\n--- a/debian/changelog\n+++ b/debian/changelog\n@@ -1,36 +1,3 @@\n-wireless-regdb (2026.09.03-1) unstable; urgency=medium\n-\n-  * New upstream version:\n-    - Remove DFS flag from 60 GHz band for Togo (TG)\n-    - Update 2.4 and 5 GHz rules for South Africa (ZA)\n-    - allow 320MHz channel width for Hong Kong (HK)\n-  * Reapply \"Run scripts with Python 3\" and remove B-D: python-is-python3\n-\n- -- Ben Hutchings <benh@debian.org>  Sun, 20 Sep 2026 13:28:48 +0200\n-\n-wireless-regdb (2026.05.30-1) unstable; urgency=medium\n-\n-  * New upstream version:\n-    - Add regulatory info for CEPT countries FO, GI, IM, SM and VA listed by\n-      WiFi Alliance\n-    - Update 6 GHz rules for Hong Kong (HK)\n-    - Update 5/6 GHz power rules for Russia (RU)\n-    - Fix 60 GHz power unit for Ukraine (UA)\n-    - Update 6 GHz rules for South Africa (ZA)\n-    - Update 6 GHz rules for South Korea (KR)\n-    - allow 320MHz channel width for Russia\n-    - Update regulatory info for Brunei Darussalam (BN) for 2022\n-    - Update regulatory rules for Sri Lanka (LK)\n-\n- -- Ben Hutchings <benh@debian.org>  Fri, 05 Jun 2026 17:45:04 +0200\n-\n-wireless-regdb (2026.03.18-1) unstable; urgency=medium\n-\n-  * New upstream version:\n-    - Update regulatory rules for India (IN) on 6GHz\n-\n- -- Ben Hutchings <benh@debian.org>  Thu, 07 May 2026 11:43:19 +0200\n-\n wireless-regdb (2026.02.04-1) unstable; urgency=medium\n \n   [ Ben Hutchings ]\ndiff --git a/debian/control b/debian/control\nindex eeb931e..9ec2c69 100644\n--- a/debian/control\n+++ b/debian/control\n@@ -6,6 +6,7 @@ Uploaders: Ben Hutchings <benh@debian.org>, Romain Perier <romain.perier@gmail.c\n Build-Depends: debhelper-compat (= 12),\n  openssl,\n  python3,\n+ python-is-python3,\n  quilt\n Rules-Requires-Root: no\n Standards-Version: 4.5.0\ndiff --git a/debian/patches/run-scripts-with-python-3.patch b/debian/patches/run-scripts-with-python-3.patch\ndeleted file mode 100644\nindex b35dfb4..0000000\n--- a/debian/patches/run-scripts-with-python-3.patch\n+++ /dev/null\n@@ -1,46 +0,0 @@\n-From: Ben Hutchings <ben@decadent.org.uk>\n-Date: Wed, 29 Jan 2020 13:31:51 +0000\n-Subject: Run scripts with Python 3\n-Bug-Debian: https://bugs.debian.org/938829\n-\n-All the Python scripts here are meant to be Python 3 compatible, but\n-they still use \"/usr/bin/env python\" as their interpreter.  Since\n-Debian is deprecating Python 2 but not (yet) changing \"python\" to\n-Python 3, change the shebang lines.\n-\n----\n- db2bin.py  | 2 +-\n- db2fw.py   | 2 +-\n- dbparse.py | 2 +-\n- 3 files changed, 3 insertions(+), 3 deletions(-)\n-\n-diff --git a/db2bin.py b/db2bin.py\n-index d1b7fc6..3e781ca 100755\n---- a/db2bin.py\n-+++ b/db2bin.py\n-@@ -1,4 +1,4 @@\n--#!/usr/bin/env python\n-+#!/usr/bin/python3\n- \n- from io import BytesIO, open\n- import struct\n-diff --git a/db2fw.py b/db2fw.py\n-index 3affd5a..84bfb1c 100755\n---- a/db2fw.py\n-+++ b/db2fw.py\n-@@ -1,4 +1,4 @@\n--#!/usr/bin/env python\n-+#!/usr/bin/python3\n- \n- from io import BytesIO, open\n- import struct\n-diff --git a/dbparse.py b/dbparse.py\n-index 5f7e082..dfd15fd 100755\n---- a/dbparse.py\n-+++ b/dbparse.py\n-@@ -1,4 +1,4 @@\n--#!/usr/bin/env python\n-+#!/usr/bin/python3\n- \n- from functools import total_ordering\n- import sys, math\ndiff --git a/debian/patches/series b/debian/patches/series\nindex 224db78..a997e0b 100644\n--- a/debian/patches/series\n+++ b/debian/patches/series\n@@ -1,2 +1 @@\n dont_auto_create_keypair\n-run-scripts-with-python-3.patch\ndiff --git a/debian/regulatory.db.p7s b/debian/regulatory.db.p7s\nindex a8936da..c09b486 100644\nBinary files a/debian/regulatory.db.p7s and b/debian/regulatory.db.p7s differ\ndiff --git a/regulatory.bin b/regulatory.bin\nindex 325ac79..db61c62 100644\nBinary files a/regulatory.bin and b/regulatory.bin differ\ndiff --git a/regulatory.db b/regulatory.db\nindex f71bb5e..dacc3da 100644\nBinary files a/regulatory.db and b/regulatory.db differ\ndiff --git a/regulatory.db.p7s b/regulatory.db.p7s\nindex 7406497..9feefc4 100644\nBinary files a/regulatory.db.p7s and b/regulatory.db.p7s differ\ndiff --git a/sha1sum.txt b/sha1sum.txt\nindex d3bba2c..4f6e9ac 100644\n--- a/sha1sum.txt\n+++ b/sha1sum.txt\n@@ -1 +1 @@\n-fc937a14c290604212303e2f4caad3796e70e414  db.txt\n+4f54def43afee78f38e7e36888972ae1a46b04de  db.txt\n","content_type":"text/plain","diff_type":"vcs","new_revision":"git-v1:549a05b952be00d0efe808d7e92fd7885452b5cf"}