|
cDigitalSignatures
Tunnelblick and Digital Signatures
Most Tunnelblick users do not need to use the information on this page. This page is primarily for those who create Deployed versions of Tunnelblick. Digital SignaturesTunnelblick uses two different types of digital signatures:
The rest of this page describes Tunnelblick.app's digital signatures, not update signatures. Why Digital Signatures Are UsefulIf the user agrees, Tunnelblick stores usernames, passwords and passphrases for VPNs in the user's Keychain so that the user does not have to enter them each time a connection is made. For security reasons, OS X is careful when applications access the user's Keychain. Usually only the original application that created a Keychain item is allowed access to it. This means that when an application is updated, even though it has the same name, OS X will recognize that it is different and ask the user if the program may access the Keychain. In OS X 10.5 and higher, if the updated application is "digitally signed" by the same signer as the original application, OS X will allow it to access the Keychain without asking the user. How Digital Signatures Can Cause Problems for Deployed Versions of TunnelblickIf an application is digitally signed, and a change is made to the application, the signature becomes invalid. That can cause problems for Deployed versions of Tunnelblick, because the process of creating a Deployed version involves changing the application by adding a folder inside the application itself. If such a folder is added to a signed version of Tunnelblick, the signature becomes invalid, and OS X will refuse the program access to it's Keychain items, without asking the user. The way to solve this problem is to add the folder to an unsigned version of Tunnelblick. OS X will then ask the user if the "new" program can access the Keychain items. The maker of a Deployed version of Tunnelblick can then take the unsigned, already modified Tunnelblick and sign it himself/herself. That will give users the benefits of digital signatures. Digital Signatures and Program UpdatesWhenever Tunnelblick is updated by the built-in update process, the update itself will only be digitally signed under certain circumstances.
Tunnelblick versions 3.2beta12 (2011-05-16) and higher are digitally signed, so updates to them that are signed will not require the user's permission to access the Keychain. If an earlier version (for example, 3.1.7) is replaced by a signed version, OS X will ask the user to allow the new version to access Keychain items. But after that, further replacements by signed versions will be replacing a signed version with another version signed by the same signer (the Tunnelblick Project), and so will OS X will allow access without asking the user. PLEASE USE THE TUNNELBLICK DISCUSSION GROUP FOR COMMENTS OR QUESTIONS | |