Get authenticode information from Windows runnables
npm install authenticode``bashwith npm
npm install authenticode
What is this about
Authenticode
is Microsoft’s code-signing mechanism which allows identifying the publisher of
executables (binaries or Powershell scripts).
This module wraps the Powershell cmdlet _Get-Authenticode_ to return
information about signatures of executable files to Node.JS.
`ts
import { getAuthenticode, SignatureStatus } from 'authenticode'async function isSigned(path: string): Promise {
const { Status } = await getAuthenticode(path)
return Status === SignatureStatus.Valid
}
``