{"id":18715019,"url":"https://github.com/tallylab/twilio-auth","last_synced_at":"2026-05-07T18:33:50.622Z","repository":{"id":41651644,"uuid":"260242410","full_name":"tallylab/twilio-auth","owner":"tallylab","description":"Second-factor auth that generates deterministic NaCl keys from Twilio/Authy","archived":false,"fork":false,"pushed_at":"2022-12-12T16:35:04.000Z","size":1630,"stargazers_count":0,"open_issues_count":14,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-19T11:45:52.563Z","etag":null,"topics":["authy","ed25519","express","nacl","sms","twilio","voice"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tallylab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"tallylab"}},"created_at":"2020-04-30T15:01:18.000Z","updated_at":"2021-03-10T17:24:17.000Z","dependencies_parsed_at":"2023-01-27T22:16:10.477Z","dependency_job_id":null,"html_url":"https://github.com/tallylab/twilio-auth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tallylab/twilio-auth","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tallylab%2Ftwilio-auth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tallylab%2Ftwilio-auth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tallylab%2Ftwilio-auth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tallylab%2Ftwilio-auth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tallylab","download_url":"https://codeload.github.com/tallylab/twilio-auth/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tallylab%2Ftwilio-auth/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32750666,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":["authy","ed25519","express","nacl","sms","twilio","voice"],"created_at":"2024-11-07T13:07:17.730Z","updated_at":"2026-05-07T18:33:50.601Z","avatar_url":"https://github.com/tallylab.png","language":"JavaScript","funding_links":["https://github.com/sponsors/tallylab"],"categories":[],"sub_categories":[],"readme":"# Twilio Auth\n\u003e Second Factor Auth for Distributed Systems using Twilio\n\nThis module hashes and salts a valid and verified phone number and returns a NaCL sr25519 keypair\nbased on the generated seed. It is currently used in the\n[Remote Education Log](https://log.education).\n\n## Install\n\n### Prerequisites\n\nUsage of this module requires a **Twilio account** as well as a working **Verify Service**.\n\n1. Create an account at https://twilio.com\n2. Go to https://www.twilio.com/console/project/settings and get your account SID and Auth token\nfrom the **LIVE Credentials** section (Verify does not work with TEST Credentials)\n2. Go to https://www.twilio.com/console/verify/services and add a new service\n\n### Configuration\n\nAt the end of the above process, you should have the values you need for these three environment\nvariables:\n\n```\nTWILIO_ACCOUNT_SID=[Account SID taken from LIVE credentials on settings page]\nTWILIO_AUTH_TOKEN=[Auth token from LIVE credentials on settings page]\nTWILIO_VERIFY_SID=[Service of your Twilio Verify Service]\n```\n\nThen, generate a strong salt value and use that for the `SALT` environment variable.\n\nFinally choose an `HTTP_HOST` and `HTTP_PORT`.\n\n## Usage\n\nNow let's put those variables to use!\n\nFirst clone the repo:\n\n```bash\ngit clone https://github.com/tallylab/twilio-auth\n```\n\n### Running with node.js\n\n1. Create an .env file, see .env.example for the required configuration keys.\n2. `npm start`\n\n### Running with Docker\n\nThis repo also comes with a `Dockerfile` which would allow you to package and build this.\n\nNote that this automatically sets `HTTP_HOST` to `0.0.0.0` and `HTTP_PORT` to `3000` so you\ndon't need to worry about those.\n\n```bash\ndocker run -d \\\n  -e SALT=[your salt] \\\n  -e TWILIO_ACCOUNT_SID=[enter account sid] \\\n  -e TWILIO_AUTH_TOKEN=[your auth token] \\\n  -e TWILIO_VERIFY_SID=[your verify service id] \\\n  -p 3000:3000 \\\n  --name twilio-auth \\\n  tallylab/twilio-auth:latest\n```\n\n## Contributing\n\nPRs and Issues welcome and accepted! We would love to hear your feedback.\n\n## License\n\n[MIT](./LICENSE) Copyright © 2019-2020 TallyLab, LLC\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftallylab%2Ftwilio-auth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftallylab%2Ftwilio-auth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftallylab%2Ftwilio-auth/lists"}