Skip to main content

heyl

Unofficial command-line client for heylogin — retrieve passwords, TOTP codes and custom fields from your vault in a shell or a script.

Status

Early implementation — the phone-swipe login and the session surface now work against a real account. Every derivation link is confirmed live against the key heylogin publishes, and every vault decrypts; DESIGN.md §6 is where that evidence lives, and how it is produced.

It is not usable as a password manager yet — reading logins is the next milestone.

Install, or run without installing — prebuilt for Linux, macOS (Apple Silicon) and Windows, on x86_64 and ARM64, released nightly when main changed (CHANGELOG.md):

uvx heyl --help             # run the latest release
uv tool install heyl        # or put `heyl` on PATH

Plain binaries are attached to each GitHub release.

What the binary does today:

heyl session create                     # pair with a QR swipe, and register as a device
heyl session unlock                     # ask your phone, and wait for the approval
heyl session list                       # what this machine has, and whether it is unlocked

Every verb also answers a machine. --format json prints one compact document per line — --format json-pretty indents them — and session create prints its pairing URL before it waits, so a wrapper can draw its own code or open the link while the swipe is pending:

heyl --format json session list | jq -r '.[] | select(.unlockedUntil) | .slot'

The shapes are not a compatibility promise yet; the read path fixes them at M6.

That is the whole of it. A handful of further commands — the raw gRPC surface, the hierarchy walk, and recovery-code recovery — exist only in a build made with --features dev, because they are there for reverse-engineering the protocol rather than for using a password manager. tools/README.md describes them.

A session is what your phone approves, and what it names when it asks. Each has its own keys, its own unlock policy and its own entry in the heylogin app, so an agent and you can hold opposite policies at once:

heyl session create claude-code --strict     # its own device, re-asks every access
HEYL_SESSION=claude-code heyl get -l github.com # your phone: "approve claude-code?"

The name on that approval screen is the only thing your phone shows about who is asking — which is why sessions are named for their callers.

When heyl has to wait for your phone, it also opens a small window in front of everything, naming the session as your phone shows it ("heyl CLI requests passwords"). The window disappears once you approve; its Cancel button aborts. That way an agent's request doesn't go unnoticed in a terminal nobody is watching. On Linux the window is zenity, or kdialog on KDE. --ui terminal turns it off. --ui-cmd runs your own command instead (unlocks only): it gets HEYL_UI_SESSION / HEYL_UI_HEADING / HEYL_UI_MESSAGE, is told approved / timeout / failed on stdin as the wait ends, and can print cancel to abort:

HEYL_UI_CMD='notify-send "$HEYL_UI_HEADING" "$HEYL_UI_MESSAGE"' heyl get -l github.com

heyl session create is how you sign in. There is no heyl login yet, and no unattended one at all — see below.

DESIGN.md Architecture, security model, command surface, milestones M0–M11
HEYLOGIN_SPEC.md The protocol: client bundles, live probing, and heylogin's own whitepapers, marked by source
crates/heyl-crypto/ §2 primitives, deriveSecretFromSeed, the context salts — deterministic, mlocked, no unsafe
crates/heyl-domain/ Identifiers, locks, heymerge-compatible timestamps, the authenticator → profile → vault key chain
crates/heyl-ports/ The port traits — the backend, keychain, terminal, clock, randomness
crates/heyl-app/ The use cases: login, unlock, doctor. No transport, no OS, no runtime
crates/heyl-grpc/ gRPC-Web adapter; the only crate that sees the generated types
crates/heyl-cli/ The heyl binary and the composition root
descriptors/ The schema as a FileDescriptorSet — 19 services, 123 methods, extraction verified lossless
crates/heyl-cli/tests/scenarios/ The e2e suite: each file is a list of heyl invocations, the traffic they made, and what they printed
crates/heyl-grpc/tests/protocol/ Recorded gRPC-Web exchanges: the happy path and three error shapes
tools/ Development tools, and the --features dev workbench. The only code here that talks to a real account
vendor/tonic-web/ Upstream, with a one-line fix for dropped gRPC-Web trailers

What is established. The primitives are checked against RFC 8032, RFC 4231 and FIPS 180-4 vectors. The composition — which context salt, concatenated in which order, truncated where — is the part no offline test can settle, because fixtures built with our own contexts stay green under a wrong one. That is why the workbench has a command that derives each key and compares it against the public half heylogin publishes. Run live, it passes on every link.

There is still no unattended login, and that is a protocol constraint rather than missing work. heylogin offers two ways in without a phone present, and neither is available to a third-party client:

  • Recovery code — using it makes the server delete your push authenticator and its locks (heylogin's Security Whitepaper §6.5.4; we confirmed it by losing one). It costs a phone pairing every time, so it is a way back in rather than a way to run unattended — and it is a thing to do in heylogin's own app, not through a third-party client, which is why heyl's own recovery command is not in a release build.
  • A stored session — the unlock expires the next day at 02:00, and the server deletes the blob after 30 hours regardless.

So a headless box needs a human swipe roughly daily. Device-to-device unlock (M10) is the path that changes this.

The .proto sources are derived output and are not committed. To read the schema:

python3 -m venv .venv && ./.venv/bin/pip install protobuf
./.venv/bin/python tools/extract-protos.py render      # -> proto/*.proto (gitignored)

What it will do

heyl get -l github.com -f password
heyl totp aws-prod
heyl list --format json | jq -r '.[].title'
heyl run --project github.com/mrh1997/heyl/prod -- terraform apply

Read-only by design: it never creates, edits or deletes logins. The single exception is registering itself as a named, revocable device in your heylogin app.

Security posture

The 32-byte seed that unlocks everything is never stored at rest. The keychain holds a session token, a session private key and a session id — the first two decrypt nothing on their own, and the third only names us. Each invocation fetches the backend's session-unlock blob, recovers the seed in memory, uses it, and zeroizes.

The backend stops serving that blob when the unlock expires, so heylogin's re-swipe control is enforced server-side rather than trusted to this client. See DESIGN.md §3.

License

Apache-2.0. See NOTICE.

Metadata

Release files for heyl 2026.11.22

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

Built distributions (wheels)

Table of built distributions (wheels) for heyl 2026.11.22
File Actions
heyl-2026.11.22-py3-none-win_arm64.whl Python 3 none Windows ARM64 Details for heyl-2026.11.22-py3-none-win_arm64.whl
heyl-2026.11.22-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for heyl-2026.11.22-py3-none-win_amd64.whl
heyl-2026.11.22-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.musllinux_1_2_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64, Linux musl 1.2+ x86-64 Details for heyl-2026.11.22-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.musllinux_1_2_x86_64.whl
heyl-2026.11.22-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.musllinux_1_2_aarch64.whl Python 3 none Linux musl 1.2+ ARM64, Linux glibc 2.17+ ARM64 Details for heyl-2026.11.22-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.musllinux_1_2_aarch64.whl
heyl-2026.11.22-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for heyl-2026.11.22-py3-none-macosx_11_0_arm64.whl

Total release size: 13.9 MB

Release files / heyl-2026.11.22-py3-none-win_arm64.whl

Download URL heyl-2026.11.22-py3-none-win_arm64.whl
Size 2.7 MB
Tags Python 3 Windows ARM64
SHA-256 checksum
How to use checksums
8e4dba7dbf812964f40b38f945afcb0512fca5ef5a7349a4d4b9d410dff9c214
BLAKE2b-256 checksum
How to use checksums
cf26f89a11a37e16b4a5dcb218eb2f6285f2b31176ac1845520348dda89ef066
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / heyl-2026.11.22-py3-none-win_amd64.whl

Download URL heyl-2026.11.22-py3-none-win_amd64.whl
Size 2.9 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
a07af715b6044cba23cd576ae88a58ab42f66bfe5dfcc69cab1d0845c36f37d8
BLAKE2b-256 checksum
How to use checksums
e844882f4fe34f20848e476dd10463a6c488c55a33f82b1bedd0a5eeb8e03a24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / heyl-2026.11.22-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.musllinux_1_2_x86_64.whl

Download URL heyl-2026.11.22-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.musllinux_1_2_x86_64.whl
Size 3.1 MB
Tags Linux glibc 2.17+ x86-64 Linux musl 1.2+ x86-64 Python 3
SHA-256 checksum
How to use checksums
eae3ffd10a50cebdfc6533536dd1cc38d65ba147a3495a22169e9c0bc102585b
BLAKE2b-256 checksum
How to use checksums
01680b21a0e6b8cc6fb59a123f1116bb2f8c93f897e6a6c0508959a7b6a8961e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / heyl-2026.11.22-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.musllinux_1_2_aarch64.whl

Download URL heyl-2026.11.22-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.musllinux_1_2_aarch64.whl
Size 2.9 MB
Tags Linux glibc 2.17+ ARM64 Linux musl 1.2+ ARM64 Python 3
SHA-256 checksum
How to use checksums
dc4358ac4924ff1e73e889ca34e3dc33ebdc67c6788ff719d92960fd64f6fe33
BLAKE2b-256 checksum
How to use checksums
a06a68804a06ea29cfd27559cf9d2fa9a6bc2a72efa0a8f2b1d379150496efb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / heyl-2026.11.22-py3-none-macosx_11_0_arm64.whl

Download URL heyl-2026.11.22-py3-none-macosx_11_0_arm64.whl
Size 2.2 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
cf44cee39d83c319bc5fd225457274ecba0a96f06e86051c55f032cfe4882f4d
BLAKE2b-256 checksum
How to use checksums
43c01410ff1c4002bb271a023defe3b9e6c4b9bbb55ee0ca3dfbcf334c607b12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Security for heyl 2026.11.22

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 5 files in this release have been uploaded with provenance metadata.

Select from 5 files

Attestation for heyl-2026.11.22-py3-none-win_arm64.whl

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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