Skip to content

Commit

Permalink
Merge pull request #567 from meshtastic/repeated
Browse files Browse the repository at this point in the history
Make admin_key repeated max count 1, for future expansion
  • Loading branch information
thebentern authored Aug 26, 2024
2 parents 52cfa2c + 17043d6 commit 431291e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions meshtastic/config.options
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion meshtastic/config.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 431291e

Please sign in to comment.