cordova-plugin-code-push
cordova-plugin-code-push copied to clipboard
Unable to verify signature for package
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
@scottbommarito - Can you please look at this? Thanks in advance!
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
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 - No, As per above comment, There's not any such thing in my case...
Same issue with me!
Please look into this @Krasavinigor @scottbommarito
Any solution Yet, i a having the same issue.
Also having the same issue