Languages

Menu
Sites
Language
IAP Client Installation on ver2.2.0

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) > ==========================================

 

 

 

Edited by: Brock Boland on 17 Mar, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

3 Replies
Raghavendra Reddy Shiva

The "IAP Client TPK 1.0.8" (haven't tried 1.0.9 though) installs fine on both the images 2.2.0 and the latest 2.2.1 on Ref.Device-PQ device (also called as M0 device). 
But the TPK doesn't install on the device model "Z9005" TIZEN 2.2.0 (Z9005XXMI3), which is also known as M1 device, due to certificate issues.

I see below installer errors in the logs. Seems there is mismatch in the certificate generated for this developer device model.

 

I/osp-installer( 1434): bool SignatureManager::ValidateUpdate()(265) > ------------------------------------------
I/osp-installer( 1434): bool SignatureManager::ValidateUpdate()(269) > oldCert, newCert is different.
E/osp-installer( 1434): bool SignatureManager::ValidateSignatures()(213) > ValidateUpdate() is failed.
I/osp-installer( 1434): InstallerError SignatureStep::OnStateSignerInit()(123) >   ## __pSignatureManager->ValidateSignatures() result = [false]
I/osp-installer( 1434): static bool InstallerUtil::IsSignatureVerificationEnabled()(1230) > [signature is on.]
I/osp-installer( 1434): InstallerError SignatureStep::OnStateSignerInit()(131) > _pSignatureManager->ValidateSignatures() is failed.
I/osp-installer( 1434): virtual InstallerError PackageInstaller::OnError()(64) > PackageInstaller::OnError()
I/osp-installer( 1434): virtual InstallerError Installer::OnError()(189) > Installer::OnError()

 

You may have to flash the device with the latest 2.2.1 image, but please hold-on untill it is confirmed that the tizen images (RD-PQ-REF or RD-PQ) available at download.tizen.org are compatible for M1 device(s) too (which you have). Will have to check with the concerned team and get back with details.

Raghavendra Reddy Shiva

Also raised a JIRA bug to track this issue. Please follow this JIRA for further instructions.

https://bugs.tizen.org/jira/browse/TDIST-624

Mallikarjun Hunalli

Before you install the IAP TPK,  uninstall the IAPClient and remove the package configuration for the existing or old IAPClient TPK.

This will fix the [[SIGNATURE_VERIFICATION_FAILED].