agens-no / EllipticCurveKeyPair

Sign, verify, encrypt and decrypt using the Secure Enclave
Other
708 stars 114 forks source link

EllipticCurveKeyPair.Device.hasSecureEnclave reports false if there's no passcode #26

Open hfossli opened 6 years ago

hfossli commented 6 years ago

"hasSecureEnclave" is actually returning false on an iPhone 7 without passcode, because I guess LAContext can't evaluate anything in this state.

25