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

2.0.0 server_rsa.py quit with error #155

Open
bigorc opened this issue Jun 6, 2019 · 1 comment
Open

2.0.0 server_rsa.py quit with error #155

bigorc opened this issue Jun 6, 2019 · 1 comment

Comments

@bigorc
Copy link

bigorc commented Jun 6, 2019

Traceback (most recent call last):
File "server_rsa.py", line 71, in
main()
File "server_rsa.py", line 59, in main
TLSFinished(data=client_socket.tls_ctx.get_verify_data())]))
File "/usr/local/lib/python2.7/dist-packages/scapy_ssl_tls/ssl_tls_crypto.py", line 643, in get_verify_data
num_bytes=12)
File "/usr/local/lib/python2.7/dist-packages/scapy_ssl_tls/ssl_tls_crypto.py", line 732, in get_bytes
bytes_ = self._get_bytes(self.digest, key, label, random, num_bytes)
File "/usr/local/lib/python2.7/dist-packages/scapy_ssl_tls/ssl_tls_crypto.py", line 751, in _get_bytes
block = HMAC.new(key=key, msg="%s%s" % (label, random), digestmod=digest).digest()
File "/usr/local/lib/python2.7/dist-packages/Cryptodome/Hash/HMAC.py", line 213, in new
return HMAC(key, msg, digestmod)
File "/usr/local/lib/python2.7/dist-packages/Cryptodome/Hash/HMAC.py", line 71, in init
if len(key) <= digestmod.block_size:
TypeError: object of type 'NoneType' has no len()

@Seumi
Copy link

Seumi commented Jul 9, 2019

i have the same problem, have you solved this problem yet

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

2 participants