MySensors Library & Examples  2.3.1-23-g7d907d1
Modules | Macros
+ Collaboration diagram for Security:

Detailed Description

These options control security related configurations.

Overview over all security related settings and how/where to apply them:

Setting Description Arduino Raspberry PI configure argument
MY_SECURITY_SIMPLE_PASSWD Enables security (signing and encryption) without the need for personalization "#define" in the top of your sketch Not supported (use the other two "simple" options)
MY_SIGNING_SIMPLE_PASSWD Enables signing without the need for personalization "#define" in the top of your sketch
--my-signing=password --my-security-password=<PASSWORD> 
MY_ENCRYPTION_SIMPLE_PASSWD Enables encryption without the need for personalization "#define" in the top of your sketch
--my-security-password=<PASSWORD> 
and encryption enabled on the chosen transport
MY_DEBUG_VERBOSE_SIGNING Enables verbose signing debugging "#define" in the top of your sketch
--my-signing-debug 
MY_SIGNING_ATSHA204 Enables support to sign messages backed by ATSHA204A hardware "#define" in the top of your sketch Not supported
MY_SIGNING_SOFT Enables support to sign messages backed by software "#define" in the top of your sketch
--my-signing=software 
MY_SIGNING_REQUEST_SIGNATURES Enables node/gw to require signed messages "#define" in the top of your sketch
--my-signing-request-signatures 
MY_SIGNING_WEAK_SECURITY Weakens signing security, useful for testing before deploying signing "globally" "#define" in the top of your sketch
--my-signing-weak_security 
MY_VERIFICATION_TIMEOUT_MS Change default signing timeout "#define" in the top of your sketch
--my-signing-verification-timeout-ms=<TIMEOUT> 
MY_SIGNING_NODE_WHITELISTING Defines a whitelist of trusted nodes "#define" in the top of your sketch
--my-signing-whitelist="<WHITELIST>" 
MY_SIGNING_ATSHA204_PIN Change default ATSHA204A communication pin "#define" in the top of your sketch Not supported
MY_SIGNING_SOFT_RANDOMSEED_PIN Change default software RNG seed pin "#define" in the top of your sketch Not supported
MY_RF24_ENABLE_ENCRYPTION Enables encryption on RF24 radios "#define" in the top of your sketch
--my-rf24-encryption-enabled 
MY_RFM69_ENABLE_ENCRYPTION Enables encryption on RFM69 radios "#define" in the top of your sketch
--my-rfm69-encryption-enabled 
MY_RFM95_ENABLE_ENCRYPTION Enables encryption on RFM95 radios "#define" in the top of your sketch
--my-rfm95-encryption-enabled 
MY_NRF5_ESB_ENABLE_ENCRYPTION Enables encryption on nRF5 radios "#define" in the top of your sketch Not supported
MY_NODE_LOCK_FEATURE Enables the node locking feature "#define" in the top of your sketch Not supported
MY_NODE_UNLOCK_PIN Change default unlock pin "#define" in the top of your sketch Not supported
MY_NODE_LOCK_COUNTER_MAX Change default "malicious activity" counter max value "#define" in the top of your sketch Not supported

Modules

 Signing
 These options control signing related configurations.
 
 Encryption
 These options control encryption related configurations.
 
 Node locking
 These options control node lock related configurations.
 

Macros

#define MY_SECURITY_SIMPLE_PASSWD
 Enables SW backed signing functionality and encryption functionality in library and uses provided password as key. More...
 

Macro Definition Documentation

#define MY_SECURITY_SIMPLE_PASSWD

Enables SW backed signing functionality and encryption functionality in library and uses provided password as key.

Example:

1 #define MY_SECURITY_SIMPLE_PASSWD "MyInsecurePassword"

For details on the effects, see the references.

See also
MY_SIGNING_SIMPLE_PASSWD, MY_ENCRYPTION_SIMPLE_PASSWD