mirror of
https://github.com/maxgoedjen/secretive.git
synced 2024-11-26 07:27:07 +00:00
a1009d0dac
* Add protocol requirements * Load auth settings. * Updates. * Update preview store * Add lock icon
20 lines
431 B
Swift
20 lines
431 B
Swift
import Foundation
|
|
import Combine
|
|
import SecretKit
|
|
|
|
extension SecureEnclave {
|
|
|
|
/// An implementation of Secret backed by the Secure Enclave.
|
|
public struct Secret: SecretKit.Secret {
|
|
|
|
public let id: Data
|
|
public let name: String
|
|
public let algorithm = Algorithm.ellipticCurve
|
|
public let keySize = 256
|
|
public let requiresAuthentication: Bool
|
|
public let publicKey: Data
|
|
|
|
}
|
|
|
|
}
|