### Description TO DO for PKI This is the bare minimum work needed for PKI See: https://github.com/meshtastic/Meshtastic-Apple/issues/869 # Security Configuration - [x] Create new "Security" tab under "Config" - @KomelT - [x] Add PKI key input - @KomelT - [x] PKI key validation - [x] Load Security settings from device - [x] Save Security settings to device - [x] BONUS: Add PKI key generator (see #266) - [x] Confirmation dialog when generating new Private Keys - [x] Ability to show/hide PKI keys with "eye" icon - @KomelT - [x] Move "Serial Output Enabled" toggle from Device tab to new Security tab - [x] Move "Enabled Debug Log" toggle from Device tab to new Security tab - [x] Add "Allow Bluetooth logging" toggle - [x] Add "Allow Legacy Admin" toggle (don't use PKI) - [x] Add "Admin key" input for managed nodes (use PKI) - [x] Disable "Admin key" input when "Allow Legacy Admin" is toggled on - [x] Move "Managed" toggle from Device to new Security tab - [x] Require either "Allow Legacy Admin" or "Admin key" when enabling "Managed" toggle # Nodes List - [x] Display green lock for nodes with a public key - [ ] Display red lock with slash for nodes with public keys that do not match their recent messages (*How do we track this persistently?*) - [x] Display yellow open lock for existing DM messages sent before PKI - [ ] Allow user to forget node, allowing it to rejoin with new key (*is this the same as deleting a node?*) # Messages - [x] Display a Green Lock when a DM is using PKI - [x] Display a Yellow Open Lock when a DM is not using PKI - [ ] Display a lock when message sent with PKI - [ ] Display a lock on the message when message received with PKI - [ ] Display message when others in conversation change their key - [ ] Display an error when a message is sent with the incorrect public key
Description
TO DO for PKI
This is the bare minimum work needed for PKI
See: meshtastic/Meshtastic-Apple#869
Security Configuration
Nodes List
Messages