- Knox Platform for Enterprise (KPE)
- Full-disk encryption (FDE)-based devices
You may encounter an issue where your managed devices perform a password compliance check and return the wrong result, causing them to be quarantined.
This is a known issue impacting only FDE-based devices. If the password requirements are changed after the device is booted up, the current password will no longer meet the requirements. Due to changes introduced in Android P, the API that checks if the active password is sufficient may return an incorrect value before the password is entered on a device for the first time.
isActivePasswordSufficient() will only return the last known state of password sufficiency. If the password requirement is changed before the user unlocks the device for the first time, the value returned by isActivePasswordSufficient() will not reflect the new password requirement until the user locks and unlocks the device.
This behavior is by design. To avoid compromising your potentially sensitive data, the full set of active password metrics is not stored on your device.
For IT admins:
Please consult with your UEM provider for further information on how they have implemented the password sufficiency policy.
To handle this password compliance issue, the Device Policy Manager (DPM) can take one of three actions:
- Postpone updating the password requirement until the user locks and unlocks the phone for the first time.
- Skip updating altogether if the password requirement will not change.
- Simply disregard the value of isActivePasswordSufficient() during the window of time when the password requirement is being modified.
For a detailed breakdown of what code changes were made in AOSP to address this issue, head to the Android Git repository.
To learn more about FDE and FBE, see Full-disk encryption (FDE) and file-based encryption (FBE).