Merge pull request #567 from meshtastic/repeated

Make admin_key repeated max count 1, for future expansion
pull/533/merge
Ben Meadors 2024-08-26 07:45:43 -05:00 zatwierdzone przez GitHub
commit 431291e673
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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