If an iOS device is jailbroken, I understand an attacker cannot extricate key material from the secure enclave. But would they be able to use keys using CryptoKit within the enclave to encrypt a password stored within keychain?
Or do the CrytpoKit APIs perform some sort of system integrity check before accessing the key material in the enclave to check for system compromise?