Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@aws-crypto/integration-browser

Package Overview
Dependencies
Maintainers
8
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-crypto/integration-browser

latest
npmnpm
Version
4.2.1
Version published
Maintainers
8
Created
Source

AWS Encryption SDK for Javascript Browser Integration

This repository is for compatibility tests with the other versions of the AWS Encryption SDKs. It's purpose is to facilitate testing the set of test vectors the AWS Encryption SDK. The test vectors can be found at https://github.com/awslabs/aws-encryption-sdk-test-vectors. Manifest information can be found at https://github.com/awslabs/aws-crypto-tools-test-vector-framework.

It does not provide any useful functionality upon which you may want to build any dependencies. Instead you want to use it to verify environments (make sure the AWS Encryption SDK works on them). It uses karma under the hood to run in a browser.

To test browser compatibility

  • Download a manifest zip file from aws-encryption-sdk-test-vectors or a supported format.
  • Select or download both an encrypt manifest list and key manifest from aws-crypto-tools-test-vector-framework.
  • Execute the CLI to run the integration tests for decrypt and encrypt.

integration-browser is installed as a dependency or globally

decrypt tests

integration_browser decrypt -v path/to/test/vectors/zip --karma

encrypt tests

integration_browser encrypt -m "path/or/url/to/manifest" -k "path/or/url/to/key" -o "url/to/decrypt/oracle" --karma

integration-browser has been checked out local

decrypt tests

npm run build_fixtures -- decrypt -v path/to/test/vectors/zip --karma

encrypt tests

npm run build_fixtures -- encrypt -m "path/or/url/to/manifest" -k "path/or/url/to/key" -o "url/to/decrypt/oracle" --karma

Test Integration

Just run

npm test

to run the tests.

FAQs

Package last updated on 10 Apr 2025

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