Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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)

Release files for fbi 0.1a7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fbi 0.1a7
File Size Uploaded
fbi-0.1a7.tar.gz 7.4 kB Details

Release files / fbi-0.1a7.tar.gz

Download URL fbi-0.1a7.tar.gz
Size 7.4 kB
Tags Source
SHA-256 checksum
How to use checksums
191023581a092f09c33d6ade7cef05d13773c9f6b53474530c78b32b68f78ff4
BLAKE2b-256 checksum
How to use checksums
efe7c1a3bac2cb46cdb8292b42fab811d6be1d5c4f065bd7ecfd4c3cb28f3479
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1a7 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page