Implement undo operation of trust anchor 61/194361/2
authorJunghyun Yeon <jungh.yeon@samsung.com>
Tue, 31 Oct 2017 08:01:28 +0000 (17:01 +0900)
committerSangyoon Jang <jeremy.jang@samsung.com>
Mon, 3 Dec 2018 12:05:30 +0000 (21:05 +0900)
commit020c155afbc2f0cf34a4cba58f03dd3b9b4175f9
tree7d224558e9f97567ba7b710c2d5e7418ddf139cd
parent63de53fdcbd69a922b722b8163efb5e3e6b85fc5
Implement undo operation of trust anchor

- Trust-anchor registration/unregistration should be revoked
  when installation has failed.
- Old certificates should be rollbacked so make additional steps
  to perform revoke operation after rollback file has done.
- Disable making symlink for preload rw requests.

Change-Id: Id63f0b248a930f77da959bdd84c127843b9fecac
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/common/step/mount/step_mount_unpacked.cc
src/common/step/mount/step_mount_update.cc
src/common/step/security/step_register_trust_anchor.cc
src/common/step/security/step_register_trust_anchor.h
src/common/step/security/step_revoke_trust_anchor.cc [new file with mode: 0644]
src/common/step/security/step_revoke_trust_anchor.h [new file with mode: 0644]
src/common/step/security/step_unregister_trust_anchor.cc
src/common/step/security/step_unregister_trust_anchor.h