{"id":15592161,"url":"https://github.com/derhuerst/authenticated-pipe","last_synced_at":"2025-04-15T05:29:19.700Z","repository":{"id":57187131,"uuid":"168856125","full_name":"derhuerst/authenticated-pipe","owner":"derhuerst","description":"Make sure you receive data from the right person.","archived":false,"fork":false,"pushed_at":"2021-03-31T19:37:17.000Z","size":19,"stargazers_count":7,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-10T22:04:42.287Z","etag":null,"topics":["authentication","cli","pipe","sign"],"latest_commit_sha":null,"homepage":"https://github.com/derhuerst/authenticated-pipe#authenticated-pipe","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/derhuerst.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-02T17:13:11.000Z","updated_at":"2023-02-06T07:30:44.000Z","dependencies_parsed_at":"2022-08-28T13:00:21.898Z","dependency_job_id":null,"html_url":"https://github.com/derhuerst/authenticated-pipe","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fauthenticated-pipe","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fauthenticated-pipe/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fauthenticated-pipe/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derhuerst%2Fauthenticated-pipe/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/derhuerst","download_url":"https://codeload.github.com/derhuerst/authenticated-pipe/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249013642,"owners_count":21198421,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["authentication","cli","pipe","sign"],"created_at":"2024-10-02T23:56:16.745Z","updated_at":"2025-04-15T05:29:19.683Z","avatar_url":"https://github.com/derhuerst.png","language":"JavaScript","funding_links":["https://github.com/sponsors/derhuerst"],"categories":[],"sub_categories":[],"readme":"# authenticated-pipe\n\n**Make sure you receive data from the right person.** Goes hand in hand with [`airpaste`](https://npmjs.com/package/airpaste) (to magically send your data through the local network) and [`private-pipe`](https://npmjs.com/package/private-pipe) (to encrypt the data during transport).\n\n*Note:* This library has *not* been cryptographically audited. Use it with a grain of salt.\n\n[![npm version](https://img.shields.io/npm/v/authenticated-pipe.svg)](https://www.npmjs.com/package/authenticated-pipe)\n[![build status](https://api.travis-ci.org/derhuerst/authenticated-pipe.svg?branch=master)](https://travis-ci.org/derhuerst/authenticated-pipe)\n![ISC-licensed](https://img.shields.io/github/license/derhuerst/authenticated-pipe.svg)\n[![support me via GitHub Sponsors](https://img.shields.io/badge/support%20me-donate-fa7664.svg)](https://github.com/sponsors/derhuerst)\n[![chat with me on Twitter](https://img.shields.io/badge/chat%20with%20me-on%20Twitter-1da1f2.svg)](https://twitter.com/derhuerst)\n\n\n## Installation\n\n```shell\nnpm install authenticated-pipe -g\n```\n\nOr run it directly using [npx](https://npmjs.com/package/npx).\n\n\n## Usage\n\n```\nSign \u0026 send data:\n\tauth-pipe send\nReceive data:\n\tauth-pipe receive [peer-public-key]\n```\n\nAs an example, we're going to send `secret message` via [`airpaste`](https://npmjs.com/package/airpaste), encrypted via [`private-pipe`](https://npmjs.com/package/private-pipe) and authenticated via `auth-pipe`:\n\n```shell\n# machine A\necho 'secret message' | auth-pipe send | private-pipe 'secret password' | airpaste\n# Your identity: 😄📊👉💧🙏💬\n\n# machine B\nairpaste | private-pipe 'secret password' | auth-pipe receive 😄📊👉💧🙏💬\n# Sender identity 😄📊👉💧🙏💬 matches.\n# secret message\n```\n\n\n## Contributing\n\nIf you have a question or need support using `authenticated-pipe`, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to [the issues page](https://github.com/derhuerst/authenticated-pipe/issues).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderhuerst%2Fauthenticated-pipe","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fderhuerst%2Fauthenticated-pipe","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderhuerst%2Fauthenticated-pipe/lists"}