Socket
Socket
Sign inDemoInstall

authenticode

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    authenticode

Get authenticode information from Windows runnables


Version published
Weekly downloads
176
increased by147.89%
Maintainers
1
Install size
21.9 kB
Created
Weekly downloads
 

Readme

Source

Authenticode for Node.JS

Installation

# with npm
npm install authenticode

# with yarn
yarn add 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.

import { getAuthenticode, SignatureStatus } from 'authenticode'

async function isSigned(path: string): Promise<boolean> {
  const { Status } = await getAuthenticode(path)
  return Status === SignatureStatus.Valid
}

Keywords

FAQs

Last updated on 12 Oct 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc