96 Commits (83b559ced41c1be0d7a65ba99e179efd79d8d257)

Author SHA1 Message Date
Paul Crowley f7a0d007d2 Add new argument to unlock_user_key, fixing merge-caused error.
9 years ago
Paul Crowley 5c025bd9a5 Merge "Password security for FBE disk encryption keys" into nyc-dev
9 years ago
Paul Crowley 0572080814 Password security for FBE disk encryption keys
9 years ago
Jeff Sharkey 0754a45539 Emulation fixes: mics dirs, recover after disable.
9 years ago
Jeff Sharkey 47695b29af Allow callers to prepare CE/DE user storage.
9 years ago
Paul Lawrence f10544df96 Remove unencrypted_properties
9 years ago
Paul Lawrence 5a06a6481b Fix minor issues with previous change
9 years ago
Paul Lawrence aec34dfb1d Use consistent method for device key
9 years ago
Paul Lawrence 7b6b565fa0 Remove support for non-default root passwords in FBE
9 years ago
Paul Crowley b92f83c051 Add support for per-user DE keys.
9 years ago
Paul Crowley b1f3d242dd Refactor of Ext4Crypt.cpp in preparation for DE keys
9 years ago
Paul Crowley 8fb12fd835 Add init_user0 command.
9 years ago
Paul Crowley ea62e26ad3 Create disk encryption keys only when FBE enabled
9 years ago
Paul Crowley 13ffd8ef7a Improvements to the key storage module
9 years ago
Paul Crowley 1ef255816c Use a keymaster-based key storage module
9 years ago
Paul Crowley a042cb5761 Don't fail on unlock if we're not even emulating FBE
9 years ago
Paul Crowley 285956fe11 Rework FBE crypto to match the N way of doing things
9 years ago
Jeff Sharkey 7a9dd95cbc Offer to enforce "locked" state using SELinux.
9 years ago
Jeff Sharkey d2d7bffd0c Create /data/media directory for new users.
9 years ago
Lenka Trochtova 9ad4369ce8 Fix a bug in passing parameters to prepare_user_storage.
9 years ago
Paul Crowley 27cbce9214 Rename functions with a system/extras name collision.
9 years ago
Paul Lawrence ff9097f560 Fix create_user_key to take 3 params
9 years ago
Lenka Trochtova 395039f007 Introduce support for ephemeral users.
9 years ago
Jeff Sharkey fc505c3ff6 Emulate media encryption, always chmod to unlock.
9 years ago
Elliott Hughes 6bf0547ccc resolve merge conflicts of b7d5a47cec to master.
9 years ago
Elliott Hughes 7e128fbe21 Track rename from base/ to android-base/.
9 years ago
Jeff Sharkey a597d0a424 Use the right system property name.
9 years ago
Jeff Sharkey c79fb89a10 Switch to new FBE emulation property.
9 years ago
Paul Crowley 5512c50c09 Merge "Add --no-unlink option to secdiscard for testing."
9 years ago
Jeff Sharkey d2c96e7883 New granular encryption commands for framework.
9 years ago
Paul Crowley 5ab73e945d Add --no-unlink option to secdiscard for testing.
9 years ago
Paul Crowley 480fcd2750 Set uid/gid of newly created user dirs to system/system.
9 years ago
Paul Crowley 9336348200 Evict the key before we delete it.
9 years ago
Paul Crowley cd307b7c63 Scrub the key from the disk with BLKSECDISCARD.
9 years ago
Paul Crowley b33e8873ea Add "cryptfs deleteuserkey" command to vold.
9 years ago
Paul Crowley 95376d612c Add vold commands for setting up per-user encrypted user
9 years ago
Paul Crowley f25a35a1c9 Break key installation into its own function so we can install
9 years ago
Paul Lawrence 86c942a253 DO NOT MERGE Delete password as per block encryption
9 years ago
Paul Lawrence 0d9cd9e9cf DO NOT MERGE Fix problem that reading/writing crypto footers wasn't identity
9 years ago
Paul Lawrence 2f32cda63b DO NOT MERGE Retry unmounts in ext4 encryption
9 years ago
Paul Lawrence b7f0702ea6 DO NOT MERGE Use default key permissions for ext4enc
9 years ago
Paul Lawrence a56d3134b0 DO NOT MERGE Simplify password checking logic
9 years ago
Paul Lawrence 368d79459e DO NOT MERGE Enable properties in ext4enc
9 years ago
Paul Lawrence c78c71b171 DO NOT MERGE Check password is correct by checking hash
9 years ago
Paul Lawrence fd7db73243 DO NOT MERGE New ext4enc kernel switching from xattrs to ioctl
9 years ago
Paul Lawrence 731a7a242d DO NOT MERGE Securely encrypt the master key
9 years ago