Skip to content

Password Management application with Electron Js.

License

Notifications You must be signed in to change notification settings

ianmora97/passafe

Repository files navigation

Passafe

Password Management application with Electron Js. Safe your passwords encrypted with Passafe.

To run beta releases you should have Node js and NPM to start the app:

# For node_modules/
$ npm install

# To start the app
$ npm start

Node Scripts

Database

  • To interact with Database directly you will use npm run wpc -- <args>:
# Wipe all database and recreate tables
$ npm run wpc -s -- w

# Wipe all database, recreate tables, insert some examples
$ npm run wpc -s -- ci

This scripts will erase your database, be careful


Masterkey

  • To interact with the masterkey you will use npm run mkc -- <args>:
# Set Master Key to 12345
$ npm run mkc -s -- smk=12345


Electron Packager

Compile the app you should use Electron Packager

Installing Electron Packager: Run these commands in the terminal from the app folder:

# for use in npm scripts
$ npm install electron-packager --save-dev

# for use from cli
$ npm install electron-packager -g

Once installed, we're going to package for each OS.

For MacOS:

# From a script
$ npm run packageOSX

# From Electron CLI
$ electron-packager . --overwrite --platform=darwin --arch=x64 --icon=images/icon.icns --prune=true --out=release-builds

For Windows:

# From a script
$ npm run packageWIN

# From Electron CLI
$ electron-packager . Passafe --overwrite --platform=win32 --arch=ia32 --icon=images/icon.ico --prune=true --out=release-builds

For Linux:

# From a script
$ npm run packageLINUX

# From Electron CLI
$ electron-packager . Passafe --overwrite --platform=linux --arch=x64 --icon=images/icon.png --prune=true --out=release-builds

Made it by Ian Mora Rodriguez.