Skip to content

krupani/passbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

passbox

A Ruby based minimalistic offline cli password manager using strong AES encryption.

Table of Contents

1. Introduction

Passbox is a Ruby based cli password manager which uses strong AES encryption and is completely offline.

I had initially created this little password manager utility for my personal use and one fine day a few colleagues saw it, liked it and suggested to share it with them and here it is, so yeah, its pretty minimalistic but gets the job done and that too securely.

If you feel you can improve passbox, feel free to drop in your suggestions or even better, fork it and start contributing.

Note: I wouldn't say its uncrackable as nothing in the world is.

2. Installation

Passbox currently only supports Linux/MacOS based envvrionments.

2a. Homebrew

Easiest way to install on macos is using Homebrew

$ brew tap krupani/homebrew-formulae
$ brew install passbox

2b. Rubygems

If you have a working installation of ruby, passbox can be installed as a rubygem simply by using gem command.

$ gem install passbox 

3. Usage

As mentioned above, passbox is a cli based utility. Below are few basic functions which you can perform.

3a. Initial Setup

Before starting, you need to setup the passbox utility which will include creating a base directory and creating your master password.
This can be easily done using the init command as follows:

$ passbox init 

This will ask you create a master password, its recommended you create this one time master password really complex and more than 10 characters to make it really difficult to brute force.

3b. Add a new password

Once passbox is setup, you can start adding password. It can be done using the create command which can be used as follows:

$ passbox add 

This command will give you an option to chose the type of secret you want to add into passbox:

  • Login
    • Username*
    • Password*
    • Url (optional)
    • Note (optional)
  • Pin (Pin)
    • Pin*
    • Note (optional)
  • Credit / Debit Card
    • Card Number*
    • Card Expiry*
    • Card CVV*
    • Card Pin (optional)
    • Note (optional)

After chosing an option above, the utility will ask you 2 questions:

  • to create a new account name.
  • to enter your master password for authentication purposes.

3c. Read an existing password

Once you have saved your password, you can view them as and when needed, authenticating using your master password and entering your account name of the password you want to view, as follows :

$ passbox read 

This command will ask you 2 questions:

  • to enter you account name for which you want to view the password.
  • to enter you master password for authentication purposes.

3d. Update an existing password

You can update your account details (username and password) when needed, authenticating using your master password and entering your account name you need to update :

$ passbox update 

This command will first ask you 2 questions:

  • First to enter you account name for which you want to update the password.
  • Next, to enter you master password for authentication purposes.

Then depending the account type, appropriate fields will be asked to be filled. If you wish to not change the exisitng value, just hit enter and move onto next field or enter a new value to update the field to new value.

3e. Delete an existing account

You can delete an existing account, if you do not need it anymore. It can be done using the delete command and does not require any kind of authentication.

$ passbox delete 

This command will first ask you 2 questions:

  • First to enter you account name which you want to delete.
  • Next, to enter you master password for authentication purposes.

3f. List all available accounts

You can list all accounts you have using the following command without any authentication required.

$ passbox list 

4. Contributing

Ideas and suggestions are always always most welcome. Please fork this code and feel free to add any updates, suggestions etc and create a pull request.

5. Issues

If you face any problem related to syntax, usability, documentation then please raise an issue . Please note to add details of the issue you are facing.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages