@didek That would be insecure and would make it much easier to exploit the device to recover all of the data. Wiping is nearly instant and needs to be completed by shutting down the device. Wiping only specific secondary profiles is possible to implement as a mode or secondary duress PIN/password but it would be obvious those existed and were wiped. It isn't feasible to hide that a wipe occurred from tools connected to the device with ADB which is the standard approach for analyzing devices.
@GrapheneOS @didek Would a shutdown-pin be better? It would not erase any data but it would shut down the device removing the keys from the ram
@someone123456789 @GrapheneOS @didek or decryption keys get deleted from ram when any wrong key is inserted
@nihilistic_capybara @someone123456789 @didek There's already the defualt enabled locked device auto-reboot timer combined with strong defenses against exploitation. The right approach in this situation was nearly certainly refusing to give the password and insisting on a lawyer. Not providing a password is strongly legally protected in the US. The existing features would nearly certainly have worked well without any of this. Our answer to this scenario is NOT the duress PIN/password feature.
the footnote says it all...
1 It is the Government’s contention that the password provided by Defendant
caused the contents of Defendant’s phone to be deleted so that law enforcement
could not lawfully seize and review the contents of the phone.