Merge pull request #6838 from ahoiahoi/4k_rsa_certificates

support for 4096 bits certificates
This commit is contained in:
Theo Arends 2019-11-04 21:46:56 +01:00 committed by GitHub
commit ba5ae717dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 0 deletions

View File

@ -125,6 +125,7 @@ The following binary downloads have been compiled with ESP8266/Arduino library c
| USE_MQTT_TLS | - | - | - | - | - | - | - | | USE_MQTT_TLS | - | - | - | - | - | - | - |
| USE_MQTT_TLS_CA_CERT | - | - | - | - | - | - | - | | USE_MQTT_TLS_CA_CERT | - | - | - | - | - | - | - |
| USE_MQTT_AWS_IOT | - | - | - | - | - | - | - | | USE_MQTT_AWS_IOT | - | - | - | - | - | - | - |
| USE_4K_RSA | - | - | - | - | - | - | - |
| USE_KNX | - | - | - | x | - | - | - | | USE_KNX | - | - | - | x | - | - | - |
| USE_WEBSERVER | x | x | x | x | x | x | x | | USE_WEBSERVER | x | x | x | x | x | x | x |
| USE_JAVASCRIPT_ES6 | - | - | - | - | - | - | - | | USE_JAVASCRIPT_ES6 | - | - | - | - | - | - | - |

View File

@ -20,8 +20,12 @@
#endif #endif
#ifndef BR_MAX_RSA_SIZE #ifndef BR_MAX_RSA_SIZE
#ifdef USE_4K_RSA
#define BR_MAX_RSA_SIZE 4096 // max 4096 bits RSA keys
#else
#define BR_MAX_RSA_SIZE 2048 // max 2048 bits RSA keys #define BR_MAX_RSA_SIZE 2048 // max 2048 bits RSA keys
#endif #endif
#endif
#ifndef BR_MAX_EC_SIZE #ifndef BR_MAX_EC_SIZE
#define BR_MAX_EC_SIZE 256 // max 256 bits EC keys #define BR_MAX_EC_SIZE 256 // max 256 bits EC keys

View File

@ -284,6 +284,7 @@
// #define USE_MQTT_AWS_IOT // Enable MQTT for AWS IoT - requires a private key (+11.9k code, +0.4k mem) // #define USE_MQTT_AWS_IOT // Enable MQTT for AWS IoT - requires a private key (+11.9k code, +0.4k mem)
// Note: you need to generate a private key + certificate per device and update 'tasmota/tasmota_aws_iot.cpp' // Note: you need to generate a private key + certificate per device and update 'tasmota/tasmota_aws_iot.cpp'
// Full documentation here: https://github.com/arendst/Tasmota/wiki/AWS-IoT // Full documentation here: https://github.com/arendst/Tasmota/wiki/AWS-IoT
// #define USE_4K_RSA // Support 4096 bits certificates, instead of 2048
// -- KNX IP Protocol ----------------------------- // -- KNX IP Protocol -----------------------------
//#define USE_KNX // Enable KNX IP Protocol Support (+9.4k code, +3k7 mem) //#define USE_KNX // Enable KNX IP Protocol Support (+9.4k code, +3k7 mem)