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

@mattrglobal/cose

Package Overview
Dependencies
Maintainers
0
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mattrglobal/cose

An implementation of RFC8152

  • 3.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

CBOR Object Signing and Encryption

This repository is home to an incomplete implementation of RFC 8152 written in Typescript.

Initialising submodules

This project uses a Git submodule from the repository at github.com/cose-wg/Examples.git. That repository contains test cases. So you will need to pull them down for tests to run. To activate the submodule, run the following:

git submodule init
git submodule update

Signing

The following algorithms are supported for COSE_Sign1

Signing AlgorithmDescription
ES256Elliptic Curve Digital Signature Algorithm using the P-256/brainpoolP256r1 curve with SHA-256
ES384Elliptic Curve Digital Signature Algorithm using the P-384/brainpoolP384r1 curve with SHA-384
ES512Elliptic Curve Digital Signature Algorithm using the P-512/brainpoolP512r1 curve with SHA-512
EdDSAElliptic Curve Digital Signature Algorithm using the Ed25519/Ed448 curve with SHA-512
PS256RSA Probabilistic Signature Scheme (RSASSA-PSS) with SHA-256
PS384RSA Probabilistic Signature Scheme (RSASSA-PSS) with SHA-384
PS512RSA Probabilistic Signature Scheme (RSASSA-PSS) with SHA-512

Licensing

See here for licence information

FAQs

Package last updated on 12 Sep 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