Lurker News
I got my Apple developer certificate and built a simple app to solve a problem I had. One shop I buy from doesn't have Apple Wallet passes. Since you need signed certificates to build these very simple things, I created a minimal app that signs them. It's available if you need it too. It won't scan cards with AI - you manually enter the barcode, which I think makes it less prone to error.

Comments (115) 40 threads

Show all comments

Showing thread 7 of 40

alessandropier1 reply#
Love the idea, thanks for sharing!

One obvious concern here is data privacy, since the pass details are sent to the server. Any chance it would be possible to run everything in the browser, without sending data back to the server?

alentodorov3 replies#
not really. the .pkpass needs to be signed. you can build the file locally but you won't be able to load it in apple wallet.
alessandropier#
yeah was expecting that, thanks! do not use my gym pass pls
zeckalpha1 reply#
Please be clearer about this on the site!
matrss1 reply#
The site is pretty clear: "Free and works in browser", "Processed locally", "Private". But apparently the site (sorry for the harsh word, but I can't interpret it any other way) lies.

Continue this thread — 1 reply

gruez1 reply#
I'm not exactly sure how passes are signed, but in most digital signature schemes, you only sign the hash of the message, not the actual contents. Therefore you could conceivably do this in a privacy preserving way by only passing in the hash to be signed, which would allow the server to generate a valid signature without knowing the contents.
alentodorov5 replies#
Apple Wallet passes use CMS signatures. you're right that only hashes are signed. but Apple requires an official Developer certificate ($99/year) with a private key that can't be exposed to browsers. for true privacy, each user would need their own cert. and defeats the "free" goal. and if you have a dev certificate it's trivial to generate one on your own machine.

Continue this thread — 5 replies