1
0
miroir de https://github.com/maxgoedjen/secretive.git synchronisé 2026-03-25 18:47:22 +01:00
Cette révision appartient à :
Max Goedjen
2020-03-06 01:05:20 -08:00
Parent a6ed2a6ef7
révision 249ac3458a

Voir le fichier

@@ -77,8 +77,7 @@ extension SmartCard.Store {
kSecReturnAttributes: true
] as CFDictionary
var untyped: CFTypeRef?
let status = SecItemCopyMatching(attributes, &untyped)
print(status)
SecItemCopyMatching(attributes, &untyped)
guard let typed = untyped as? [[CFString: Any]] else { return }
let wrapped: [SmartCard.Secret] = typed.map {
let name = $0[kSecAttrLabel] as? String ?? "Unnamed"