Experiments · A Lovely Computer · Chapter 11
A signature and one byte
Code signing and provisioning profiles on the iPhone
Theme
Try itA signature and one byte
Everything is computed in your browser; nothing is sent anywhere.
About this experiment
A program on an iPhone carries two signatures: the developer’s on the program and Apple’s on the profile that names the phones it may run on. Before launch the phone checks one against the other.
Here the signatures are computed by WebCrypto in your browser with toy keys made in the tab. Change a byte and sign again, and the program runs. Write a phone into the profile yourself and no key of yours will help. After a year, or seven days with a free account, the program stops although not one byte has changed.
From the book
A Lovely Computer · Chapter 11
The Signature
In 2015 Apple allowed people to do without the ninety-nine dollars. Since then Xcode will sign a program for your own phone for anyone who has an Apple account, and no notary is needed for it. The profile in that case is issued for seven days, and there may be three such programs on the phone. On the eighth day the program has to be built and installed again.