Code Monkey home page Code Monkey logo

fbi's Introduction

The passwords encryption utility. Do not save your passwords as plaintext!

$ sudo pip install fbi
$ sudo pip install git+git://github.com/korniichuk/fbi#egg=fbi
$ sudo pip install -U fbi

or:

$ sudo pip install --upgrade fbi
$ sudo pip uninstall fbi
$ git clone git://github.com/korniichuk/fbi.git
$ cd fbi
$ sudo pip install .

First, init the fbi utility:

$ fbi init

Second, encode password in a file:

$ fbi encode PATH

Example:

$ fbi encode ~/.key/netezza.enc

Third, decode password from a file:

>>> from fbi import getpassword
>>> path = "~/.key/netezza.enc"
>>> passwd = getpassword(path)

A command line interface for managing an encoded password files.

The standard output for –help:

$ fbi -h

or:

$ fbi --help

For information on using subcommand "SUBCOMMAND", do:

$ fbi SUBCOMMAND -h

or:

$ fbi SUBCOMMAND --help

Example:

$ fbi init -h

The standard output for –version:

$ fbi -v

or:

$ fbi --version
$ fbi init
$ fbi encode PATH

Where:

  • PATH -- destination path.

Example:

$ fbi encode /home/titan/.key/netezza.enc

or:

$ fbi encode ~/.key/netezza.enc
$ fbi decode PATH

Where:

  • PATH -- source path.

Example:

$ fbi decode /home/titan/.key/netezza.enc

or:

$ fbi decode ~/.key/netezza.enc

Note

Do not use $ fbi decode PATH for your automation scripting.

A Python client for managing an encoded password files.

>>> from fbi import getpassword
>>> getpassword(path)

Where:

  • path -- source path.

Example:

>>> from fbi import getpassword
>>> path = "/home/titan/.key/netezza.enc"
>>> passwd = getpassword(path)

or:

>>> from fbi import getpassword
>>> path = "~/.key/netezza.enc"
>>> passwd = getpassword(path)

fbi's People

Contributors

korniichuk avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.