assaf / node-passbook

iOS Passbook for the Node hacker
MIT License
280 stars 73 forks source link

Signing a passbook #14

Closed RayKahn closed 10 years ago

RayKahn commented 10 years ago

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

assaf commented 10 years ago

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

RayKahn commented 10 years ago

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 commented 10 years ago

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 commented 10 years ago

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

yozef commented 8 years ago

@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?