@digitalbazaar/ecdsa-multikey
Advanced tools
Changelog
1.8.0 - 2024-10-02
id
and controller
properties when importing key types of
JsonWebKey
or JsonWebKey2020
.Changelog
1.7.0 - 2024-03-17
publicKeyJwk
feature via from()
.package.json
.@context
array values in multikeys.Changelog
1.6.0 - 2023-11-07
fromRaw()
to import a key pair from a named curve
, secretKey
,
and publicKey
.keyAgreement
param in from()
to options
to enable named
usage ({keyAgreement: true|false}
) for better API.Changelog
1.5.0 - 2023-11-05
remotePublicKey
param to publicKey
for deriveSecret()
to get
better compatibility with WebKMS Client KeyAgreementKey interface. The
param can still be passed as remotePublicKey
but this is considered
deprecated.Changelog
1.4.0 - 2023-11-05
raw
option to key pair export()
. Based on the requested public/secret
key, the output will include the raw bytes for the public/secret key using
the properties publicKey
and/or secretKey
, respectively. The public key
will be output using the compressed format.Changelog
1.3.0 - 2023-10-31
keyAgreement
option to generate()
to generate ECDH keys instead of
ECDSA keys. This module needs a better name than ecdsa-multikey
as it also
supports key agreement keys, but only for keys based on curves that are also
compatible with ECDSA. Note that a key should only be used for ECDSA or ECDH
(key agreement), not both, so calling this module ecdsa-multikey
is a bit
misleading as you can also generate a key that is to only be used for key
agreement.deriveSecret()
API for keyAgreement
enabled keys.Changelog
1.2.0 - 2023-10-30
fromJwk()
and toJwk()
for importing / exporting key pairs using JWK.