Skip to main content

Sala lets you store passwords and other bits of sensitive plain-text information to encrypted files on a directory hierarchy. The information is protected by GnuPG’s symmetrical encryption.

Basic usage

Passwords are stored in a directory hierarchy, each file containing one secret.

Commands:

sala init

Initialize a password store

sala get FILE...

Read secret(s)

sala set FILE...

Create or modify secret(s)

sala FILE...

Read or modify, depending on whether the first file exists or not

For more information, see sala(1) and http://www.digip.org/sala/.

Installation

Install sala by invoking:

pip install sala

To install from source, invoke:

python setup.py install

Requirements:

Suggested packages:

  • pwgen: With the default configuration, if pwgen is installed, it’s used to suggest good passwords to the user

Development

The test suite is in the test/ directory. Use the run-tests.py script to run the test suite. For more info, invoke:

python run-tests.py --help

cram 0.5 or newer is required to run the tests. If coverage is installed, the script can also show test coverage.

There documentation in the doc/ directory. To build the documentation source to a regular manpage and a HTML manpage, invoke

make -C doc

in the top directory. Docutils 0.8 or newer is required.

Release history

Version 1.2

Released on 2011-12-31

  • Add -r option for raw output format.

  • Allow setting the store location with SALADIR environment variable and -C command line option.

  • Add support for Python 3.2, drop support for Python 2.5.

  • Drop the GnuPGInterface dependency. Sala now implements its own GnuPG wrapper.

  • Add man page (in ReST format), move most of README there.

  • Improve portability.

  • Add a regression test suite (cram is required to run the tests).

Version 1.1

Released on 2011-02-02

  • Add support for Python 2.5.

  • Read configuration from $XDG_CONFIG_HOME/sala.conf, too.

Version 1.0.1

Released on 2011-01-19

  • Distribute README.rst, LICENSE and CHANGES with the source tarball.

Version 1.0

Released on 2011-01-18

  • Initial release.

Download files

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

Source Distribution

sala-1.2.tar.gz (15.1 kB view details)

Uploaded Source

File details

Details for the file sala-1.2.tar.gz.

File metadata

  • Download URL: sala-1.2.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sala-1.2.tar.gz
Algorithm Hash digest
SHA256 6515cd9dcf739f1b842607f90016e9ddf9c1a45c3442887b3f4b7061e3fd1dc2
MD5 f4956c789a33fe9c2af8739222d7e5f1
BLAKE2b-256 c0149d78aecb61322a2dfb00ac591f81b5fc5b9981e6eeb25fdc40f47c7552da

See more details on using hashes here.

Release history Release notifications | RSS feed

1.3

1 file

This release

1.2 This release

1 file

1.1

1 file

1.0.1

1 file

1.0

1 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