Skip to main content
ozster123
Participant
January 25, 2019
Question

adt signing issue

  • January 25, 2019
  • 0 replies
  • 281 views

Using macOS and signing with eToken. Was working before I upgraded to os x 10.14 as this broke the PKSC11 signing.

Installed an updated driver for SafeNet and the keytool is working again.

However when I try to sign using adt I get the following:

adt -sign -storetype PKCS11 -providerName SunPKCS11-eToken -storepass XXXXX -tsa http://sha256timestamp.ws.symantec.com/sha256/timestamp -target air APP.airi APP.air

unexpected failure: Unable to create signature.

java.io.IOException: Unable to create signature.

    at com.adobe.ucf.UCFOutputStream.finalizeSig(UCFOutputStream.java:334)

    at com.adobe.air.AIROutputStream.finalizeSig(AIROutputStream.java:157)

    at com.adobe.air.ApplicationPackager.createPackage(ApplicationPackager.java:256)

    at com.adobe.air.ADT.parseArgsAndGo(ADT.java:716)

    at com.adobe.air.ADT.run(ADT.java:485)

    at com.adobe.air.ADT.main(ADT.java:535)

Using keytool I get:

keytool -list -keystore NONE -storetype PKCS11 -providerclass sun.security.pkcs11.SunPKCS11 -providerArg eToken.cfg

Enter keystore password: 

Keystore type: PKCS11

Keystore provider: SunPKCS11-eToken

Your keystore contains 1 entry

xxxxxxxxxx, PrivateKeyEntry,

Certificate fingerprint (SHA-256): xxxxxxxx

Any ideas on how to proceed?

This topic has been closed for replies.