Single page web app that can decrypt data and display it to the user. The encrypted data can be served from a static directory or from an API. The decryption takes place on the client. Decryption is done using Forge (by default using AES-CBC 256 bit, PBKDF2 and HMAC-SHA256). The encrypted data can be generated using for example InputMaster.
- Browse to https://rdragon.github.io/cyptro (or follow the build steps)
- Press
Log in
without providing a password. This takes you to the static version of the app - Select the entry named
test
by clicking on it - Enter the password
a
and pressDecrypt
- Click on
pass
to copy a password to your clipboard
- Run
npm install
- Copy
js/config.sample.js
tojs/config.js
- Run
node_modules/.bin/webpack-dev-server
- Browse to http://localhost:8080
This allows you to run the static version of the app. If you want to make use of the PHP API you'll need some environment that supports PHP.
To update bundle.js
run node_modules/.bin/webpack -p
.
There is an optional PHP API included that can serve the encrypted data. It supports a single user, a custom delay between login attempts, and the encrypted data can be updated through the API itself (InputMaster uses this API to automatically upload all passwords of the user).
- Forge for the client-side decryption
- Webpack and Babel to transform the ES6 source code into ES5
- clipboard.js
- jQuery