Revamp the simple password flag and rPi fixes (#1056)
MY_SIGNING_SIMPLE_PASSWD is now called MY_SECURITY_SIMPLE_PASSWD. MY_SIGNING_SIMPLE_PASSWD only affects signing, and a new flag, MY_ENCRYPTION_SIMPLE_PASSWD only affects encryption. MY_SECURITY_SIMPLE_PASSWD enable both these flags. The rPi port has been improved to support more security settings and it is now also possible to enable encryption for RFM69 transport. Documentation has been improved to provide a "Security" section under "Library customisation" which has a table that summarize all security related configuration flags, and the corresponding rPi configuration flags. The signing personalization documentation has been updated to include the procedure for rPi. Fixes #1055
This commit is contained in:
+11
-2
@@ -177,6 +177,16 @@
|
||||
* personalization has finished, you just program the sketch you plan to use (with the appropriate
|
||||
* signing flags set).
|
||||
*
|
||||
* If you are using a Raspberry PI-based gateway, personalizaion is done slightly differently:
|
||||
* 1. Generate keys, execute @c mysgw with arguments
|
||||
* * To generate HMAC key @verbatim --gen-soft-hmac-key @endverbatim
|
||||
* * To generate %AES key @verbatim --gen-aes-key @endverbatim
|
||||
* * To generate a soft serial number @verbatim --gen-soft-serial @endverbatim
|
||||
* 2. Store keys/values to the gateway, execute @c mysgw with arguments
|
||||
* * To store HMAC key @verbatim --set-soft-hmac-key=<DATA> @endverbatim
|
||||
* * To store %AES key @verbatim --set-aes-key=<DATA> @endverbatim
|
||||
* * To store soft serial number @verbatim --set-soft-serial-key=<DATA> @endverbatim
|
||||
*
|
||||
* You are now set and ready to use message signing in your network.
|
||||
* As of now, the following restrictions will be applied to your nodes:
|
||||
* * If a node does require signing, any unsigned message sent to the node will be rejected.
|
||||
@@ -393,8 +403,7 @@
|
||||
* is to set your preferences in your sketch and personalize accordingly.
|
||||
* That is enough to enable protection from both Eve and Mallory in your network
|
||||
* although if you do not also enable encryption, Eve can eavesdrop, but not do anything about,
|
||||
* your messages (except possibly preventing them from arriving). @ref MY_SIGNING_SIMPLE_PASSWD also
|
||||
* enable encryption automatically.
|
||||
* your messages (except possibly preventing them from arriving).
|
||||
*
|
||||
* How are the messages actually affected by the signing?<br>
|
||||
* The following illustration shows what part of the message is signed, and where the signature is
|
||||
|
||||
Reference in New Issue
Block a user