IAP Client Installation on ver2.2.0

IAP Client Installation on ver2.2.0

BY 07 Dec 2013 Web Application Development

Hello,

The “IAP Client TPK 1.0.7” installation succeeded on ver2.2.0

But

The “IAP Client TPK 1.0.8” and “1.0.9” installation failed on ver2.2.0

 

Device:
TIZEN RD-PQ

OS:
Redwood Z9005 TIZEN 2.2.0 (79005XXMI3)

App:
IAP Client TPK 1.0.7 (Tizen In-App Purchase 1.0.7)
Tizen Account TPK 1.2.0011 (Compte Tizen 1.2.0011)

SDK:
tizen-sdk 2.2
Windows 7

 

The “IAP Client TPK 1.0.7” installation Results:

C:\>c:\tizen-sdk\tools\ide\bin\native-install.bat -p c:\iap\tizeninapp-1.0.7-arm.tpk
1 file(s) pushed. 0 file(s) skipped.
c:\iap\tizeninapp-1.0.7-arm.tpk   1698 KB/s (1113357 bytes in 0.639s)
path is /opt/usr/apps/tmp/tizeninapp-1.0.7-arm.tpk
__return_cb req_id[1] pkg_type[tpk] pkgid[tizeninapp] key[start] val[update]
__return_cb req_id[1] pkg_type[tpk] pkgid[tizeninapp] key[install_percent] val[0]
__return_cb req_id[1] pkg_type[tpk] pkgid[tizeninapp] key[install_percent] val[60]
__return_cb req_id[1] pkg_type[tpk] pkgid[tizeninapp] key[install_percent] val[100]
__return_cb req_id[1] pkg_type[tpk] pkgid[tizeninapp] key[end] val[ok]
spend time for pkgcmd is [47559]ms
To launch the application, run native-run with -p <pkg_name>.
And to debug the application, run native-debug with -p <pkg_name>.

 

The “IAP Client TPK 1.0.8” installation Results:

C:\>c:\tizen-sdk\tools\ide\bin\native-install.bat -p c:\iap\tizeninapp-1.0.8-arm.tpk
1 file(s) pushed. 0 file(s) skipped.
c:\iap\tizeninapp-1.0.8-arm.tpk   1938 KB/s (1115000 bytes in 0.561s)
path is /opt/usr/apps/tmp/tizeninapp-1.0.8-arm.tpk
__return_cb req_id[1] pkg_type[tpk] pkgid[tizeninapp] key[start] val[update]
__return_cb req_id[1] pkg_type[tpk] pkgid[tizeninapp] key[install_percent] val[0]
__return_cb req_id[1] pkg_type[tpk] pkgid[tizeninapp] key[error] val[23]
__return_cb req_id[1] pkg_type[tpk] pkgid[tizeninapp] key[end] val[fail]
processing result : SIGNATURE_VERIFICATION_FAILED [23] failed
spend time for pkgcmd is [1341]ms

 

The “IAP Client TPK 1.0.9” installation Results:

C:\>c:\tizen-sdk\tools\ide\bin\native-install.bat -p c:\iap\tizeninapp-1.0.9-arm.tpk
processing result : SIGNATURE_VERIFICATION_FAILED [23] failed

 

Can I get some advice about this?

Thanks,

 

——————————————————–
The “IAP Client TPK 1.0.7” installation Logs:

INFO / osp-installer ( 9864 : 9864 ) : bool SignatureManager::ValidateSignatures()(159) > Signature validator.check success, file=[author-signature.xml],

number=[-1]
INFO / osp-installer ( 9864 : 9864 ) : bool SignatureManager::ValidateSignatures()(168) > Author root cert value=[MIICnzCCAggCCQCn+GGT4zh

+BjANBgkqhkiG9w0B…cxYsRdcCIrkgp2AivbSaM]
INFO / osp-installer ( 9864 : 9864 ) : bool SignatureManager::ValidateSignatures()(208) > ValidateSignatures done successfully <<
INFO / osp-installer ( 9864 : 9864 ) : static bool InstallerUtil::IsAuthorSignatureVerificationEnabled()(1255) > [author-signature is on.]
INFO / osp-installer ( 9864 : 9864 ) : bool SignatureManager::ValidateUpdate()(262) > ——————————————
INFO / osp-installer ( 9864 : 9864 ) : bool SignatureManager::ValidateUpdate()(263) > oldCert =

[MIICvjCCAiegAwIBAgIGAT6MIkNdMA0GCSqGSIb3DQEBBQUAMIGEMQ…zBvGHhEiNsNwdkdu8Uaaa2XmASg==]
INFO / osp-installer ( 9864 : 9864 ) : bool SignatureManager::ValidateUpdate()(264) > newCert =

[MIICvjCCAiegAwIBAgIGAT6MIkNdMA0GCSqGSIb3DQEBBQUAMIGEMQ…zBvGHhEiNsNwdkdu8Uaaa2XmASg==]
INFO / osp-installer ( 9864 : 9864 ) : bool SignatureManager::ValidateUpdate()(265) > ——————————————
INFO / osp-installer ( 9864 : 9864 ) : bool SignatureManager::ValidateUpdate()(274) > oldCert, newCert is the same.
INFO / osp-installer ( 9864 : 9864 ) : InstallerError SignatureStep::OnStateSignerInit()(123) >   ## __pSignatureManager->ValidateSignatures() result = [true]
INFO / osp-installer ( 9864 : 9864 ) : virtual InstallerError SignatureStep::Run(InstallationContext*)(71) > [STATE_ROOT_CERT]

 

 

 

——————————————————–
The “IAP Client TPK 1.0.8” installation Logs:

INFO / osp-installer ( 9688 : 9688 ) : bool SignatureManager::ValidateSignatures()(159) > Signature validator.check success, file=[author-signature.xml],

number=[-1]
INFO / osp-installer ( 9688 : 9688 ) : bool SignatureManager::ValidateSignatures()(168) > Author root cert value=

[MIIDOzCCAiOgAwIBAgIBADANBgkqhkiG9w0BAQUFAD…v6ldCLIpA/Ssgf9GuUbcjTC8OWBYPVUQ6YoXAcuH
INFO / osp-installer ( 9688 : 9688 ) : bool SignatureManager::ValidateSignatures()(208) > ValidateSignatures done successfully <<
INFO / osp-installer ( 9688 : 9688 ) : static bool InstallerUtil::IsAuthorSignatureVerificationEnabled()(1255) > [author-signature is on.]
INFO / osp-installer ( 9688 : 9688 ) : bool SignatureManager::ValidateUpdate()(262) > ——————————————
INFO / osp-installer ( 9688 : 9688 ) : bool SignatureManager::ValidateUpdate()(263) > oldCert =

[MIICvjCCAiegAwIBAgIGAT6MIkNdMA0GCSqGSIb3DQEBBQUA…atOEaaZo9i7UXwDPS5yW5/i2oHEiIRshO422oKacXhNNqIlzBvGHhEiNsNwdkdu8Uaaa2XmASg==]
INFO / osp-installer ( 9688 : 9688 ) : bool SignatureManager::ValidateUpdate()(264) > newCert =

[MIIClTCCAX2gAwIBAgIGAUFujPEIMA0GCSqGSIb3DQEBBQUA…x86ovxLonFUrG6601Ts=]
INFO / osp-installer ( 9688 : 9688 ) : bool SignatureManager::ValidateUpdate()(265) > ——————————————
INFO / osp-installer ( 9688 : 9688 ) : bool SignatureManager::ValidateUpdate()(269) > oldCert, newCert is different.
ERROR / osp-installer ( 9688 : 9688 ) : bool SignatureManager::ValidateSignatures()(213) > ValidateUpdate() is failed.
INFO / osp-installer ( 9688 : 9688 ) : InstallerError SignatureStep::OnStateSignerInit()(123) >   ## __pSignatureManager->ValidateSignatures() result = [false]
INFO / osp-installer ( 9688 : 9688 ) : static bool InstallerUtil::IsSignatureVerificationEnabled()(1230) > [signature is on.]
INFO / osp-installer ( 9688 : 9688 ) : InstallerError SignatureStep::OnStateSignerInit()(131) > _pSignatureManager->ValidateSignatures() is failed.
INFO / osp-installer ( 9688 : 9688 ) : virtual InstallerError PackageInstaller::OnError()(64) > PackageInstaller::OnError()
INFO / osp-installer ( 9688 : 9688 ) : virtual InstallerError Installer::OnError()(189) > Installer::OnError()
INFO / osp-installer ( 9688 : 9688 ) : void InstallerManager::PrintResult()(804) > ==========================================
INFO / osp-installer ( 9688 : 9688 ) : void InstallerManager::PrintResult()(805) >  # osp-installer: version=[20130911.2]
INFO / osp-installer ( 9688 : 9688 ) : void InstallerManager::PrintResult()(807) >  # Operation = [Install]
INFO / osp-installer ( 9688 : 9688 ) : void InstallerManager::PrintResult()(808) >  # Package   = [tizeninapp(1,088,9KB)]
INFO / osp-installer ( 9688 : 9688 ) : void InstallerManager::PrintResult()(809) >  # Apps      = [IapClient{main}(1,012,8KB) IapService(327,6KB)]
INFO / osp-installer ( 9688 : 9688 ) : void InstallerManager::PrintResult()(810) >  # Time      = [879ms]
INFO / osp-installer ( 9688 : 9688 ) : void InstallerManager::PrintResult()(811) >  # Result    = [[SIGNATURE_VERIFICATION_FAILED] Thrown when the signature

verification has failed due to be modified illegally.(023)]
INFO / osp-installer ( 9688 : 9688 ) : void InstallerManager::PrintResult()(812) > ==========================================

 

 

 

Written by