vapor-community / PassKit

🎟️ 📦 A package for creating passes and orders for Apple Wallet with Vapor.
https://swiftpackageindex.com/vapor-community/PassKit
MIT License
64 stars 11 forks source link

personalized passes #16

Open wibed opened 1 day ago

wibed commented 1 day ago

https://swiftpackageindex.com/vapor-community/passkit/0.6.0/documentation/passes/personalization

wuat makes it that hard? to me it sounds like a public key registration as in a pgp keyring.

https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/PassKit_PG/Creating.html#//apple_ref/doc/uid/TP40012195-CH4-SW1

https://developer.apple.com/documentation/walletpasses#//apple_ref/doc/uid/TP40012026

fpseverino commented 1 day ago

To sign personalizable passes or passes that include NFC you need a special key, different from the typical one you can get with an Apple Developer Account, that Apple usually only gives to large companies (they are having legal problems with the EU for this).

If you try to sign a personalizable pass (or a pass with NFC) with a regular key and try to load it on an Xcode iPhone Simulator it won't load, and you'll see an error on the Console stating that you need a special key for personalizable passes.

https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/PassKit_PG/PassPersonalization.html#//apple_ref/doc/uid/TP40012195-CH12-SW2

https://developer.apple.com/wallet/loyalty-passes/

https://developer.apple.com/contact/passkit/

wibed commented 1 day ago

i have looked around for solutions within passkit. attributing the usability google or apple provides. namely an open source solution using an equal structure, wherein the apple certificate or the google account become merely a drop in option.

is there something like this?

fpseverino commented 1 day ago

Not that I've heard of. That would require third-party wallet apps, which are now starting to come on the European App Store. Also note that Google Wallet passes are very different, they are based on JWTs.

wibed commented 1 day ago

Do have an idea which third party wallet apps, are acutally coming to the european app store

fpseverino commented 1 day ago

I've heard PayPal and some crypto companies are interested, but only for payments, not for digital passes obviously. I think that for those Apple and Google Wallet are here to stay.