{"id":46880319,"url":"https://github.com/bitwarden/remote-access","last_synced_at":"2026-03-10T21:03:11.414Z","repository":{"id":340741334,"uuid":"1119310590","full_name":"bitwarden/remote-access","owner":"bitwarden","description":"TSD-2253","archived":false,"fork":false,"pushed_at":"2026-03-05T15:37:37.000Z","size":357,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-05T16:38:23.960Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bitwarden.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-19T04:38:57.000Z","updated_at":"2026-03-05T15:37:39.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/bitwarden/remote-access","commit_stats":null,"previous_names":["bitwarden/remote-access"],"tags_count":0,"template":false,"template_full_name":"bitwarden/template","purl":"pkg:github/bitwarden/remote-access","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitwarden%2Fremote-access","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitwarden%2Fremote-access/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitwarden%2Fremote-access/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitwarden%2Fremote-access/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitwarden","download_url":"https://codeload.github.com/bitwarden/remote-access/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitwarden%2Fremote-access/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30355223,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T15:55:29.454Z","status":"ssl_error","status_checked_at":"2026-03-10T15:54:58.440Z","response_time":106,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-03-10T21:03:10.786Z","updated_at":"2026-03-10T21:03:11.405Z","avatar_url":"https://github.com/bitwarden.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bitwarden Remote Access\n\n## Crate Structure\n\n* `bw-error` - Error handling utilities for bw_remote. Re-exports the `bw_error` proc macro and provides the `FlatError` trait.\n* `bw-error-macro` - Proc macro for generating error types with `FlatError` trait implementation. Simplified version of `bitwarden-error-macro` that only supports the `flat` error type for CLI use.\n* `bw-noise-protocol` - Multi-device Noise-based Protocol implementation using the NNpsk2 pattern for secure channel establishment with PSK-based authentication. \n* `bw-proxy` - Zero-knowledge WebSocket proxy server enabling secure rendezvous between remote and user clients. Runs as a standalone binary with environment-based configuration.\n* `bw-rat-client` - Remote and user client implementations for connecting through the proxy using the Noise Protocol.\n* `bw-remote` - CLI interface for connecting to a user-client through a proxy to request credentials over a secure Noise Protocol channel. Manages session caching and device keypair storage.\n\n## Building\n\nRun `cargo build` in this directory. This is a standalone workspace and has no dependencies on any other Bitwarden components. Requires Rust 1.85+.\n\n## Running\n\n### Proxy Server\n\nRun the `bw-proxy` binary to start the WebSocket proxy server:\n\n```\ncargo run -p bw-proxy\n```\n\nThe proxy binds to `127.0.0.1:8080` by default. Set the `BIND_ADDR` environment variable to override.\n\n### CLI\n\nRun `bw-remote` to use the demo CLI. This top-level driver command lets you explore the functionality of the SDK:\n\n```\nConnect to a user-client through a proxy to request credentials over a secure channel\n\nUsage: bw-remote [OPTIONS] [COMMAND]\n\nCommands:\n  cache    Manage the session cache\n  connect  Connect to proxy and request credentials (default)\n  listen   Listen for remote client connections (user-client mode)\n  help         Print this message or the help of the given subcommand(s)\n\nOptions:\n      --proxy-url \u003cPROXY_URL\u003e  Proxy server URL [default: ws://localhost:8080]\n      --token \u003cTOKEN\u003e          Token (rendezvous code or PSK token)\n      --session \u003cSESSION\u003e      Session fingerprint to reconnect to (hex string)\n      --no-cache               Disable session caching\n      --debug-log              Enable debug logging for the multi-device Noise protocol\n  -h, --help                   Print help\n  -V, --version                Print version\n```\n\n### Demo Flow\n\n1. Start the proxy server with `cargo run -p bw-proxy`\n2. Start the user-client side with `cargo run -p bw-remote -- listen`\n3. Enter the outputted PSK from step 2 into the `--pair-code` argument of `bw-remote connect` and type a client ID\n4. Now `bw-remote`, taking the role of the remote client, will let you type in domains to request credentials for, and you will approve them on the `listen` side from step 2\n5. Observe that the credential was sent to the remote side\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitwarden%2Fremote-access","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitwarden%2Fremote-access","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitwarden%2Fremote-access/lists"}