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

Earlier comments
hn111#
One CSS tip: make sure the input fields have a minimum font-size of 16px. That way iOS won’t zoom-in the page when focussing one.
ivanjermakov2 replies#
I solved this issue with Wallet Creator: https://apps.apple.com/app/id1486573384

Didn't know it was this simple to just provide a download for prepared file. Is it open source?

hopelite2 replies#
I don’t see it that way. I would rather have a browser based, one-off tool that can generate a .pkpass served up for local “installation”, not installing an app that is necessary to separately manage the passes separately and very well could be tracking its users.
mbirth1 reply#
MakePass is an app that creates independent/proper Wallet *.pkpass files. You can completely customise the pass appearance according to Apple’s specs.

(Not sure whether the current licensing offerings are worth it, though. I’ve got grandfathered in from before it had AI support.)
https://pvieito.com

kimos3 replies#
This looks like it would work well, but it’s a subscription. It makes no sense to charge me a yearly fee to make one pass file for my library card.

Continue this thread — 3 replies

fragmede2 replies#
What happens when they website goes away? The app I can save and use locally after the website is defunct.
CamJN#
Well for this particular functionality whatever you use (website, app, etc) must have a valid apple developer certificate, so either the website must be up, the app's backend server must be up, or an offline app's bundled certificate must still be valid. All of these things will eventually stop being true regardless of the form the app/website takes.
nickthegreek#
I don’t believe the apps do it local either. They need to send to server to properly sign the pkpass. A server is being used regardless.
kimos#
I tried using this. The camera didn’t work in several ways, it didn’t understand barcodes, and crashed a half dozen times before I just deleted it.
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

CraftThatBlock2 replies#
This also works for Google Wallet, you could change the messaging around it to indicate that.
alentodorov2 replies#
nice! don't have an android device to test - did u download it and it worked?
viiralvx#
I did! It worked just fine for my gym pass
StrangeSound#
I wouldn't worry too much about android - you can very easily add cards manually.
subscribed1 reply#
OK, stupid question, what is the thing this utility does that can't be achieved with scanning a physical pass with barcode or entering the details manually into a Google Wallet?

Because I don't see the.... utility if it?
Unless this achieves something specific I don't know.

radicality2 replies#
I don’t know about Google Wallet, but for iOS Wallet, it is not possible to create a new entry there yourself as a normal user. It has to be signed with a $99/yr certificate, so this thing does the signing for you. The utility is that whatever you created now lives with the rest of the passes in one place.
nickthegreek1 reply#
and they are accessible without unlocking your device.

Continue this thread — 1 reply

subscribed#
Oh, okay, thanks.

So yeah, in Google Wallet you can just add the loyalty card like that (scan the qr/bat ode or type the number), and then have it synchronised to your account (to have it available on your other phone for example).
Sure, not every kind of the pass can be added like this (not movie tickets or boarding passes), but all that matters.

Load more comments