@mindsquare/secure-store-api
v0.0.9
Published
Secure storage API for Mindsquare, using encryption and IPFS
Downloads
21
Readme
How to install
Ensure that you are logged in into npm, and that you have access to this private module: https://www.npmjs.com/package/@mindsquare/secure-store-api
Add to package.json:
"secure-store-api": "@mindsquare/secure-store-api"And run npm install.
Important Note: Webcrypto, Chrome, and SSL
If you see "Uncaught TypeError: Cannot read property 'generateKey' of undefined" in your browser console, it is probably because it can not access the Webcrypto API (used by JS-IPFS).
The webcrypto API is only available for SSL hosts, with an exception for localhost.
My workaround is to use an SSH tunnel: ssh [email protected] -L 5100:localhost:5100 -N
How to run tests
npm test