2020-04-29 15:18:23,356 DEBUG kube_hunter.core.events.handler expected bytes-like object, not str
Traceback (most recent call last):
File "/usr/lib/python3.6/base64.py", line 510, in _input_type_check
m = memoryview(s)
TypeError: memoryview: a bytes-like object is required, not 'str'
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/mac/kube-hunter/kube_hunter/core/events/handler.py", line 137, in worker
hook.execute()
File "/mac/kube-hunter/kube_hunter/modules/hunting/certificates.py", line 43, in execute
certdata = base64.decodebytes(c)
File "/usr/lib/python3.6/base64.py", line 545, in decodebytes
_input_type_check(s)
File "/usr/lib/python3.6/base64.py", line 513, in _input_type_check
raise TypeError(msg) from err
TypeError: expected bytes-like object, not str
I suspect this got broken in moving to python3