Commit Graph

6 Commits

Author SHA1 Message Date
Brian Gix
afe196816a mesh: Automate AppKey update on KR phase 2-->3-->0
Designed so that if an unexpcted abort() occurs, the bound NetKey remains
in state 2 or 3.  If successful, the NetKey is set to Phase 0, and all
bound AppKeys are in their correct state.
2019-09-10 09:32:40 -07:00
Michał Lowas-Rzechonek
79bf51dbb5 mesh: Check address range passed to ImportRemoteNode
+changed "not authorized" error to "invalid args" when managing device
key for local address range
2019-07-19 12:25:53 -07:00
Inga Stotland
2881bc1433 mesh: Create or re-use a node storage directory for keyring
This adds APIs to set a directory for storing node's key ring info.
The directory is named MESH_STORAGE_DIR/<node uuid>. This directory
may contain additional node info plus node configuration, if node
configuration storage follows the same layout (as it does when
JSON based config file format is used).
2019-07-15 14:48:04 -07:00
Inga Stotland
6df5c5e379 mesh: Remove unnecessary includes from .c files 2019-05-17 13:14:40 -07:00
Brian Gix
8b179cbd1d mesh: Fix file open error checking and permissions 2019-05-15 09:36:42 -07:00
Brian Gix
3545edb6a4 mesh: Add key storage
This implements internal key storage add/delete/fetch for the three
basic key types managed in Mesh: Network, Application and Device.

This key storage is separate from keys assigned to nodes within the
mesh, and are used to support Configuration Client functionality.
2019-05-13 12:12:20 -07:00