mushorg / conpot

ICS/SCADA honeypot
GNU General Public License v2.0
1.21k stars 409 forks source link

removed usage of pycrypto and using cryptography instead #582

Closed CelticLite closed 11 months ago

CelticLite commented 1 year ago

Changed crypto library used. Followed the guide here: https://cryptography.io/en/latest/hazmat/primitives/symmetric-encryption.html

glaslos commented 1 year ago

Thank you for the PR! How did you verify this change works as expected?

CelticLite commented 1 year ago

I checked a few basic ways:

  1. checked syntax by running the fakesession.py file standalone
  2. used 'make' to build from the makefile
  3. used 'docker build' to build from the dockerfile
  4. used 'docker run' to run the newly built image
  5. used 'docker compose up' to build the image and setup the network

I looked in the docs, and did not see any testing guidelines, but if they exist, I'd be happy to test further.