10.1. How Code Signing Works

Signing code and making 100 percent sure that a program will not harm us is a complex operation with some pretty serious theory behind it. When dealing with signed executable code, we have two problems: the integrity of the code and its origin. We need to know that a script has not been tampered with. For example, we have to make sure somebody has not intercepted Mike's script and inserted a del C:\*.* command or something even worse. In addition, we need to know for certain that the code originated with the same person that it claims to be from. In other words, was that script claiming to come from Mike really written by Mike?

10.1.1. Guaranteeing Script Integrity

To verify that we are working with a script in ...

Get Pro Windows PowerShell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.