This commit is contained in:
Max Goedjen 2024-01-04 17:51:01 -08:00
parent 57beef89f7
commit 0e1411731d
No known key found for this signature in database
2 changed files with 44 additions and 16 deletions

View File

@ -252,9 +252,6 @@
},
"Key" : {
"extractionState" : "manual"
},
"MD5 Fingerprint" : {
},
"New Secret" : {
@ -291,12 +288,6 @@
}
}
}
},
"Public Key" : {
},
"Public Key Path" : {
},
"Release Notes" : {
@ -306,6 +297,46 @@
},
"Secret Agent Is Not Running" : {
},
"secret_detail_md5_fingerprint_label" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "MD5 Fingerprint"
}
}
}
},
"secret_detail_public_key_label" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Public Key"
}
}
}
},
"secret_detail_public_key_path_label" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Public Key Path"
}
}
}
},
"secret_detail_sha256_fingerprint_label" : {
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "SHA256 Fingerprint"
}
}
}
},
"Secretive" : {
@ -470,9 +501,6 @@
}
}
}
},
"SHA256 Fingerprint" : {
},
"Title" : {

View File

@ -12,16 +12,16 @@ struct SecretDetailView<SecretType: Secret>: View {
ScrollView {
Form {
Section {
CopyableView(title: "SHA256 Fingerprint", image: Image(systemName: "touchid"), text: keyWriter.openSSHSHA256Fingerprint(secret: secret))
CopyableView(title: "secret_detail_sha256_fingerprint_label", image: Image(systemName: "touchid"), text: keyWriter.openSSHSHA256Fingerprint(secret: secret))
Spacer()
.frame(height: 20)
CopyableView(title: "MD5 Fingerprint", image: Image(systemName: "touchid"), text: keyWriter.openSSHMD5Fingerprint(secret: secret))
CopyableView(title: "secret_detail_md5_fingerprint_label", image: Image(systemName: "touchid"), text: keyWriter.openSSHMD5Fingerprint(secret: secret))
Spacer()
.frame(height: 20)
CopyableView(title: "Public Key", image: Image(systemName: "key"), text: keyString)
CopyableView(title: "secret_detail_public_key_label", image: Image(systemName: "key"), text: keyString)
Spacer()
.frame(height: 20)
CopyableView(title: "Public Key Path", image: Image(systemName: "lock.doc"), text: publicKeyFileStoreController.publicKeyPath(for: secret))
CopyableView(title: "secret_detail_public_key_path_label", image: Image(systemName: "lock.doc"), text: publicKeyFileStoreController.publicKeyPath(for: secret))
Spacer()
}
}