Code signing: what changed
Revision 3 to 4. Removed lines have a minus sign; added lines have a plus sign.
| Old | New | Line | |
|---|---|---|---|
| 1 | - | ||
| 2 | - | ||
| 3 | - | ||
| 1 | + | Every piece of code may contain viruses, spyware, trojan horses, backdoors, rootkits, keyloggers and other kinds of malware. The risk has dramatically increased with the advent of wide-area networks like the internet, where it is easy to download programs of unknown or unverified origin. | |
| 4 | 2 | ||
| 5 | - | ||
| 3 | + | One measure to reduce the effects of malicious code is that some modern operating systems require executables and scripts that have been downloaded from the internet to be signed with a developer's certificate. Code signing confirms the identity of the software author and guarantees that the code has not been altered or corrupted since it was signed by use of a cryptographic hash. Therefore, it ensures both authenticity and integrity of the executables. | |
| 6 | 4 | ||
| 7 | - | ||
| 5 | + | <img src="codesigning.png" title="Overview of code-signing a program written with Lazarus and Free Pascal" width="600" /> | |
| 8 | 6 | ||
| 9 | - | ||
| 10 | - | ||
| 7 | + | Code signing is required in [[Portal:iOS|iOS]] and modern versions of [[Portal:Mac|macOS]]. Microsoft implements for [[Portal:Windows|Windows]] a form of code signing based on Authenticode to include information about developers and their code with their programs through the use of digital signatures. | |
| 11 | 8 | ||
| 12 | 9 | ## See also | |
| 13 | 10 | ||
| 14 | - | ||
| 15 | - | ||
| 11 | + | - [[Code Signing for Windows]] | |
| 12 | + | - [[Code Signing for macOS]] | |
| 16 | 13 | ||
| 17 | 14 | --- | |
| 18 | - | ||
| 15 | + | *From the Free Pascal wiki, page "Code signing", as it stood on 2021-02-12 after a change by Skalogryz, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* |
