Skip to content
This repository has been archived by the owner on Dec 16, 2023. It is now read-only.

Signing a passbook #14

Closed
RayKahn opened this issue Jan 30, 2014 · 5 comments
Closed

Signing a passbook #14

RayKahn opened this issue Jan 30, 2014 · 5 comments

Comments

@RayKahn
Copy link

RayKahn commented Jan 30, 2014

I am getting the following exception: Signature is missing
How do I sign a passbook?

@assaf
Copy link
Owner

assaf commented Jan 30, 2014

Read the instructions about setting up the certificate files:
https://github.com/assaf/node-passbook/blob/master/README.md

@RayKahn
Copy link
Author

RayKahn commented Jan 30, 2014

I have and ran the prepare-keys tool. Here is what I am getting:

: Invalid data error reading pass pass.com.xxx.app.dev.passbook/0417505. The passTypeIdentifier or teamIdentifier provided may not match your certificate, or the certificate trust chain could not be verified.
MobileSafari[538] : PassBook Pass download failed: The pass cannot be read because it isn’t valid.

Do I need to call signZip explicitly or does it get called implicitly?

@assaf
Copy link
Owner

assaf commented Jan 30, 2014

What the error message says. Either your certificate is invalid, or it was created for a different passtype/team than the one you're using.

@RayKahn
Copy link
Author

RayKahn commented Jan 30, 2014

Thanks it is now working... It was the team id issue.

@RayKahn RayKahn closed this as completed Jan 30, 2014
@yozef
Copy link

yozef commented Jul 2, 2016

@RayKahn Can you please clarify, as I am receiving the same error:
The passTypeIdentifier or teamIdentifier provided may not match your certificate, or the certificate trust chain could not be verified.

If I'm not mistaken, the Team ID is the one you get from here https://developer.apple.com/account/#/membership/

In the Team ID row. Am I missing something?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants