Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sigstore/verify

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sigstore/verify

Verification of Sigstore signatures

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created

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

FAQs

Package last updated on 14 Oct 2024

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc