Merge pull request #567 from meshtastic/repeated

Make admin_key repeated max count 1, for future expansion
This commit is contained in:
Ben Meadors 2024-08-26 07:45:43 -05:00 committed by GitHub
commit 431291e673
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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