Skip to content

vellotis/hwcrypto.js

 
 

Repository files navigation

hwcrypto.js

Browser JavaScript interface for signing with hardware tokens

  • Bower version
  • Build Status

Get started

The easiest way for managing JavaScript-s on a website is with Bower:

    $ bower install --save hwcrypto

Alternatively you can download the files from release area.

hwcrypto.js itself does not do much, it depends on trusted platform code (installed separately and often running outside of the browser) to do the heavy lifting.

Features

Version 0.0.9 has built-in support for:

Supports all latest browsers:

  • Chrome 40+
  • Firefox
  • IE 8+*
  • Safari

*Support for IE8-IE10 requires a Promises polyfill; IE8 and IE9 also require TypedArray polyfill. Complimentary code is bundled into hwcrypto-legacy.js:

Distribution and installation of the necessary platform components is out of scope of this project.

For further instructions on how to use the interface please have a look at API specification

For background information about the project and the eID web task force, please head to the wiki

Support

For any bugs in the JavaScript component, please open an issue on Github.

ChangeLog

  • 0.0.11
    • Refactored src to use ES6 instead of ES5. ES6 is transpiled to ES5 for distribution
    • Started using eslint instead of jshint
  • 0.0.9
    • Have only typed arrays and promises in the legacy helper
  • 0.0.8
    • Make internal API also asynchronous, to work with old IE-s
    • Have a convenience-bundle hwcrypto-legacy.js

About

Browser JavaScript interface for signing with hardware tokens

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 84.2%
  • HTML 14.6%
  • Makefile 1.2%