mirror of
https://github.com/maxgoedjen/secretive.git
synced 2026-05-07 16:08:58 +02:00
Expand parsing + bug fixes for cert UI (#802)
* Expand parsing and display of cert types, some additional cleanup * Tweak cert
This commit is contained in:
@@ -30,7 +30,7 @@ public struct CertificateMigrator {
|
||||
let data = try Data(contentsOf: url)
|
||||
let parser = try await XPCCertificateParser()
|
||||
let cert = try await parser.parse(data: data)
|
||||
try certificateStore.save(certificate: cert, originalData: data)
|
||||
try certificateStore.save(certificate: Certificate(openSSHCertificate: cert, rawData: data))
|
||||
do {
|
||||
try FileManager.default.removeItem(at: url)
|
||||
} catch {
|
||||
|
||||
Reference in New Issue
Block a user