cordova-plugin-code-push icon indicating copy to clipboard operation
cordova-plugin-code-push copied to clipboard

Unable to verify signature for package

Open Anuj-logiciel opened this issue 5 years ago • 8 comments

Description

I am able to successfully run plugin for my Android App but it's not working for iOS.

Issue I am getting -

Unable to verify signature for package: Signature verification failed: Error Domain=io.jwt.crypto.stripping_public_header Code=-199 "Provided key doesn't have a valid ASN.1 structure (first byte should be 0x30 == SEQUENCE)" UserInfo={NSLocalizedDescription=Provided key doesn't have a valid ASN.1 structure (first byte should be 0x30 == SEQUENCE), Parameters=null}. StackTrace: decodeSignatureFail

Additional Information

  • Cordova-plugin-code-push version: 1.12.0
  • List of installed plugins:
  • Cordova version: 8.1.2 ([email protected])
  • iOS: Not working on any iOS

Screenshot 2019-10-30 at 6 10 44 PM

Anuj-logiciel avatar Oct 30 '19 12:10 Anuj-logiciel

@scottbommarito - Can you please look at this? Thanks in advance!

Anuj-logiciel avatar Oct 31 '19 13:10 Anuj-logiciel

I had the same issue, it was caused by TAB characters added by me in config.xml. Just wanted that CodePushPublicKey preference be in line with other preferences in the file :) but turned out it broke the public key. Worked with no problems on Android with tabs added, the issue was only on iOS

raduburla avatar Apr 12 '20 12:04 raduburla

Hi @Anuj-logiciel! Thank you for reporting!

Could please check https://github.com/microsoft/cordova-plugin-code-push/issues/581#issuecomment-612605426? Do you still have the issue?

Krasavinigor avatar Sep 07 '20 16:09 Krasavinigor

@Krasavinigor - No, As per above comment, There's not any such thing in my case...

Anuj-logiciel avatar Sep 08 '20 07:09 Anuj-logiciel

Same issue with me!

ashish141199 avatar Jul 24 '21 19:07 ashish141199

Please look into this @Krasavinigor @scottbommarito

ashish141199 avatar Jul 24 '21 19:07 ashish141199

Any solution Yet, i a having the same issue.

tolutronics avatar Aug 27 '21 03:08 tolutronics

Also having the same issue

giulioco avatar Oct 22 '21 04:10 giulioco