Socket
Socket
Sign inDemoInstall

@sigstore/verify

Package Overview
Dependencies
3
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @sigstore/verify

Verification of Sigstore signatures


Version published
Weekly downloads
2.5M
decreased by-2.28%
Maintainers
2
Install size
427 kB
Created
Weekly downloads
 

Package description

What is @sigstore/verify?

The @sigstore/verify npm package is designed for verifying the integrity and origin of software artifacts using Sigstore, a project aimed at improving the security of the software supply chain. It allows developers to verify signatures and certificates of software packages, ensuring they have not been tampered with and are from a trusted source.

What are @sigstore/verify's main functionalities?

Verifying signatures of software artifacts

This feature allows you to verify the signature of a software artifact against a public key to ensure its integrity and authenticity. The code sample demonstrates how to use the `verifySignature` function to perform this verification.

const { verifySignature } = require('@sigstore/verify');

async function verify() {
  const result = await verifySignature('path/to/artifact', 'path/to/signature', 'path/to/publicKey');
  console.log(result);
}

verify();

Verifying certificates

This functionality enables the verification of a certificate to ensure it is valid and has been issued by a trusted certificate authority. The provided code sample shows how to use the `verifyCertificate` function for this purpose.

const { verifyCertificate } = require('@sigstore/verify');

async function verify() {
  const result = await verifyCertificate('path/to/certificate');
  console.log(result);
}

verify();

Other packages similar to @sigstore/verify

Readme

Source

@sigstore/verify · npm version CI Status Smoke Test Status

A library for verifying Sigstore signatures.

Prerequisites

  • Node.js version >= 16.14.0

FAQs

Last updated on 04 Apr 2024

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