mirror of
https://github.com/thiagoralves/OpenPLC_v3.git
synced 2025-12-06 17:25:10 +08:00
- Replace cryptography library with subprocess calls to openssl CLI - Use RSA 4096-bit keys for stronger security (vs previous 2048-bit) - Use SHA256 signature algorithm - Set certificate validity to 36500 days (~100 years, effectively never expires) - Maintain same CertGen class interface for backward compatibility - Remove cryptography dependency from requirements.txt The OpenSSL-based approach is more universally available across platforms and doesn't require additional Python dependencies. The certificate is self-signed and can be used for SSH-like validation of embedded PLC devices. Co-Authored-By: Thiago Alves <thiagoralves@gmail.com>
5 lines
62 B
Plaintext
5 lines
62 B
Plaintext
Flask==1.0.2
|
|
Flask-Login==0.4.1
|
|
pyserial==3.4
|
|
pymodbus==2.2.0
|