03-22-2012 12:23 PM
Hi,
Hi, I'm trying to sign my application, but the blackberry-Signer -verify returns errors.
I've read many topics on the forum, but I didn't find a solution to my problem.
It's my files:
blackberry-tablet.xml:
<?xml version="1.0" encoding="utf-8" standalone="no"?> <qnx xmlns="http://www.qnx.com/schemas/application/1.0"> <id>com.dwart.Study-Cards</id> <filename>Study-Cards</filename> <name>Study-Cards</name> <versionNumber>1.0.0</versionNumber> <description>Learn language faster</description> <copyright>dwart</copyright> <initialWindow> <systemChrome>none</systemChrome> <transparent>false</transparent> <autoOrients>false</autoOrients> <aspectRatio>landscape</aspectRatio> </initialWindow> <publisher>dwart.com</publisher> <permission system="true">run_native</permission> <action>access_shared</action> <!--<env var="QT_DEBUG_PLUGINS" value="1"/> --> <env var="LD_LIBRARY_PATH" value="app/native/lib"/> <env var="QT_QPA_FONTDIR" value="/usr/fonts/font_repository/liberation"/> <env var="QT_QPA_PLATFORM_PLUGIN_PATH" value="app/lib/platforms"/> <env var="QML_IMPORT_PATH" value="app/native/qml/imports"/> <env var="QT_PLUGIN_PATH" value="app/native/lib/plugins"/> <arg>-platform</arg> <arg>blackberry</arg> <author>dwart</author> <authorId>gYAAgHnFdvHsS830QUqF8qLsMTE</authorId> <action system="true">run_native</action> <icon><image>icon.png</image></icon> <splashscreen>splashscreen.png</splashscreen> </qnx>
StudyCards.pro:
TARGET = StudyCards
# Add more folders to ship with the application, here
folder_01.source = qml/StudyCards
folder_01.target = qml
DEPLOYMENTFOLDERS = folder_01
QMAKE_LFLAGS += '-Wl,-rpath,\'./app/native/lib\' '
package.target = $${TARGET}.bar
package.depends = $$TARGET
package.commands = blackberry-nativepackager \
-package $${TARGET}.bar -arg -platform -arg blackberry \
-debugToken ./debugToken.bar \
-arg -platformpluginpath -arg ./app/native/lib/platforms \
-arg -pluginpath -arg ./app/native/lib/plugins \
blackberry-tablet.xml $$TARGET \
-e icon.png icon.png \
-e splashscreen.png splashscreen.png \
-e qml qml \
-e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/ lib/qt4/lib/libQtCore.so.4 lib/libQtCore.so.4 \
-e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/ lib/qt4/lib/libQtGui.so.4 lib/libQtGui.so.4 \
-e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/ lib/qt4/lib/libQtOpenGL.so.4 lib/libQtOpenGL.so.4 \
-e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/ lib/qt4/lib/libQtNetwork.so.4 lib/libQtNetwork.so.4 \
-e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/ lib/qt4/lib/libQtDeclarative.so.4 lib/libQtDeclarative.so.4 \
-e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/ lib/qt4/lib/libQtSql.so.4 lib/libQtSql.so.4 \
-e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/ lib/qt4/lib/libQtSvg.so.4 lib/libQtSvg.so.4 \
-e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/ lib/qt4/lib/libQtScript.so.4 lib/libQtScript.so.4 \
-e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/ lib/qt4/lib/libQtXmlPatterns.so.4 lib/libQtXmlPatterns.so.4 \
-e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/ lib/qt4/plugins/sqldrivers/libqsqlite.so lib/plugins/sqldrivers/libqsqlite.so \
-e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/ lib/qt4/plugins/platforms/libblackberry.so lib/platforms/libblackberry.so
QMAKE_EXTRA_TARGETS += package
SOURCES += main.cpp
# Please do not modify the following two lines. Required for deployment.
include(qmlapplicationviewer/qmlapplicationviewer. pri)
qtcAddDeployment()
OTHER_FILES += blackberry-tablet.xml
I make *.bar file :
/home/dwart/Desktop/qt-qnx/stage/nto/armle-v7/usr/lib/qt4/bin/qmake
make
make Study-Cards.bar
Results:
qcc -Vgcc_ntoarmv7le -lang-c++ -c -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../qt-qnx/stage/nto/armle-v7/usr/lib/qt4/mkspecs/unsupported/blackberry-armv7le-qcc -I. -I../qt-qnx/stage/nto/usr/include/qt4/QtCore -I../qt-qnx/stage/nto/usr/include/qt4/QtGui -I../qt-qnx/stage/nto/usr/include/qt4/QtDeclarativ e -I../qt-qnx/stage/nto/usr/include/qt4 -Iqmlapplicationviewer -I. -I/opt/bbndk2/target/qnx6/usr/include -I/opt/bbndk2/target/qnx6/usr/include/freetype2 -o main.o main.cpp qcc -Vgcc_ntoarmv7le -lang-c++ -c -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../qt-qnx/stage/nto/armle-v7/usr/lib/qt4/mkspecs /unsupported/blackberry-armv7le-qcc -I. -I../qt-qnx/stage/nto/usr/include/qt4/QtCore -I../qt-qnx/stage/nto/usr/include/qt4/QtGui -I../qt-qnx/stage/nto/usr/include/qt4/QtDeclarativ e -I../qt-qnx/stage/nto/usr/include/qt4 -Iqmlapplicationviewer -I. -I/opt/bbndk2/target/qnx6/usr/include -I/opt/bbndk2/target/qnx6/usr/include/freetype2 -o qmlapplicationviewer.o qmlapplicationviewer/qmlapplicationviewer.cpp /home/dwart/Desktop/qt-qnx/stage/nto/armle-v7/usr/ lib/qt4/bin/moc -DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../qt-qnx/stage/nto/armle-v7/usr/lib/qt4/mkspecs /unsupported/blackberry-armv7le-qcc -I. -I../qt-qnx/stage/nto/usr/include/qt4/QtCore -I../qt-qnx/stage/nto/usr/include/qt4/QtGui -I../qt-qnx/stage/nto/usr/include/qt4/QtDeclarativ e -I../qt-qnx/stage/nto/usr/include/qt4 -Iqmlapplicationviewer -I. -I/opt/bbndk2/target/qnx6/usr/include -I/opt/bbndk2/target/qnx6/usr/include/freetype2 -D__QNXNTO__ qmlapplicationviewer/qmlapplicationviewer.h -o moc_qmlapplicationviewer.cpp qcc -Vgcc_ntoarmv7le -lang-c++ -c -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../qt-qnx/stage/nto/armle-v7/usr/lib/qt4/mkspecs /unsupported/blackberry-armv7le-qcc -I. -I../qt-qnx/stage/nto/usr/include/qt4/QtCore -I../qt-qnx/stage/nto/usr/include/qt4/QtGui -I../qt-qnx/stage/nto/usr/include/qt4/QtDeclarativ e -I../qt-qnx/stage/nto/usr/include/qt4 -Iqmlapplicationviewer -I. -I/opt/bbndk2/target/qnx6/usr/include -I/opt/bbndk2/target/qnx6/usr/include/freetype2 -o moc_qmlapplicationviewer.o moc_qmlapplicationviewer.cpp qcc -Vgcc_ntoarmv7le -lang-c++ -Wl,-rpath-link,/opt/bbndk2/target/qnx6/armle-v7/l ib -Wl,-rpath-link,/opt/bbndk2/target/qnx6/armle-v7/u sr/lib -Wl,-rpath,'./app/native/lib' -Wl,-O1 -o Study-Cards main.o qmlapplicationviewer.o moc_qmlapplicationviewer.o -L/opt/bbndk2/target/qnx6/armle-v7/lib -L/opt/bbndk2/target/qnx6/armle-v7/usr/lib -L/home/dwart/Desktop/qt-qnx/stage/nto/armle-v7/us r/lib/qt4/lib -lQtDeclarative -L/home/dwart/Desktop/qt-qnx/stage/nto/armle-v7/us r/lib/qt4/lib -L/opt/bbndk2/target/qnx6/armle-v7/lib -L/opt/bbndk2/target/qnx6/armle-v7/usr/lib -lQtScript -lQtSvg -lQtSql -lQtXmlPatterns -lQtNetwork -lsocket -lQtGui -lQtCore -lm blackberry-nativepackager -package Study-Cards.bar -arg -platform -arg blackberry -debugToken ./debugToken.bar -arg -platformpluginpath -arg ./app/native/lib/platforms -arg -pluginpath -arg ./app/native/lib/plugins blackberry-tablet.xml Study-Cards -e icon.png icon.png -e splashscreen.png splashscreen.png -e qml qml -e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/ lib/qt4/lib/libQtCore.so.4 lib/libQtCore.so.4 -e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/ lib/qt4/lib/libQtGui.so.4 lib/libQtGui.so.4 -e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/ lib/qt4/lib/libQtOpenGL.so.4 lib/libQtOpenGL.so.4 -e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/ lib/qt4/lib/libQtNetwork.so.4 lib/libQtNetwork.so.4 -e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/ lib/qt4/lib/libQtDeclarative.so.4 lib/libQtDeclarative.so.4 -e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/ lib/qt4/lib/libQtSql.so.4 lib/libQtSql.so.4 -e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/ lib/qt4/lib/libQtSvg.so.4 lib/libQtSvg.so.4 -e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/ lib/qt4/lib/libQtScript.so.4 lib/libQtScript.so.4 -e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/ lib/qt4/lib/libQtXmlPatterns.so.4 lib/libQtXmlPatterns.so.4 -e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/ lib/qt4/plugins/sqldrivers/libqsqlite.so lib/plugins/sqldrivers/libqsqlite.so -e /home/dwart/.qt-x86-lib/Qt/stage/nto/armle-v7/usr/ lib/qt4/plugins/platforms/libblackberry.so lib/platforms/libblackberry.so Info: Package created: Study-Cards.bar
In the bar file look like this:
/META-INF MANIFEST.MF /native /lib /platforms libblackberry.so /plugins /sqldrivers libqsqlite.so libQtCore.so.4 libQtDe.... .... /qml /StudyCards card.png lisc.png main.qml /imports /Qt ... /com ... Study-Cards blackberry-tablet.xml icon.png splashscreen.png
I'm trying sing:
/opt/bbndk2/host/linux/x86/usr/bin/blackberry-signer -keystore /home/dwart/.rim/author.p12 -storepass myPass ./Study-Cards.bar author
results:
Info: Bar signed.
It's add to my file bar to META_INF files: AUTHOR.EC and AUTHOR.SF
next step:
/opt/bbndk2/host/linux/x86/usr/bin/blackberry-signer -verbose -cskpass myCSKpass -keystore /home/dwart/.rim/author.p12 -storepass myStorePass ./Study-Cards.bar RDK
results:
Developer Certificate TBS = 30 81 b7 a0 03 02 01 02 02 04 4f 38 2f a6 30 0c 06 08 2a 86 48 ce 3d 04 03 04 05 00 30 10 31 0e 30 0c 06 03 55 04 03 13 05 64 77 61 72 74 30 1e 17 0d 31 32 30 32 31 32 32 31 33 31 31 38 5a 17 0d 33 32 30 32 30 37 32 31 33 31 31 38 5a 30 10 31 0e 30 0c 06 03 55 04 03 13 05 64 77 61 72 74 30 58 30 10 06 07 2a 86 48 ce 3d 02 01 06 05 2b 81 04 00 23 03 44 00 03 00 6d 4d b3 f4 07 75 ba da 3d 5b b4 7c a8 4f 7d 90 01 0f 26 3d e9 e5 54 07 40 64 b4 0b 11 70 f9 35 ca 5b 1e 9f 68 27 c9 92 ab d3 a6 ec 4c 2e 20 40 d2 18 88 04 73 82 3d c4 84 b8 bb b2 66 e9 ab 37 dd Developer Certificate TBS Digest = 0c 92 56 7d 1f 7d 88 a2 98 7e ea 60 01 e5 93 7d 22 09 96 7c 68 c4 e8 be 2a d4 38 ee f2 84 06 3c a9 00 78 f6 63 6d b7 4c 3e 76 88 a6 ba 79 a6 12 f0 8a fd 38 50 d9 4d b9 be 2e 6f d0 38 78 64 75 Developer Certificate TBS Encoded Digest = 44 4a 4a 57 66 52 39 39 69 4b 4b 59 66 75 70 67 41 65 57 54 66 53 49 4a 6c 6e 78 6f 78 4f 69 2d 4b 74 51 34 37 76 4b 45 42 6a 79 70 41 48 6a 32 59 32 32 33 54 44 35 32 69 4b 61 36 65 61 59 53 38 49 72 39 4f 46 44 5a 54 62 6d 2d 4c 6d 5f 51 4f 48 68 6b 64 51 Requesting signature from server... Reading CSK file... Properties of CSK file := [ Version = 2 Encoded Salt = 2f 6d 35 46 4e 49 4f 58 55 53 45 3d Encoded and Encrypted PrivateKey = 4f 46 53 49 5a 75 4a 51 73 70 62 6c 62 37 71 5a 63 4b 78 37 61 48 39 5a 4e 65 45 6f 73 79 61 7a 33 4c 63 39 4f 58 72 73 35 6b 5a 76 54 67 62 62 59 33 4b 41 4b 48 74 36 38 73 70 38 70 2f 4d 2b 70 45 5a 56 75 59 5a 53 6f 6a 76 42 38 49 70 59 4e 43 6f 6a 6b 64 49 2f Salt = fe 6e 45 34 83 97 51 21 Digest = 3c 1e 47 62 fc ce 0b 13 35 25 70 56 ac d1 1a eb 77 0e 9a 21 7e 8a 11 52 06 64 d2 79 da 4e 09 88 97 96 c1 01 ec 53 f2 7a 6a 3e 75 70 6a f3 1f 51 e2 28 1a 1a e8 c7 85 f7 d7 7a 98 05 b7 f6 bf 75 Signature = 30 81 88 02 42 01 06 b1 0c e3 2d fd f3 01 f7 5f 14 a6 ef b4 4b a0 5c 2b a6 b3 ef aa 1d 25 ed 46 62 8b 06 fe 35 eb 10 80 e8 b9 0a 8e a0 7b 6a ef c9 28 c9 53 85 89 66 26 1e 7f d8 67 0f ef e4 58 86 6b ca 4e b8 57 6a 02 42 01 27 e4 29 2a 9f ee 2b ad 59 48 77 ff 39 87 98 5a 9c ae 2d ac 72 93 d1 33 fc 7f 4e 6a 87 ab 88 46 af 59 22 65 c6 6f 81 f8 ef 3c da 79 c4 74 36 c1 35 c1 b0 21 d5 1d e3 1b 3e 72 24 47 bf c1 1a 19 fc Flat Signature = 01 06 b1 0c e3 2d fd f3 01 f7 5f 14 a6 ef b4 4b a0 5c 2b a6 b3 ef aa 1d 25 ed 46 62 8b 06 fe 35 eb 10 80 e8 b9 0a 8e a0 7b 6a ef c9 28 c9 53 85 89 66 26 1e 7f d8 67 0f ef e4 58 86 6b ca 4e b8 57 6a 01 27 e4 29 2a 9f ee 2b ad 59 48 77 ff 39 87 98 5a 9c ae 2d ac 72 93 d1 33 fc 7f 4e 6a 87 ab 88 46 af 59 22 65 c6 6f 81 f8 ef 3c da 79 c4 74 36 c1 35 c1 b0 21 d5 1d e3 1b 3e 72 24 47 bf c1 1a 19 fc Properties of request := [ Version = 1 Command = Signature Request SignerID = RDK ClientID = 3903770746 MF = 51 58 4a 6a 61 47 6c 32 5a 53 31 4e 59 57 35 70 5a 6d 56 7a 64 43 31 57 5a 58 4a 7a 61 57 39 75 4f 69 41 78 4c 6a 45 4e 43 6b 46 79 59 32 68 70 64 6d 55 74 51 33 4a 6c 59 58 52 6c 5a 43 31 43 65 54 6f 67 51 6d 78 68 59 32 74 43 5a 58 4a 79 65 53 42 55 59 57 4a 73 5a 58 51 67 54 31 4d 67 52 57 78 6d 49 45 4a 42 55 69 42 51 59 57 4e 72 .......... 4f 52 66 38 75 2f 59 48 69 54 32 38 30 42 54 4d 76 72 2b 30 50 30 70 61 56 49 54 4b 6d 6a 51 35 49 6a 41 67 34 32 43 48 33 4d 59 56 44 73 30 7a 4e 66 47 66 57 75 52 72 4a 70 31 6b 54 43 55 3d Connecting to URL http://www.rim.net/Websigner/servlet/RDK-Waterloo Sending properties to server... Properties of response := [ Version = 1 Response = Signature Response Confirm = Signing server ID RDK signed code file from client ID 3903770746. Error = null ] Encoded Package-Author-Id = 67 59 41 41 67 48 6e 46 64 76 48 73 53 38 33 30 51 55 71 46 38 71 4c 73 4d 54 45 Encoded Package-Id = 67 59 41 42 67 47 4a 65 7a 68 55 79 4a 6d 6a 47 5f 37 76 57 34 48 4a 71 57 32 6b Encoded Package-Version-Id = 67 59 41 43 67 46 6c 63 4b 6e 4e 64 65 46 79 4d 6a 66 56 31 50 78 4c 32 6e 6e 73 Encoded Application-Id = 67 59 41 44 67 43 34 6f 48 63 59 47 78 77 32 6d 41 50 32 68 4f 75 63 67 46 76 49 Encoded Application-Version-Id = 67 59 41 45 67 44 46 55 35 62 57 6a 37 71 5f 49 67 6f 65 37 55 4e 57 41 35 51 45 Encoded Signature = 41 65 4a 71 6c 55 56 68 67 68 46 7a 49 34 46 51 69 33 73 35 35 59 30 43 38 62 30 43 4e 43 31 38 39 2f 70 69 49 41 44 34 4a 4d 6c 62 49 46 39 50 53 4b 32 66 33 79 41 58 6c 5a 75 46 4b 79 58 42 2f 50 72 39 6b 37 63 49 61 56 45 34 4d 69 42 52 31 61 55 49 32 33 57 39 41 55 39 72 38 30 6f 47 56 34 48 6b 55 61 54 76 6e 74 4a 36 67 42 31 33 72 79 69 55 41 78 67 45 62 6e 35 62 62 71 48 4b 74 76 34 59 64 58 6a 71 4f 78 55 5a 37 2b 43 33 48 2b 45 4c 75 62 48 63 49 6b 2b 79 36 45 52 33 62 69 55 37 35 54 52 68 37 47 72 62 44 6c 65 4a Decoded Signature = 01 e2 6a 95 45 61 82 11 73 23 81 50 8b 7b 39 e5 8d 02 f1 bd 02 34 2d 7c f7 fa 62 20 00 f8 24 c9 5b 20 5f 4f 48 ad 9f df 20 17 95 9b 85 2b 25 c1 fc fa fd 93 b7 08 69 51 38 32 20 51 d5 a5 08 db 75 bd 01 4f 6b f3 4a 06 57 81 e4 51 a4 ef 9e d2 7a 80 1d 77 af 28 94 03 18 04 6e 7e 5b 6e a1 ca b6 fe 18 75 78 ea 3b 15 19 ef e0 b7 1f e1 0b b9 b1 dc 22 4f b2 e8 44 77 6e 25 3b e5 34 61 ec 6a db 0e 57 89 ASN.1 Signature = 30 81 88 02 42 01 e2 6a 95 45 61 82 11 73 23 81 50 8b 7b 39 e5 8d 02 f1 bd 02 34 2d 7c f7 fa 62 20 00 f8 24 c9 5b 20 5f 4f 48 ad 9f df 20 17 95 9b 85 2b 25 c1 fc fa fd 93 b7 08 69 51 38 32 20 51 d5 a5 08 db 75 bd 02 42 01 4f 6b f3 4a 06 57 81 e4 51 a4 ef 9e d2 7a 80 1d 77 af 28 94 03 18 04 6e 7e 5b 6e a1 ca b6 fe 18 75 78 ea 3b 15 19 ef e0 b7 1f e1 0b b9 b1 dc 22 4f b2 e8 44 77 6e 25 3b e5 34 61 ec 6a db 0e 57 89 Updating: META-INF/MANIFEST.MF Adding: META-INF/RDK.SF Adding: META-INF/RDK.EC Signing: native/Study-Cards Signing: native/icon.png Signing: native/splashscreen.png Signing: native/qml/imports/Qt/labs/components.1.1/CheckableGroup.qml Signing: native/qml/imports/Qt/labs/components.1.1/Checkabl e.qml Signing: native/qml/imports/Qt/labs/components.1.1/Checkabl eGroup.js Signing: native/qml/imports/Qt/labs/components.1.1/qmldir Signing: native/qml/imports/Qt/labs/components.1.1/libqtcom ponentsplugin_1_1.so Signing: native/qml/imports/Qt/labs/components/native/Dialo g.qml Signing: native/qml/imports/Qt/labs/components/native/ToolB utton.qml Signing: native/qml/imports/Qt/labs/components/native/MenuI tem.qml Signing: native/qml/imports/Qt/labs/components/native/Label .qml Signing: native/qml/imports/Qt/labs/components/native/Secti onScroller.qml Signing: native/qml/imports/Qt/labs/components/native/BusyI ndicator.qml Signing: native/qml/imports/Qt/labs/components/native/Butto nRow.qml Signing: native/qml/imports/Qt/labs/components/native/TextS electionHandle.qml Signing: native/qml/imports/Qt/labs/components/native/Query Dialog.qml Signing: native/qml/imports/Qt/labs/components/native/Page. qml Signing: native/qml/imports/Qt/labs/components/native/Conte xtMenu.qml Signing: native/qml/imports/Qt/labs/components/native/PageS tackWindow.qml Signing: native/qml/imports/Qt/labs/components/native/Statu sBar.qml Signing: native/qml/imports/Qt/labs/components/native/ListI temText.qml Signing: native/qml/imports/Qt/labs/components/native/TabBa r.qml Signing: native/qml/imports/Qt/labs/components/native/Radio Button.qml Signing: native/qml/imports/Qt/labs/components/native/Switc h.qml Signing: native/qml/imports/Qt/labs/components/native/Appli cationWindow.qml Signing: native/qml/imports/Qt/labs/components/native/RectU tils.js Signing: native/qml/imports/Qt/labs/components/native/Scrol lBar.qml Signing: native/qml/imports/Qt/labs/components/native/Selec tionListItem.qml Signing: native/qml/imports/Qt/labs/components/native/libsy mbianplugin_1_1.so Signing: native/qml/imports/Qt/labs/components/native/PageS tack.qml Signing: native/qml/imports/Qt/labs/components/native/MenuL ayout.qml Signing: native/qml/imports/Qt/labs/components/native/ToolB ar.qml Signing: native/qml/imports/Qt/labs/components/native/Popup .qml Signing: native/qml/imports/Qt/labs/components/native/Butto n.qml Signing: native/qml/imports/Qt/labs/components/native/TextF ield.qml Signing: native/qml/imports/Qt/labs/components/native/MenuC ontent.qml Signing: native/qml/imports/Qt/labs/components/native/TextA rea.qml Signing: native/qml/imports/Qt/labs/components/native/TabGr oup.qml Signing: native/qml/imports/Qt/labs/components/native/TabBu tton.qml Signing: native/qml/imports/Qt/labs/components/native/Butto nGroup.js Signing: native/qml/imports/Qt/labs/components/native/Progr essBar.qml Signing: native/qml/imports/Qt/labs/components/native/TextT ouchController.qml Signing: native/qml/imports/Qt/labs/components/native/TextM agnifier.qml Signing: native/qml/imports/Qt/labs/components/native/Slide r.qml Signing: native/qml/imports/Qt/labs/components/native/PageS tack.js Signing: native/qml/imports/Qt/labs/components/native/Windo w.qml Signing: native/qml/imports/Qt/labs/components/native/Selec tionDialog.qml Signing: native/qml/imports/Qt/labs/components/native/Fader .qml Signing: native/qml/imports/Qt/labs/components/native/ToolB arLayout.qml Signing: native/qml/imports/Qt/labs/components/native/AppMa nager.js Signing: native/qml/imports/Qt/labs/components/native/qmldi r Signing: native/qml/imports/Qt/labs/components/native/Butto nColumn.qml Signing: native/qml/imports/Qt/labs/components/native/Commo nDialog.qml Signing: native/qml/imports/Qt/labs/components/native/ToolT ip.qml Signing: native/qml/imports/Qt/labs/components/native/TabBa rLayout.qml Signing: native/qml/imports/Qt/labs/components/native/Check Box.qml Signing: native/qml/imports/Qt/labs/components/native/ListI tem.qml Signing: native/qml/imports/Qt/labs/components/native/Secti onScroller.js Signing: native/qml/imports/Qt/labs/components/native/Scrol lDecorator.qml Signing: native/qml/imports/Qt/labs/components/native/Menu. qml Signing: native/qml/imports/Qt/labs/components/native/TextC ontextMenu.qml Signing: native/qml/imports/Qt/labs/components/native/TabGr oup.js Signing: native/qml/imports/Qt/labs/components/native/ListH eading.qml Signing: native/qml/imports/com/nokia/extras.1.1/libsymbian extrasplugin_1_1.so Signing: native/qml/imports/com/nokia/extras.1.1/TimePicker Dialog.qml Signing: native/qml/imports/com/nokia/extras.1.1/TumblerDia log.qml Signing: native/qml/imports/com/nokia/extras.1.1/DatePicker Dialog.qml Signing: native/qml/imports/com/nokia/extras.1.1/RatingIndi cator.qml Signing: native/qml/imports/com/nokia/extras.1.1/TumblerCol umn.qml Signing: native/qml/imports/com/nokia/extras.1.1/TumblerInd exHelper.js Signing: native/qml/imports/com/nokia/extras.1.1/qmldir Signing: native/qml/imports/com/nokia/extras.1.1/SearchBox. qml Signing: native/qml/imports/com/nokia/extras.1.1/Constants. js Signing: native/qml/imports/com/nokia/extras.1.1/Tumbler.js Signing: native/qml/imports/com/nokia/extras.1.1/InfoBanner .qml Signing: native/qml/imports/com/nokia/extras.1.1/Tumbler.qm l Signing: native/qml/imports/com/nokia/extras.1.1/TumblerTem plate.qml Signing: native/qml/imports/com/nokia/symbian.1.1/Dialog.qm l Signing: native/qml/imports/com/nokia/symbian.1.1/ToolButto n.qml Signing: native/qml/imports/com/nokia/symbian.1.1/MenuItem. qml Signing: native/qml/imports/com/nokia/symbian.1.1/Label.qml Signing: native/qml/imports/com/nokia/symbian.1.1/SectionSc roller.qml Signing: native/qml/imports/com/nokia/symbian.1.1/BusyIndic ator.qml Signing: native/qml/imports/com/nokia/symbian.1.1/ButtonRow .qml Signing: native/qml/imports/com/nokia/symbian.1.1/TextSelec tionHandle.qml Signing: native/qml/imports/com/nokia/symbian.1.1/QueryDial og.qml Signing: native/qml/imports/com/nokia/symbian.1.1/Page.qml Signing: native/qml/imports/com/nokia/symbian.1.1/ContextMe nu.qml Signing: native/qml/imports/com/nokia/symbian.1.1/PageStack Window.qml Signing: native/qml/imports/com/nokia/symbian.1.1/StatusBar .qml Signing: native/qml/imports/com/nokia/symbian.1.1/ListItemT ext.qml Signing: native/qml/imports/com/nokia/symbian.1.1/TabBar.qm l Signing: native/qml/imports/com/nokia/symbian.1.1/RadioButt on.qml Signing: native/qml/imports/com/nokia/symbian.1.1/Switch.qm l Signing: native/qml/imports/com/nokia/symbian.1.1/Applicati onWindow.qml Signing: native/qml/imports/com/nokia/symbian.1.1/RectUtils .js Signing: native/qml/imports/com/nokia/symbian.1.1/ScrollBar .qml Signing: native/qml/imports/com/nokia/symbian.1.1/Selection ListItem.qml Signing: native/qml/imports/com/nokia/symbian.1.1/libsymbia nplugin_1_1.so Signing: native/qml/imports/com/nokia/symbian.1.1/PageStack .qml Signing: native/qml/imports/com/nokia/symbian.1.1/MenuLayou t.qml Signing: native/qml/imports/com/nokia/symbian.1.1/ToolBar.q ml Signing: native/qml/imports/com/nokia/symbian.1.1/Popup.qml Signing: native/qml/imports/com/nokia/symbian.1.1/Button.qm l Signing: native/qml/imports/com/nokia/symbian.1.1/TextField .qml Signing: native/qml/imports/com/nokia/symbian.1.1/MenuConte nt.qml Signing: native/qml/imports/com/nokia/symbian.1.1/TextArea. qml Signing: native/qml/imports/com/nokia/symbian.1.1/TabGroup. qml Signing: native/qml/imports/com/nokia/symbian.1.1/TabButton .qml Signing: native/qml/imports/com/nokia/symbian.1.1/ButtonGro up.js Signing: native/qml/imports/com/nokia/symbian.1.1/ProgressB ar.qml Signing: native/qml/imports/com/nokia/symbian.1.1/TextTouch Controller.qml Signing: native/qml/imports/com/nokia/symbian.1.1/TextMagni fier.qml Signing: native/qml/imports/com/nokia/symbian.1.1/Slider.qm l Signing: native/qml/imports/com/nokia/symbian.1.1/PageStack .js Signing: native/qml/imports/com/nokia/symbian.1.1/Window.qm l Signing: native/qml/imports/com/nokia/symbian.1.1/Selection Dialog.qml Signing: native/qml/imports/com/nokia/symbian.1.1/Fader.qml Signing: native/qml/imports/com/nokia/symbian.1.1/ToolBarLa yout.qml Signing: native/qml/imports/com/nokia/symbian.1.1/AppManage r.js Signing: native/qml/imports/com/nokia/symbian.1.1/qmldir Signing: native/qml/imports/com/nokia/symbian.1.1/ButtonCol umn.qml Signing: native/qml/imports/com/nokia/symbian.1.1/CommonDia log.qml Signing: native/qml/imports/com/nokia/symbian.1.1/ToolTip.q ml Signing: native/qml/imports/com/nokia/symbian.1.1/TabBarLay out.qml Signing: native/qml/imports/com/nokia/symbian.1.1/CheckBox. qml Signing: native/qml/imports/com/nokia/symbian.1.1/ListItem. qml Signing: native/qml/imports/com/nokia/symbian.1.1/SectionSc roller.js Signing: native/qml/imports/com/nokia/symbian.1.1/ScrollDec orator.qml Signing: native/qml/imports/com/nokia/symbian.1.1/Menu.qml Signing: native/qml/imports/com/nokia/symbian.1.1/TextConte xtMenu.qml Signing: native/qml/imports/com/nokia/symbian.1.1/TabGroup. js Signing: native/qml/imports/com/nokia/symbian.1.1/ListHeadi ng.qml Signing: native/qml/StudyCards/card.png Signing: native/qml/StudyCards/main.qml Signing: native/qml/StudyCards/lisc.png Signing: native/lib/libQtCore.so.4 Signing: native/lib/libQtGui.so.4 Signing: native/lib/libQtOpenGL.so.4 Signing: native/lib/libQtNetwork.so.4 Signing: native/lib/libQtDeclarative.so.4 Signing: native/lib/libQtSql.so.4 Signing: native/lib/libQtSvg.so.4 Signing: native/lib/libQtScript.so.4 Signing: native/lib/libQtXmlPatterns.so.4 Signing: native/lib/plugins/sqldrivers/libqsqlite.so Signing: native/lib/platforms/libblackberry.so Signing: native/blackberry-tablet.xml Info: Bar signed.
I think that all is OK, but:
/opt/bbndk2/host/linux/x86/usr/bin/blackberry-signer -verbose -verify Study-Cards.bar
results:
Error: Invalid signature file digest for Manifest main attributes
Anybody knows how solve it?
ps. Sorry for long post and my english ![]()
Solved! Go to Solution.
03-22-2012 02:16 PM
03-22-2012 03:07 PM
Hi,
I removed <publisher>...</publisher> but the problem is the same...
"Error: Invalid signature file digest for Manifest main attributes"
03-22-2012 03:21 PM
Have you signed any other app?
03-22-2012 03:29 PM
dw87 wrote:
I removed <publisher>...</publisher> but the problem is the same...
"Error: Invalid signature file digest for Manifest main attributes"
Just to confirm, did you then change the contents of the <author> element to be the correct thing, or was it already?
I suspect that you must have the same thing there as you put as the CN= field in your signing certificate when you registered it. Which is the correct vendor name, "dwart" or "dwart.com"?
(It might also be entirely unrelated to that of course.)
03-22-2012 03:38 PM
Okay, I think you're just doing the steps out of order. Signing with "RDK" should come before signing with "author".
In any case, doing it with two steps is obsolete. Try this instead:
blackberry-signer -verbose -cskpass myCSKpass -storepass myStorePass Study-Cards.bar
That should automatically pick up the author.p12 file if it's in the right place, and will do both signing steps in the proper sequence.
Can you check whatever reference you used to guide you on this in the first place? If it's incorrect there, and not merely your own misunderstanding, you should try to have it fixed so this doesn't affect anyone else in the future.
03-22-2012 03:54 PM
OK, I change the order to :
/opt/bbndk2/host/linux/x86/usr/bin/blackberry-signer -verbose -cskpass myCSKpass -keystore /home/dwart/.rim/author.p12 -storepass myStorePass ./Study-Cards.bar RDK
/opt/bbndk2/host/linux/x86/usr/bin/blackberry-signer -keystore /home/dwart/.rim/author.p12 -storepass myPass ./Study-Cards.bar author
Now it's work![]()
Info: Bar verified.
Thank you very much for help
03-22-2012 08:54 PM
There is no need for the debug token if your signing it, it can be removed from your pro file.
Cheers,
Jon
03-22-2012 10:57 PM