mirror of
https://github.com/meshtastic/Meshtastic-Apple.git
synced 2026-04-20 22:13:56 +00:00
Remove the keys again
This commit is contained in:
parent
3934bdcbc6
commit
a94fd470e5
2 changed files with 6 additions and 18 deletions
|
|
@ -15389,9 +15389,6 @@
|
|||
},
|
||||
"Never" : {
|
||||
|
||||
},
|
||||
"New Key%@" : {
|
||||
|
||||
},
|
||||
"Newer firmware is available" : {
|
||||
|
||||
|
|
@ -16759,9 +16756,6 @@
|
|||
},
|
||||
"Public Key Mismatch" : {
|
||||
|
||||
},
|
||||
"Public Key%@" : {
|
||||
|
||||
},
|
||||
"PWD" : {
|
||||
|
||||
|
|
@ -21128,6 +21122,9 @@
|
|||
},
|
||||
"The minimum distance change in meters to be considered for a smart position broadcast." : {
|
||||
|
||||
},
|
||||
"The most recent public key for this node does not match the previously recorded key. You can delete the node and let it exchange keys again, but this also may indicate a more serious security problem. Contact the user through another trusted channel to determine if the key change was due to a factory reset or other intentional action." : {
|
||||
|
||||
},
|
||||
"The public key authorized to send admin messages to this node." : {
|
||||
|
||||
|
|
|
|||
|
|
@ -51,18 +51,9 @@ struct NodeDetail: View {
|
|||
Text("Public Key Mismatch")
|
||||
.font(.title3)
|
||||
.foregroundStyle(.red)
|
||||
Text("The public key does not match the recorded key. You may delete the node and let it exchange keys again, but this may indicate a more serious security problem. Contact the user through another trusted channel, to determine if the key change was due to a factory reset or other intentional action.")
|
||||
.font(.caption)
|
||||
.foregroundStyle(.red)
|
||||
Text("Public Key\(user.publicKey?.base64EncodedString() ?? "Empty Key")")
|
||||
.font(.caption2)
|
||||
.monospaced()
|
||||
.allowsTightening(/*@START_MENU_TOKEN@*/true/*@END_MENU_TOKEN@*/)
|
||||
Text("New Key\(user.newPublicKey?.base64EncodedString() ?? "Empty Key")")
|
||||
.font(.caption2)
|
||||
.monospaced()
|
||||
.allowsTightening(/*@START_MENU_TOKEN@*/true/*@END_MENU_TOKEN@*/)
|
||||
|
||||
Text("The most recent public key for this node does not match the previously recorded key. You can delete the node and let it exchange keys again, but this also may indicate a more serious security problem. Contact the user through another trusted channel to determine if the key change was due to a factory reset or other intentional action.")
|
||||
.foregroundStyle(.secondary)
|
||||
.font(.callout)
|
||||
}
|
||||
} icon: {
|
||||
Image(systemName: "key.slash.fill")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue