Skip to main content

The password encryption utility

Project description

Introduction

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

Installation

Install the fbi utility from PyPI

$ sudo pip install fbi

Install the fbi utility from GitHub

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

Upgrade the fbi utility from PyPI

$ sudo pip install -U fbi

or:

$ sudo pip install --upgrade fbi

Uninstall the fbi utility

$ sudo pip uninstall fbi

Development installation

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

Quickstart

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)

CLI client

A command line interface for managing an encoded password files.

Help

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

Version

The standard output for –version:

$ fbi -v

or:

$ fbi --version

Init the fbi utility

$ fbi init

Encode password in a file

$ fbi encode PATH

Where:

  • PATH – destination path.

Example:

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

or:

$ fbi encode ~/.key/netezza.enc

Decode password from a file

$ fbi decode PATH

Where:

  • PATH – source path.

Example:

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

or:

$ fbi decode ~/.key/netezza.enc

Client library

A Python client for managing an encoded password files.

Get password from an encoded file

>>> 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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fbi-0.1a7.tar.gz (7.4 kB view details)

Uploaded Source

File details

Details for the file fbi-0.1a7.tar.gz.

File metadata

  • Download URL: fbi-0.1a7.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for fbi-0.1a7.tar.gz
Algorithm Hash digest
SHA256 191023581a092f09c33d6ade7cef05d13773c9f6b53474530c78b32b68f78ff4
MD5 71fe6a65648c2721dfaccce33c7662d7
BLAKE2b-256 efe7c1a3bac2cb46cdb8292b42fab811d6be1d5c4f065bd7ecfd4c3cb28f3479

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page