Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error on script execution #9

Open
CaelynInc opened this issue Jul 14, 2018 · 6 comments
Open

Getting error on script execution #9

CaelynInc opened this issue Jul 14, 2018 · 6 comments

Comments

@CaelynInc
Copy link

Unfortunately, it appears that the script throws an error when using it. I notice that it has been mentioned before, in issue #7 , but I have freshly downloaded everything, and ran it on an entirely updated kali. The error shown is:

make: Entering directory '/root/wifi-txpower-unlocker-master/crda-3.18'
GEN keys-gcrypt.c
Trusted pubkeys: pubkeys/root.key.pub.pem pubkeys/root.x509.pem pubkeys/sforshee.x509.pem pubkeys/sforshee.key.pub.pem pubkeys/[email protected] pubkeys/linville.key.pub.pem
Traceback (most recent call last):
File "./utils/key2pub.py", line 149, in
key = RSA.load_key(f)
File "/usr/lib/python2.7/dist-packages/M2Crypto/RSA.py", line 376, in load_key
return load_key_bio(bio, callback)
File "/usr/lib/python2.7/dist-packages/M2Crypto/RSA.py", line 395, in load_key_bio
rsa_error()
File "/usr/lib/python2.7/dist-packages/M2Crypto/RSA.py", line 330, in rsa_error
raise RSAError(m2.err_reason_error_string(m2.err_get_error()))
M2Crypto.RSA.RSAError: no start line
Makefile:113: recipe for target 'keys-gcrypt.c' failed
make: *** [keys-gcrypt.c] Error 1
make: Leaving directory '/root/wifi-txpower-unlocker-master/crda-3.18'

I understand it looks like a duplicate issue, however the error comes up AFTER it was marked solved with reference to issue #8

@Lexus89
Copy link

Lexus89 commented Sep 27, 2018

Having this issue as well

@nassertom
Copy link

i have this problem on ubuntu 18.10

@jeremydbean
Copy link

Same.

@AlejandroFNadal
Copy link

Same thing happening here. I even checked the "-L" that was said to be the solution. I have had the same issue while trying to install crda.

@siddyyagno3
Copy link

Same issue is coming -L is already added in script
@mzpqnxow
@hiruna

@hiruna
Copy link
Owner

hiruna commented Apr 18, 2019

Hi everyone,

First of all, apologies for the delay in having a proper look at this execution error mentioned in this issue as well as issues #7 and #5 .

I've been really busy with work and other commitments and today I finally had sometime to have a look at this issue. The M2Crypto.RSA.RSAError: no start line issue seems to be related to the x509 pem file that is generated during the wireless-regdb. Checking the pem file with openssl seemed to throw an error. After multiple attempts of trying to figure out how I can fix the file, I found out that it was not needed [correct me if I'm wrong] in the crda during compilation. (see code).

I have created a new and improved script wifi_txpower_unlocker.sh, please clone the branch update_19042019.

I would like you all to test out the new script and let me know down below if it successfully executes and provides the functionality as intended, then I will create a PR and merge it into master. I have tested it on my Dell XPS 15 running Ubuntu 18.04.

Tagging everyone who seemed to +1 for this issue:
@siddyyagno3
@AnastaciusWright
@jeremydbean
@nassertom
@Lexus89
@CaelynInc
@abdelbassetsf
@evilsocket
@Jinovas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants