aquasecurity / kube-hunter

Hunt for security weaknesses in Kubernetes clusters
Apache License 2.0
4.71k stars 581 forks source link

Fix CertificateDiscovery hunter for Python3 #350

Closed lizrice closed 4 years ago

lizrice commented 4 years ago

Description

Python3 is more picky about bytes vs strings than Python2, and this was causing errors in the CertificateDiscovery hunter

Fixed Issues

Fixes #349

"BEFORE" and "AFTER" output

See #349 for debug logs that this fix resolves

Contribution checklist