support for 4096 bits certificates

This commit is contained in:
root 2019-11-04 15:08:29 +01:00
parent d411f7219d
commit fa332f1d3c
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_CA_CERT | - | - | - | - | - | - | - |
| USE_MQTT_AWS_IOT | - | - | - | - | - | - | - |
| USE_4K_RSA | - | - | - | - | - | - | - |
| USE_KNX | - | - | - | x | - | - | - |
| USE_WEBSERVER | x | x | x | x | x | x | x |
| USE_JAVASCRIPT_ES6 | - | - | - | - | - | - | - |

View File

@ -20,8 +20,12 @@
#endif
#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
#endif
#endif
#ifndef BR_MAX_EC_SIZE
#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)
// 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
// #define USE_4K_RSA // Support 4096 bits certificates, instead of 2048
// -- KNX IP Protocol -----------------------------
//#define USE_KNX // Enable KNX IP Protocol Support (+9.4k code, +3k7 mem)