microsoft / cordova-plugin-code-push

Cordova plugin for CodePush
http://appcenter.ms
Other
643 stars 333 forks source link

Unable to verify signature for package #581

Open Anuj-logiciel opened 5 years ago

Anuj-logiciel commented 5 years ago

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

Screenshot 2019-10-30 at 6 10 44 PM

Anuj-logiciel commented 5 years ago

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

raduburla commented 4 years ago

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

Krasavinigor commented 4 years ago

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?

Anuj-logiciel commented 4 years ago

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

ashish141199 commented 3 years ago

Same issue with me!

ashish141199 commented 3 years ago

Please look into this @Krasavinigor @scottbommarito

tolutronics commented 3 years ago

Any solution Yet, i a having the same issue.

giulioco commented 3 years ago

Also having the same issue