Package Details: wireless-regdb-pentest 2018.10.24-1

Git Clone URL: https://aur.archlinux.org/wireless-regdb-pentest.git (read-only)
Package Base: wireless-regdb-pentest
Description: Central Regulatory Domain Database with txpower/channels modified for pentesters. please respect the law in your country
Upstream URL: http://wireless.kernel.org/en/developers/Regulatory
Licenses: custom
Conflicts: crda, wireless-regdb
Provides: crda, wireless-regdb
Submitter: muhviehstarr
Maintainer: muhviehstarr
Last Packager: muhviehstarr
Votes: 5
Popularity: 0.423000
First Submitted: 2017-04-16 13:17
Last Updated: 2018-11-07 11:33

Required by (89)

Sources (7)

Latest Comments

1 2 Next › Last »

muhviehstarr commented on 2018-11-07 11:40

i have updated the versions and fixed the regulatory.bin usage

please ignore PKCS#7 signature not signed with a trusted key iw reg is using regulatory.bin and not the db :)

modded doms are now 00,GB,CN

[22949.616660] cfg80211: Loading compiled-in X.509 certificates for regulatory database

[22949.616849] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [22949.617226] PKCS#7 signature not signed with a trusted key [22949.617231] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid

$ iw reg get global country 00: DFS-UNSET (2402 - 2494 @ 40), (N/A, 30), (N/A) (5170 - 5835 @ 80), (N/A, 30), (N/A) (57000 - 66000 @ 2160), (N/A, 40), (N/A)

$ iw reg get global country GB: DFS-ETSI (2402 - 2494 @ 40), (N/A, 30), (N/A) (5170 - 5835 @ 80), (N/A, 30), (N/A) (57000 - 66000 @ 2160), (N/A, 40), (N/A)

$ iwconfig wlp0s20u3 IEEE 802.11 ESSID:off/any Mode:Managed Access Point: Not-Associated Tx-Power=30 dBm Retry short long limit:2 RTS thr:off Fragment thr:off Power Management:off

francoism90 commented on 2018-10-29 15:55

@muhviehstarr Is this bad?

[  190.577693] PKCS#7 signature not signed with a trusted key
[  190.577697] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid

Thanks.

francoism90 commented on 2018-10-11 16:17

Thanks for the update(s)! :)

muhviehstarr commented on 2018-10-07 19:45

also added copy of all pubkeys

muhviehstarr commented on 2018-10-07 19:24

python2-m2crypto is needed for crda python-attrs added

francoism90 commented on 2018-10-05 13:29

@muhviehstarr

ModuleNotFoundError: No module named 'attr'
make: *** [Makefile:60: regulatory.bin] Error 1
==> ERROR: A failure occurred in package().
    Aborting...

Missing python-attrs, and don't think you need the python2 part. :)

muhviehstarr commented on 2018-10-05 09:24

Please try again now

also updated the pkg to latest version

francoism90 commented on 2018-10-05 08:44

Also these two lines seems to be missing in PKGBUILD:

install -D -m644 "${srcdir}"/${pkgname}-${pkgver}/regulatory.db "${pkgdir}"/usr/lib/firmware/regulatory.db
 install -D -m644 "${srcdir}"/${pkgname}-${pkgver}/regulatory.db.p7s "${pkgdir}"/usr/lib/firmware/regulatory.db.p7s

Resulting in cfg80211: failed to load regulatory.db

francoism90 commented on 2018-10-05 08:33

==> Starting package()...
Generating private key for root...
openssl genrsa -out ~/.wireless-regdb-root.key.priv.pem 2048
Generating RSA private key, 2048 bit long modulus (2 primes)
..........................................................................................+++++
......................................................................................+++++
e is 65537 (0x010001)
Generating public key for root...
openssl rsa -in ~/.wireless-regdb-root.key.priv.pem -out root.key.pub.pem -pubout -outform PEM
writing RSA key
Generating certificate for root...
./gen-pubcert.sh ~/.wireless-regdb-root.key.priv.pem root.x509.pem
Generating regulatory.bin digitally signed by root...
./db2bin.py regulatory.bin db.txt ~/.wireless-regdb-root.key.priv.pem
Traceback (most recent call last):
  File "./db2bin.py", line 6, in <module>
    from dbparse import DBParser
  File "/tmp/makepkg/wireless-regdb-pentest/src/wireless-regdb-2018.05.31/dbparse.py", line 3, in <module>
    from builtins import bytes
ImportError: No module named builtins
make: *** [Makefile:60: regulatory.bin] Error 1
==> ERROR: A failure occurred in package().
    Aborting...
2018-10-05 10:31:05,378 - wrappers - makepkg - ERROR - makepkg query ['makepkg', '-cf', '--noconfirm'] failed in directory /home/archie/.cache/aurman/wireless-regdb-pentest
~~ the following packages are now orphans
:: community/python2-m2crypto

Thanks @DigitalPioneer for the needed libs to get it working. :)

DigitalPioneer commented on 2018-06-26 04:42

Missing build deps: python2-attrs python2-future