1
0
镜像自地址 https://github.com/maxgoedjen/secretive.git 已同步 2025-07-12 00:50:57 +00:00
这个提交包含在:
Max Goedjen 2021-11-07 17:33:43 -08:00
父节点 54a4d2f9d5
当前提交 7219bbc52c
找不到此签名对应的密钥
GPG 密钥 ID: E58C21DD77B9B8E8

查看文件

@ -258,7 +258,7 @@ extension SecureEnclave {
init(secret: Secret, context: LAContext, duration: TimeInterval) {
self.secret = secret
self.context = context
let durationInNanoSeconds = Measurement(value: duration, unit: UnitDuration.seconds).converted(to: UnitDuration.nanoseconds).value
let durationInNanoSeconds = Measurement(value: duration, unit: UnitDuration.seconds).converted(to: .nanoseconds).value
self.expiration = clock_gettime_nsec_np(CLOCK_MONOTONIC) + UInt64(durationInNanoSeconds)
}