Skip to content

A Node.js C++ Addons instance with Express.js to support spice-html5-gm.

Notifications You must be signed in to change notification settings

spice-gm/sm-crypto-plugin-spice-html5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sm-crypto-plugin-spice-html5

This project is a simple sm-crypto plugin written using Node.js C++ Addons & sm2-EVP & express, created for the spice NTLS reconstruction project, especially for the for spice-html5-gm.

The main features of this project is to help spice-html5 to handle the Ticket when connecting to spice server. Include obtaining the pubKey from server, encrypt the password use SM2 and send to it with the required format.

How to use it:

# install modules
npm install

# install node-gyp
npm install -g node-gyp

node-gyp configure

# node-gyp build
node-gyp build

# start express service
node app.js

About

A Node.js C++ Addons instance with Express.js to support spice-html5-gm.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published