Changelog
7.0.0 - 2022-06-01
Changelog
6.0.0 - 2021-05-05
.from()
now routes to .fromKeyDocument()
if the serialized
key object has a @context
. This update is to make for more secure behavior
when creating key pair instances from "untrusted" key objects (say, fetched
from the web etc).Changelog
5.1.0 - 2021-04-01
CryptoLD.fromKeyId
API.LDKeyPair.fromKeyDocument
API.Changelog
5.0.0 - 2021-03-16
LDVerifierKeyPair
subclass. Fold signer()
and
verifier()
methods into parent LDKeyPair
class.export()
is now a sync function (no reason for it to be
async).keyPair.addPrivateKey()
and keyPair.addPublicKey()
.
Subclasses will just need to override export()
directly.The breaking changes in v5 do not affect any application code, they only affect
key pair plugins such as
https://github.com/digitalbazaar/ed25519-verification-key-2020.
No changes necessary in application code upgrading from v5
from v4
.
Changelog
4.0.1 - 2020-08-01
sodium-native
dependency.Changelog
4.0.0 - 2020-08-01
.use()
API for installing and specifying individual key
types..owner
instance property.passphrase
instance property, and the
encrypt()
and decrypt()
methods (these are no longer used).publicKey
and privateKey
properties..publicNode()
to .export({publicKey: true})
..export()
now requires explicitly stating whether you're
exporting public or private key material.verifyFingerprint()
to used named params.addPublicKey()
and addPrivateKey()
to used named
params.