Skip to content
Browser JavaScript interface for signing with hardware tokens
JavaScript HTML Makefile
Find file
Latest commit b365163 @allanjuhanson allanjuhanson Merge pull request #15 from open-eid/hwcrypto_cleanup
Make more readable

README.md

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.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
Something went wrong with that request. Please try again.