This project was created to compliment an article I wrote on AirPair.com. It demonstrates how to use the Forge JavaScript cipher-text library and Firebase to create a 1Password, LastPass, or KeePass competitor with Ionic Framework.
- Apache Cordova 4.0+
- Firebase 2.2.2+
- AngularFire 1.0.0+
- Ionic CLI 1.3.11+
Download this example project from GitHub and run the following commands:
$ ionic platform add android
The above command will add the Android build platform.
This application requires you to have your own Firebase instance registered with Email & Password authentication enabled.
Firebase permissions must be set as follows in the Security & Roles section:
{
"rules": {
"users": {
".write": true,
"$uid": {
".read": "auth != null && auth.uid == $uid"
}
}
}
}
With your Firebase instance id in hand, open www/js/app.js and find the following line:
fb = new Firebase("https://INSTANCE_ID_HERE.firebaseio.com/");
You will want to replace INSTANCE_ID_HERE with your actual instance id.
With this example project configured on your computer, run the following from the Terminal or command prompt:
$ ionic build android
Install the application binary to your device or simulator.
The application is currently composed of six parts:
- Firebase sign in
- Master password creation
- Master password unlocking
- Password categories
- Password lists
- Password creation and viewing
You will be required to sign in to Firebase to use this application. There is no offline compatibility in the current release.
Passwords are encrypted before storing on Firebase and transferred over a secure HTTPS connection.
Tweet me on Twitter - @nraboy
Nic Raboy's Code Blog - https://blog.nraboy.com
Ionic Framework - http://www.ionicframework.com
AngularJS - http://www.angularjs.org
Apache Cordova - http://cordova.apache.org