{"id":15988572,"url":"https://github.com/woile/wpa_passphrase_rs","last_synced_at":"2025-03-27T06:31:04.734Z","repository":{"id":150147927,"uuid":"582928171","full_name":"woile/wpa_passphrase_rs","owner":"woile","description":"A wpa_passphrase replacement to target multi os and distribute using nix","archived":false,"fork":false,"pushed_at":"2023-01-09T07:15:48.000Z","size":14,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-27T05:04:40.426Z","etag":null,"topics":["flake","nix","nix-flake","nixpkgs","raspberry-pi","rpi","shell"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/woile.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-28T09:03:16.000Z","updated_at":"2024-05-03T20:25:53.000Z","dependencies_parsed_at":"2023-05-12T20:45:12.200Z","dependency_job_id":null,"html_url":"https://github.com/woile/wpa_passphrase_rs","commit_stats":{"total_commits":10,"total_committers":1,"mean_commits":10.0,"dds":0.0,"last_synced_commit":"81f8fdaca585f9dd1547654552755b1e83c4ccda"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woile%2Fwpa_passphrase_rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woile%2Fwpa_passphrase_rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woile%2Fwpa_passphrase_rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/woile%2Fwpa_passphrase_rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/woile","download_url":"https://codeload.github.com/woile/wpa_passphrase_rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245797382,"owners_count":20673840,"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":["flake","nix","nix-flake","nixpkgs","raspberry-pi","rpi","shell"],"created_at":"2024-10-08T04:05:28.887Z","updated_at":"2025-03-27T06:31:04.729Z","avatar_url":"https://github.com/woile.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wpa_passphrase_rs\n\n\u003e Utility to create WPA PSK for raspberry pi\n\n## About\n\nUsing `wpa_passphrase` on a mac can be tricky, my idea is to have it available on Nix,\nto provision the raspberries from any Unix OS.\n\n## Installation\n\n```sh\nnix profile install 'github:woile/wpa_passphrase_rs#wpa_passphrase'\n```\n\nOr if you want to try it in a shell\n\n```sh\nnix shell 'github:woile/wpa_passphrase_rs#wpa_passphrase'\n```\n\n## Usage\n\n```sh\nwpa_passphrase [ ssid ] [ passphrase ]\n```\n\n\n## Development\n\nAfter making and commiting changes, remember to run\n\n```sh\nnix flake update\n```\n\n## Resources\n\n- https://linux.die.net/man/8/wpa_passphrase\n- https://www.rfc-editor.org/rfc/rfc2898#appendix-A.2\n- https://github.com/aosp-mirror/platform_external_wpa_supplicant/blob/master/wpa_passphrase.c\n\n## Comparison\n\nRun this command in your shell to have a linux based wpa_passphrase\n\n```\nwpa_passphrase() {\n  docker run \\\n    --rm \\\n    --interactive \\\n    --tty \\\n    \"backplane/wpa_passphrase\" \\\n    \"$@\"\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwoile%2Fwpa_passphrase_rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwoile%2Fwpa_passphrase_rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwoile%2Fwpa_passphrase_rs/lists"}