Implement secubox-master-link (backend) and luci-app-master-link (LuCI frontend) for secure node onboarding into the SecuBox mesh via HMAC-SHA256 join tokens, blockchain-backed peer trust, and gigogne (nested) hierarchy with depth limiting. Backend provides: token management, join/approve/reject protocol, IPK bundle serving, CGI API endpoints, and a dark-themed landing page for new nodes. Frontend provides a 3-tab LuCI view (overview, join requests, mesh tree) with RPCD integration. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
26 lines
496 B
JSON
26 lines
496 B
JSON
{
|
|
"luci-app-master-link": {
|
|
"description": "Grant access to SecuBox Master-Link mesh management",
|
|
"read": {
|
|
"file": {
|
|
"/etc/config/master-link": ["read"],
|
|
"/var/lib/secubox-master-link/requests/*": ["read"]
|
|
},
|
|
"ubus": {
|
|
"file": ["read", "stat"],
|
|
"luci.master-link": ["*"]
|
|
},
|
|
"uci": ["master-link"]
|
|
},
|
|
"write": {
|
|
"file": {
|
|
"/etc/config/master-link": ["write"]
|
|
},
|
|
"ubus": {
|
|
"luci.master-link": ["*"]
|
|
},
|
|
"uci": ["master-link"]
|
|
}
|
|
}
|
|
}
|