2 responses to “PowerShell Authenticode Signatures and trust…”

  1. Steven Murawski

    I like the idea of a community backed CA, but the problem I see with that is it makes the maintainers of the script repository also responsible for verifying that contributors to the repository.

    On the flip side, if the goal just verifying the integrity of the script, that can be valuable, and I would fall towards running a community CA, whether self-signed or not (sorry, I’ve got no connections with any CA’s).

    Thanks for bringing this up Jaykul!

  2. emet

    Jaykul,

    I really like your ideas. Really the scripts with built in dependencies thing is brilliant. I have written bash scripts before that automatically check for dependencies and download them if they are not met, but it actually never occurred to me there could be created standardized way with little logic to accomplish the same thing.

    As far as the security concerns, I am not an expert in encryption and hashing/signing algorithms, but I can assume it can be done for free as packages are typically required to be signed to work with apt-get without throwing a scary error. By default apt-get in Ubuntu for instance will only find and install software signed by select Ubuntu developers. I assume they use this “web of trust” thing, but as I said, I didn’t study how it’s accomplished yet.

    But we can have a trusted group of people who evaluate all the scripts and cmdlets to ensure they are malware-free, then sign them using this method. Like apt-get if the auto dependency checker encounters a dependency which it can not verify a trusted signature for, it should fail.