elba

ELBA/SAY ~E Your data is kept confidential through Elba.

ELBA/SAY ~E Only you know your service passwords.

ELBA/SAY ~E Your notes will remain secret.

ELBA/SAY ~E The files will be hidden under lock and key.

Elba is a password manager, note keeper and file encryptor for your terminal.

Passwords, Markdown notes and encrypted files live in one vault file on your own machine. Open source, written in Rust.

Alpha. Version 2.0.0, codename Whiskey Uannar. Elba has not been independently audited yet. Keep a backup of your vault file.

What Elba is

Elba keeps three kinds of secrets in a single encrypted file: service passwords, notes and files.

You open the vault in the terminal with one master password, work with it from the keyboard, and lock it again.

Nothing leaves your computer. Elba contains no network code, so it cannot sync, phone home or update itself. The interface is small, in the spirit of the classic Unix tools: you add, view and edit entries, and the cryptography stays out of the way.

What it keeps

passwords/
Logins for your services. Generate strong passwords, copy one to the clipboard for 20 seconds, and show it on screen only when you ask. Elba locks itself after you stop typing.
notes/
A Markdown editor is built in: headings, bold, italic, links, lists, code and tables, with a live preview. Notes are never written to temporary files, and unsaved text is saved when the vault locks.
files/
Encrypt a single file or a whole folder. To edit one, open it in a RAM session, work in your usual application, and save it back encrypted. When the vault locks, the plain copy is wiped.

How the vault is protected

Master password
Turned into a key with Argon2id. Elba calibrates the cost so unlocking takes about a second on your machine, and you can recalibrate it later.
Encryption
XChaCha20-Poly1305. Every 64 KiB block is authenticated, so changed, swapped or cut-off data is detected instead of silently accepted.
One file
The vault grows in 8 MiB steps and unused space is random, so the number and size of your items stay hidden. Item names are encrypted too.
In memory
Keys and secrets are wiped after use, core dumps are disabled, and the clipboard is cleared automatically.
Network
No telemetry, no automatic updates and no background connections.
Self-test
elba --selftest checks the cryptographic primitives against known-answer vectors.

What Elba does not protect against

  • Malware or a keylogger on your computer while the vault is open.
  • A compromised operating system or firmware.
  • Someone forcing you to unlock the vault.
  • A weak master password. Use a long passphrase.
  • Old copies of the vault file: a copy made before you changed the password still opens with the old one.

Install and run

Elba runs in a terminal on macOS and Linux. Building it needs a current stable Rust toolchain. A Homebrew formula is planned and is not available yet.

# build from source
$ git clone https://github.com/Berliner187/elba-whiskey.git
$ cd elba-whiskey
$ cargo build --release

# try it with a throwaway vault first
$ ELBA_HOME=/tmp/elba-try ./target/release/elba

On first start Elba shows its logo, then asks you to create a master password. There is no reset: if you forget it, the data is gone. Without ELBA_HOME the vault is stored at ~/.elba/vault.elba.

History

  1. December 2

    pwManager

    The first commits of pwManager, a small password manager. This is where the project starts.

  2. April 15

    Elba is founded

    Elba becomes the successor to pwManager, with its own repository and name.

  3. Python · unmaintained

    Delta, the Python years

    Over more than a year Elba grows into a terminal vault for passwords, notes and file encryption. The Delta branch, named after the river delta, is the line that carried it through this period.

  4. Alpha

    Whiskey Uannar, version 2.0

    Elba is rewritten from scratch in Rust: a new encrypted file format with Argon2id and XChaCha20-Poly1305, a built-in Markdown editor, and RAM sessions for files. Same idea as Delta, terminal first.

  5. Next

    Planned

    Fenech Vannrora, version 3.x

    A full desktop app with keyboard shortcuts, after the terminal release has been debugged and tested. The name comes from a note written more than five years ago.

Questions

Does Elba sync to the cloud?

No. Elba has no accounts and no network code. Your vault is one file on your disk. If you want it on another machine, copy the file yourself.

Where is my data stored?

In a single file, by default ~/.elba/vault.elba. Use elba --vault PATH to keep it somewhere else, for example on an encrypted USB drive.

Which systems does it run on?

macOS and Linux, in any modern terminal. Windows is not supported. A native macOS app is planned for the 3.x line.

Can I recover a forgotten master password?

No. There is no reset and no backdoor. If the password is lost, the data is gone. Choose a long passphrase and keep a copy of the vault file.

Has Elba been audited?

Not independently, not yet. The project is in alpha. It uses well-known libraries instead of custom cryptography, ships with self-tests, and documents what it does not protect against, but you should not trust it with anything you cannot afford to lose.

Is it free and open source?

Yes. Elba is released under the MIT license and the source code is public.

What happened to the Python version?

The Python line, called Delta, is no longer maintained and has weak key derivation. It stays on GitHub for history. Version 2.0 is a new encrypted format written in Rust, so there is no importer yet. Do not keep using Delta for anything important.

Why Rust?

Memory safety, a small fast binary, and good tooling for wiping secrets from memory. The core is written without unsafe code.