Hello Kurt Stine,

 

To resign the tizen package (.tpk), you need to use tizen cli.

 Re-sign the package.

Windows®:

> tizen package -t tpk -s MyProfile -- C:\Users\workspace\basic\Debug\org.tizen.basic-1.0.0-i386.tpk
Author certificate: C:\tizen-sdk-data\keystore\author\mycert.p12
Distributor1 certificate : C:\tizen-sdk\tools\certificate-generator\certificates\distributor\tizen-distributor-signer.p12
Package (C:\Users\workspace\basic\Debug\org.tizen.basic-1.0.0-i386.tpk) is created successfully.

Ubuntu and macOS:

$ tizen package -t tpk -s MyProfile -- ~/workspace/basic/Debug/org.tizen.basic-1.0.0-i386.tpk
Author certificate: ~/tizen-sdk-data/keystore/author/mycert.p12
Distributor1 certificate : ~/tizen-sdk/tools/certificate-generator/certificates/distributor/tizen-distributor-signer.p12
Package (~/workspace/basic/Debug/org.tizen.basic-1.0.0-i386.tpk) is created successfully.

 

For more detail, you can refer to below tizen cli guide.

https://developer.tizen.org/development/tizen-studio/native-tools/cli

 

Thanks and Best Regards,

Changseok Oh

================================================

Chang-Seok Oh

 

Advanced Developer Experience Lab.

Developer Experience Team.

Samsung Research 

SAMSUNG ELECTRONICS CO.,LTD

Tel : +82-2-6147-7213

Mobile : +82-10-9530-0235

E-Mail : [email protected]

===================================================

 

 

--------- Original Message ---------

Sender : [email protected] <[email protected]>

Date : 2018-04-04 21:00 (GMT+9)

Title : General Digest, Vol 80, Issue 1

 

Send General mailing list submissions to
	[email protected]

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.tizen.org/listinfo/general
or, via email, send a message with subject or body 'help' to
	[email protected]

You can reach the person managing the list at
	[email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of General digest..."


Today's Topics:

   1. TPK packages and editing (Kurt Stine)


----------------------------------------------------------------------

Message: 1
Date: Wed, 4 Apr 2018 07:38:22 +0800 (CST)
From: "Kurt Stine" <[email protected]>
To: [email protected]
Subject: [Tizen General] TPK packages and editing
Message-ID: <[email protected]>
Content-Type: text/plain; charset="gbk"

Hello all,


I am trying to theme a TPK, but whenever I change out the file, I get this error:


__return_cb req_id[29370002] pkg_type[tpk] pkgid[VZtRZw5cZM] key[error] val[79] error message: Invalid signature. Signed with wrong key, changed signature file or changed package file
__return_cb req_id[29370002] pkg_type[tpk] pkgid[VZtRZw5cZM] key[end] val[fail]
processing result : SIGNATURE_INVALID_HASH_SIGNATURE [79] failed
spend time for pkgcmd is [6309]ms


I have asked here, but it doesn't seem to line up: https://stackoverflow.com/questions/49637116/sha256-sum-is-not-sha256/49637347


Does anyone know how to either resign a TPK or get the hash working?


Thanks,
Kurt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.tizen.org/pipermail/general/attachments/20180404/620dba81/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
General mailing list
[email protected]
https://lists.tizen.org/listinfo/general


------------------------------

End of General Digest, Vol 80, Issue 1
**************************************

 

 

_______________________________________________
General mailing list
[email protected]
https://lists.tizen.org/listinfo/general

Reply via email to