Oriel

Use your password manager

Fill a sign-in form

Oriel can fill sign-in forms from your password manager, entirely from the keyboard. It works with pass and with the 1Password CLI, and it never stores, saves or logs a password itself. Password filling is available in the Linux browser. On macOS and Windows, the keys tell you it's unavailable.

In NAV mode, press zl on a sign-in page. Oriel looks up the entries that match the site and fills the username and password. If several entries match, a list opens: type to filter it, then press RET to choose one. Press zL to open the list even when only one entry matches. ESC cancels a lookup or passphrase prompt. Oriel never submits the form; that stays your choice.

Keys

Command

What it fills

zl

:password-fill

The username and password

zu

:password-fill-username

The username only

zp

:password-fill-password

The password only

zo

:password-fill-otp

A one-time code, from the entry's TOTP secret

zL

:password-choose

The username and password, always choosing from the list

On a two-step form, where the password field appears after the username, press zl on each step. After a fill, Oriel reuses the entry you chose in that tab for five minutes while the site still matches, so the second step doesn't ask again. zL always asks. From PAGE mode, press ESC to return to NAV first.

When the fill is done, the status bar names what was filled and where it came from, such as Filled username and password for example.com ยท pass: websites/example.com/reader.

Which pages Oriel fills

Oriel matches entries against the site's real address, never its title or how it looks, so a lookalike site doesn't match your bank's entry. It only fills over HTTPS, or plain HTTP on your own machine (localhost and loopback addresses). Otherwise the status bar says Password filling requires HTTPS or loopback HTTP.

An entry for example.com also matches its subdomains, such as login.example.com. Parent matches stop at public suffixes such as github.io, so one user's site never matches another's, and nondefault ports must match. To keep only exact host matches, turn subdomain matching off:

(config
  password-match-subdomains: #f)

Oriel fills visible fields in the page itself, never inside an embedded frame, even one from the same site. If the sign-in form is in a frame, the status bar says no login form was found. When the frame comes from another site, the message also names that site. When a page on HTTPS would send your login to a plain HTTP address, Oriel refuses with This form would send the login unencrypted.

Use :password-matches to see which entries match the current page and whether each one matches the exact host or a parent domain. It's the quickest way to check your store's layout.

Organize your pass store

With no configuration, Oriel uses pass with the store in PASSWORD_STORE_DIR, or ~/.password-store if that's unset. It looks for host names in the paths of your encrypted entries, without decrypting anything. The deepest path component that looks like a host supplies the match. When something follows the host in the path, the entry's name is the username.

pass entry

Matches

Username fallback

websites/example.com/reader

example.com

reader

example.com/reader

example.com

reader

example.com

example.com

The entry's username field

work/login.example.com:8443/reader

login.example.com:8443

reader

Put the password on the first line. On another line, add a field such as username: reader@example.com when the filename differs from the username. Oriel checks username:, user:, login: and email: in that order. A TOTP entry can include its otpauth:// URI on a separate line, which is what zo uses.

If :password-matches misses an entry such as work/example-login, use pass's move command to put it beneath the site's host. Then revisit the login page and run :password-matches again.

pass mv work/example-login websites/example.com/reader

When GnuPG needs your passphrase, Oriel asks for it in its own masked prompt at the bottom of the window. The passphrase goes straight to GnuPG and is wiped from Oriel's memory afterward. GnuPG's agent can cache the unlock, so later fills don't ask again until the cache expires. The prompt gives up after two minutes. If you prefer the agent's own pinentry window, set pinentry: 'external on the pass backend.

Add 1Password

Install the 1Password CLI and add your account to it with op account add. Choose an account shorthand and put its account password on the first line of a pass entry dedicated to the CLI, such as tools/1password-account. Oriel unlocks that entry with pass, then signs in to 1Password with it. The entry itself never shows up as a match.

Then list both backends in password-backends:. This complete configuration keeps pass and adds a 1Password account:

(config
  password-backends: (list
                       (pass-backend)
                       (op-backend
                         account: "personal"
                         password-entry: "tools/1password-account")))

The 1Password backend needs a pass backend for its account password. If that entry lives in a different store than your default one, configure that store with (pass-backend directory: "/home/you/other-store") and give the same path to the 1Password backend's pass-directory:.

Oriel uses the account's Login items, including any Private vault the CLI can read. Each item needs a website URL to match a page. Use vaults: with a list of vault names or IDs to narrow the search. Oriel refreshes its in-memory list of items, which holds no passwords, when it's older than ten minutes and needed for a fill. Run :password-refresh to refresh it immediately, or :password-status to check the configured backends.

The session token stays in Oriel's memory and expires after inactivity; Oriel signs in again on the next fill. 1Password CLI manages its own account configuration and encrypted session files.

Turn password filling off

To turn password filling off entirely, give it no backends. The keys then report that password filling is disabled.

(config
  password-backends: '())