Make admin_key repeated max count 1, for future expansion

This commit is contained in:
Jonathan Bennett 2024-08-25 21:55:51 -05:00
parent 52cfa2c1c2
commit 17043d6f3a
2 changed files with 2 additions and 1 deletions

View file

@ -19,3 +19,4 @@
*SecurityConfig.public_key max_size:32
*SecurityConfig.private_key max_size:32
*SecurityConfig.admin_key max_size:32
*SecurityConfig.admin_key max_count:1

View file

@ -1026,7 +1026,7 @@ message Config {
/*
* The public key authorized to send admin messages to this node.
*/
bytes admin_key = 3;
repeated bytes admin_key = 3;
/*
* If true, device is considered to be "managed" by a mesh administrator via admin messages