Diced: Don't add resettable config
Unless the loader actively ensures the key change on factory reset, omit the resettable (-70004) property from the config descriptor. By the time diced gets involved, it's just along for the ride and it was down to the earlier stages to enforce resetting across factory reset. Test: atest system/security/diced Bug: 225177477 Change-Id: I728774843cf0f4468bc7e98ccb29c27c1e808da5
This commit is contained in:
parent
1713e4867d
commit
c7bc7e9e16
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ fn client_input_values(uid: uid_t) -> Result<BinderInputValues> {
|
|||
Ok(BinderInputValues {
|
||||
codeHash: [0; dice::HASH_SIZE],
|
||||
config: BinderConfig {
|
||||
desc: dice::bcc::format_config_descriptor(Some(&format!("{}", uid)), None, true)
|
||||
desc: dice::bcc::format_config_descriptor(Some(&format!("{}", uid)), None, false)
|
||||
.context("In client_input_values: failed to format config descriptor")?,
|
||||
},
|
||||
authorityHash: [0; dice::HASH_SIZE],
|
||||
|
|
Loading…
Reference in a new issue