Add StepSaveSignature at mount install or update 11/175411/1
authorJunghyun Yeon <jungh.yeon@samsung.com>
Fri, 6 Apr 2018 04:17:17 +0000 (13:17 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Tue, 10 Apr 2018 06:12:46 +0000 (15:12 +0900)
- Distributor signature don't have to be extracted because its value will be
  stored at separated directory.

Related changes:
[app-installers] : https://review.tizen.org/gerrit/174993

Change-Id: I132f25356912e7f34894c1761f8a1bac2ac27303

src/wgt/wgt_installer.cc

index d7f2a8d..f74f8dd 100755 (executable)
@@ -450,6 +450,7 @@ WgtInstaller::WgtInstaller(ci::PkgMgrPtr pkgrmgr)
       AddStep<ci::pkgmgr::StepCheckRestriction>();
       AddStep<ci::configuration::StepCheckTizenVersion>();
       AddStep<ci::security::StepCheckSignature>();
+      AddStep<ci::security::StepSaveSignature>();
       AddStep<ci::security::StepPrivilegeCompatibility>(
           ci::security::StepPrivilegeCompatibility::InternalPrivType::WGT);
       AddStep<wgt::security::StepCheckSettingsLevel>();
@@ -493,6 +494,7 @@ WgtInstaller::WgtInstaller(ci::PkgMgrPtr pkgrmgr)
       AddStep<ci::configuration::StepParsePreload>();
       AddStep<ci::configuration::StepCheckTizenVersion>();
       AddStep<ci::security::StepCheckSignature>();
+      AddStep<ci::security::StepSaveSignature>();
       AddStep<ci::security::StepPrivilegeCompatibility>(
           ci::security::StepPrivilegeCompatibility::InternalPrivType::WGT);
       AddStep<wgt::security::StepCheckSettingsLevel>();