Release

1.7.7

Your agents can get through two-factor sign-in: clavitor-cli totp works out the code locally, and the vault never sees the secret.

Clavitor 1.7.7

The CLI and the proxy move to 1.7.7. The headline: your agents can now get through two-factor sign-in on their own. clavitor-cli totp works out the current one-time code on the agent's machine, and the vault never sees the secret.

One-time codes

  • clavitor-cli totp, given an entry's title, prints its current one-time code on one line, nothing else. Capture it where you need it, as in code=$(clavitor-cli totp "GitHub"); don't print it on its own.
  • The CLI fetches the entry, decrypts its one-time-password field with its own key (Credential Encryption) and computes the code itself. The vault holds the secret encrypted and never sees it.
  • It reads a plain secret (6 digits, 30 seconds) or an otpauth:// link, whose own settings it follows: 6 to 8 digits, a period from 1 second to 1 hour, SHA-1, SHA-256 or SHA-512.
  • The title must match one entry exactly; case doesn't matter. --fuzzy also accepts part of the title or of one of the entry's URLs.
  • Each call is one read of the entry, so it is recorded in your audit log and counts toward the client's read limits.
  • It refuses, printing no code, when the entry has no one-time-password field or more than one, when the field won't decrypt, when the field is protected by Identity Encryption (an agent can't open it), or when the value isn't a one-time-password secret. See totp.
  • This fixes the known issue in 1.7.5 and 1.7.6: clavitor-cli totp used to fail on entries whose secret is stored as a normal encrypted field, which is how the vault page, the CLI and import store it.

Proxy 1.7.7

  • The proxy moves to 1.7.7 with the CLI. Nothing in it changes.