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

@sigstore/sign

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sigstore/sign

Sigstore signing library

  • 3.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5.1M
increased by4.3%
Maintainers
2
Weekly downloads
 
Created

What is @sigstore/sign?

@sigstore/sign is an npm package that provides functionalities for signing and verifying software artifacts using Sigstore, a project that aims to improve the security of the software supply chain by enabling the signing of software artifacts in a transparent and verifiable manner.

What are @sigstore/sign's main functionalities?

Signing Artifacts

This feature allows you to sign software artifacts. The code sample demonstrates how to sign an artifact using the `sign` function from the @sigstore/sign package.

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

async function signArtifact() {
  const artifact = 'path/to/artifact';
  const signature = await sign(artifact);
  console.log('Signature:', signature);
}
signArtifact();

Verifying Signatures

This feature allows you to verify the signatures of software artifacts. The code sample demonstrates how to verify a signature using the `verify` function from the @sigstore/sign package.

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

async function verifySignature() {
  const artifact = 'path/to/artifact';
  const signature = 'signature-string';
  const isValid = await verify(artifact, signature);
  console.log('Is valid:', isValid);
}
verifySignature();

Other packages similar to @sigstore/sign

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