パッケージの詳細

@digitalbazaar/ed25519-signature-2018

digitalbazaar8.4kBSD-3-Clause4.1.0

Ed25519Signature2018 Linked Data Proof suite for use with jsonld-signatures.

Decentralized, Linked Data

readme

Ed25519Signature2018 suite (@digitalbazaar/ed25519-signature-2018)

Build status Coverage status NPM Version

Ed25519Signature2018 Linked Data Proof suite for use with jsonld-signatures.

Table of Contents

Background

For use with https://github.com/digitalbazaar/jsonld-signatures v8.0 and above.

Security

TBD

Install

  • Browsers and Node.js 14+ are supported.

To install from NPM:

npm install @digitalbazaar/ed25519-signature-2018

To install locally (for development):

git clone https://github.com/digitalbazaar/ed25519-signature-2018.git
cd ed25519-signature-2018
npm install

Tests

npm run test

Note: To run tests for karma, you will need to have Google Chrome installed, or otherwise set CHROME_BIN environment variable to Chromium.

Usage

TBD

Contribute

See the contribute file!

PRs accepted.

If editing the Readme, please conform to the standard-readme specification.

Commercial Support

Commercial support for this library is available upon request from Digital Bazaar: support@digitalbazaar.com

License

New BSD License (3-clause) © Digital Bazaar

更新履歴

@digitalbazaar/ed25519-signature-2018 Changelog

4.1.0 - 2024-10-15

Changed

  • Update dependencies.

4.0.0 - 2022-10-25

Changed

  • BREAKING: Use jsonld@8 and jws-linked-data-signature@3 to get better safe mode protections when canonizing.

3.0.0 - 2022-06-07

Changed

  • BREAKING: Convert to module (ESM).
  • BREAKING: Require Node.js >=14.
  • Update dependencies.
  • Lint module.

2.1.0 - 2022-02-15

Added

  • Add compatability for 2020 keys.

2.0.1 - 2021-04-15

Fixed

  • Make ed25519-signature-2018-context a regular dependency.

2.0.0 - 2021-04-12

Changed

  • BREAKING: Update to jsonld-signatures v9 dependency (which removes the verificationMethod param from suite constructor. It is now strictly initialized from key.id or signer.id. Also increases validation on either key or signer/verifier parameters.)
  • Enable this suite to enforce compatible contexts on sign().

Fixed

  • Add missing signer and verifier parameters to the LinkedDataSignature constructor. This issue caused this.signer in subclasses to be undefined.

1.0.0 - 2021-03-18

Added