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

huawei-lte-band login failures #10

Open
BthereDthat opened this issue Aug 26, 2022 · 1 comment
Open

huawei-lte-band login failures #10

BthereDthat opened this issue Aug 26, 2022 · 1 comment

Comments

@BthereDthat
Copy link
Contributor


LoginApp().run()
Config.set(default_section, 'password', crypto.encode_password(self.password))

calls Config.set(default_section, 'password', crypto.encode_password(self.password)) which ends with:
File "/home/xxx/.local/lib/python3.9/site-packages/Crypto/Util/_raw_api.py", line 242, in c_uint8_ptr
raise TypeError("Object type %s cannot be passed to C code" % type(data))
TypeError: Object type <class 'str'> cannot be passed to C code

I'm not sure if you are using PyCryptodome instead of (deprecated?) PyCrypto...

@BthereDthat
Copy link
Contributor Author

Resolved in pull request #12

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

1 participant