commit | e4e3648312ade50f2b93e8b5e724c80b6e2f5231 | [log] [tgz] |
---|---|---|
author | Seth Moore <sethmo@google.com> | Fri Sep 16 10:36:12 2022 -0700 |
committer | Seth Moore <sethmo@google.com> | Fri Sep 16 10:36:12 2022 -0700 |
tree | 56e4475ff999bde62fdb5e0e8e106d27b7256251 | |
parent | 7f3ed15f6cf39dcaeeb6691ca9a3541c5d1c72cd [diff] |
Remove key_ops from BCC cose_key The field is not needed. It should also be an array, not an integer. Bug: 244979638 Test: captured CSR on cuttlefish, uploaded to RKP server Change-Id: I9058500a537cddd16e344b59ff6ef36c28b98b8e
diff --git a/host/commands/secure_env/tpm_remote_provisioning_context.cpp b/host/commands/secure_env/tpm_remote_provisioning_context.cpp index 351e7e8..23495e1 100644 --- a/host/commands/secure_env/tpm_remote_provisioning_context.cpp +++ b/host/commands/secure_env/tpm_remote_provisioning_context.cpp
@@ -125,7 +125,6 @@ .add(CoseKey::KEY_TYPE, OCTET_KEY_PAIR) .add(CoseKey::ALGORITHM, EDDSA) .add(CoseKey::CURVE, ED25519) - .add(CoseKey::KEY_OPS, VERIFY) .add(CoseKey::PUBKEY_X, pubKey) .canonicalize(); auto sign1Payload =