Skip to content

Releases: evervault/evervault-node

v6.3.1

19 Feb 12:16
6bfb8af
Compare
Choose a tag to compare

Patch Changes

  • 947115b: Correct logic for parsing domains from URLs supplied to the http request function: add fallback support for path alongisde pathname.

    Fix bug in parsing raw strings supplied to request to URLs by correcting object keys.

v6.3.0

18 Feb 09:41
8378a2b
Compare
Choose a tag to compare

Minor Changes

  • 720476d: Extend Relay outbound/forward proxy support in Node to include the ability to filter requests by path using decryptionDomains.

    Requests can be filtered at the path level by appending an absolute or wildcard path to the decryption domains option, following similar wildcard logic to the domains
    themselves. For example:

    // Existing behaviour will be observed, proxying requests to the host 'api.com'.
    const ev = new Evervault('app_uuid', 'api_key', {
      decryptionDomains: ['api.com'],
    });
    
    // Will only proxy requests to host 'api.com' which have a path starting with '/users/'.
    const ev = new Evervault('app_uuid', 'api_key', {
      decryptionDomains: ['api.com/users/*'],
    });
    
    // Will only proxy requests to host 'api.com' which have an exact path of '/settings'.
    const ev = new Evervault('app_uuid', 'api_key', {
      decryptionDomains: ['api.com/settings'],
    });

    This change is compatible with the existing hostname wildcard behaviour of decryptionDomains.

v6.2.3

06 Aug 13:16
bc3891c
Compare
Choose a tag to compare

Patch Changes

v6.2.2

29 Jul 10:58
0b38fe3
Compare
Choose a tag to compare

Patch Changes

  • 945920d: Remove phin as a dependency as it is unmaintained

v6.2.1

24 Jul 11:06
5062c97
Compare
Choose a tag to compare

Patch Changes

v6.2.0

18 Jul 09:49
b90cb49
Compare
Choose a tag to compare

Minor Changes

  • 1d40263: Encrypt with just app id

v6.1.0

18 Jul 09:42
ae2d0b9
Compare
Choose a tag to compare

Minor Changes

  • 14748f9: Replace ASN.1 encoding library
  • f3db4d3: Added createEnclaveHttpsAgent to return an EnclaveAgent class which extends https.Agent to manage HTTPS connections. This Agent can be passed into HTTP clients like Axios to attest a connection to an Enclave.

Patch Changes

v6.0.0

22 Feb 18:54
c7d6c59
Compare
Choose a tag to compare

Major Changes

  • 0feef7d: The Evervault Attestation Bindings have been removed as an external dependency including them instead as a plugin at runtime.

    The attestation bindings now require an explicit opt-in. For customers that do not use Evervault Enclaves, there should be no change to how you use the SDK.

    If you use Evervault Enclaves, you'll need to install the Attestation Bindings separately:

    npm i @evervault/attestation-bindings

    After installing the attestation bindings, you can use the existing enableEnclaves function using the bindings as the second parameter:

    const Evervault = require('@evervault/sdk');
    const attestationBindings = require('@evervault/attestation-bindings');
    
    const evervault = new Evervault('app_id', 'api_key');
    await evervault.enableEnclaves(
      {
        'my-enclave': {
          // attestation measures...
        },
      },
      attestationBindings
    );

v5.1.6

16 Feb 17:15
d4e6c49
Compare
Choose a tag to compare

Patch Changes

  • 5ffb2ba: Declare helper functions in pcrManager as consts.

v5.1.5

25 Jan 09:16
e7b7ee2
Compare
Choose a tag to compare

Patch Changes

  • d0c277c: Correct validation of PCR data given to enableEnclaves - allow for functions to be passed as values in the map.
  • 73464ab: Make polling jobs scheduled by the SDK headless to allow processes to exit cleanly.