Total Pageviews

Saturday 5 March 2022

Encryption SDK for JavaScript

Tanker client-side encryption SDK for JavaScript。

https://tanker.io/

Overview · Core · Identity · Browser support · Other platforms · Contributing · License

Overview

Tanker is an open-source solution to protect sensitive data in any application, with a simple end-user experience and good performance. No cryptographic skills are required to implement it.

Tanker Core

Tanker Core is the foundation, it provides powerful end-to-end encryption of any type of data, textual or binary. Tanker Core handles multi-device, identity verification, user groups and pre-registration sharing.

PackageVersion
@tanker/client-browserbrowser_npm-badge
@tanker/client-nodenodejs_npm-badge

Detailed changes for each release are documented in the Release Notes.

Tanker Core usage example

For more details and advanced examples, please refer to:

Or fiddle with the quickstart examples to see the Tanker SDKs integrated in a collection of demo apps.

Identity management

End-to-end encryption requires that all users have cryptographic identities. The following packages help to handle them:

Tanker Identity is a server side package to link Tanker identities with your users in your application backend. It is available in multiple languages. This repository only contains the Javascript version.

Tanker Verification UI is a UI element that wraps a Tanker Core instance in order to handle the verification process automatically. It takes the form of a modal that will appear when needed, send the verification code by email to the user, and prompt them to verify their identity with the code.

Tanker Fake Authentication reduces the friction when starting new projects, by delaying the integration of Tanker Identity in your application server.

PackageVersion
@tanker/identityidentity_npm-badge
@tanker/verification-uiverificationui_npm-badge
@tanker/fake-authenticationfakeauth_npm-badge

Browser support

The Tanker JavaScript SDKs support the following platforms:

  • Chrome, Firefox, Safari, Microsoft Edge, and Internet Explorer 11
  • Node.js 12+

The Tanker JavaScript SDKs are constantly tested with all of the supported browsers via unit and functional tests.

We use BrowserStack to automate testing on many browser & OS combinations.

BrowserStack logo

Other platforms

Tanker is also available for your mobile applications: use our open-source iOS and Android SDKs.

Contributing

We welcome feedback, bug reports, and bug fixes in the form of pull requests.

To build the JavaScript SDKs yourself, please follow the steps below.

Prerequisites

Install Yarn version 1.0 or greater.

Use this command to check the Yarn version installed on your system:

yarn -v

Install dependencies

Clone this repository:

git clone https://github.com/TankerHQ/sdk-js.git

Install dependencies:

cd sdk-js && yarn

Test and lint

Our codebase uses the following ES6 features: async / awaitimport / export, and classes with typescript for type-checking and with eslint for linting.

To check that the code is correct and to launch the tests in Node.js, use:

yarn proof
from  https://github.com/TankerHQ/sdk-js
----
Tanker is an open-source solution to protect sensitive data in any application, with a simple end-user experience and good performance. No cryptographic skills are required to implement it. Tanker FileKit is an end-to-end encrypted file storage service for apps.

No comments:

Post a Comment