{"id":16338812,"url":"https://github.com/neverpanic/simpleid-yubikey","last_synced_at":"2025-06-12T18:32:31.933Z","repository":{"id":15494218,"uuid":"18228068","full_name":"neverpanic/simpleid-yubikey","owner":"neverpanic","description":"SimpleID plugin for Yubikey authentication","archived":false,"fork":false,"pushed_at":"2017-02-13T12:38:27.000Z","size":23,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-10T13:03:02.922Z","etag":null,"topics":["openid","openid-server","php","yubico","yubikey"],"latest_commit_sha":null,"homepage":null,"language":"PHP","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/neverpanic.png","metadata":{"files":{"readme":"README.markdown","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}},"created_at":"2014-03-28T22:14:01.000Z","updated_at":"2020-04-12T16:18:19.000Z","dependencies_parsed_at":"2022-08-25T16:21:39.936Z","dependency_job_id":null,"html_url":"https://github.com/neverpanic/simpleid-yubikey","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/neverpanic/simpleid-yubikey","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neverpanic%2Fsimpleid-yubikey","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neverpanic%2Fsimpleid-yubikey/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neverpanic%2Fsimpleid-yubikey/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neverpanic%2Fsimpleid-yubikey/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neverpanic","download_url":"https://codeload.github.com/neverpanic/simpleid-yubikey/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neverpanic%2Fsimpleid-yubikey/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259519177,"owners_count":22870324,"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":["openid","openid-server","php","yubico","yubikey"],"created_at":"2024-10-10T23:51:45.866Z","updated_at":"2025-06-12T18:32:31.903Z","avatar_url":"https://github.com/neverpanic.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SimpleID Yubikey Authentication\n\nThis is a third-party extension for the [SimpleID][] OpenID provider written in PHP that adds the\npossibility to authenticate using a [Yubico Yubikey][yubikey].\n\n## Installation\n\n1. Copy `extensions/yubikey` into the `extensions` folder below the webroot of your SimpleID\n   installation.\n2. Edit `config.php` and add the Yubikey extension to the comma-separated list of extensions in the\n   `SIMPLEID_EXTENSIONS` constant.\n3. Edit your identities and add the required information for Yubikey authentication. See the\n   configuration section for all possible values and their meaning.\n\n## Identity Configuration\n\nThe following variables from identity pages have an effect on the Yubikey authentication store:\n\n - `auth_method`: This option controls whether a user can authenticate using a Yubikey or using the\n   default password-based method. Since this extension hides the username field, you will probably\n   want to set this to `YUBIKEY` for all your users. Note that Yubikey authentication will only be\n   attempted with accounts that have `auth_method` set to `YUBIKEY`. Choosing Yubikey authentication\n   requires a few keys in the `yubikey` section.\n\nThe following options in the `[yubikey]` identity file section control the authentication using\nYubikeys:\n\n - `client_id`: The API key ID for the Yubikey validation server you want to use. For the official\n   yubico.com infrastructure, you can get such a key at \u003chttps://upgrade.yubico.com/getapikey/\u003e. If\n   you run your own validation server, you probably know how to get this. Mandatory.\n - `client_key`: The API key corresponding to the API key ID. This is a short, base64-encoded string\n   you usually get from whoever runs the validation server you use. Mandatory.\n - `use_https`: A boolean indicating whether the connection to the API server should use HTTPS. You\n   should really set this to a value that will evaluate to `true` in PHP. Mandatory.\n - `key_id[]`: The IDs of the Yubikeys that should be able to log-in using the given identity. You can\n   get this by stripping the last 32 characters from the output generated by your Yubikey.\n   Mandatory.\n - `URLs`: Array-field that allows you to specify partial URLs to your own Yubikey validation\n   servers. Do not specify the protocol (since that's controlled by the `use_https` option) and\n   always use array brackets to add a value. Optional. Example:\n   `URLs[]=yubikey.yourdomain.tld:port/wsapi/2.0/verify`.\n\nAn example identity file might look like this:\n```\nidentity=\"https://my.example.com\"\npass=\"unused\"\nauth_method=\"YUBIKEY\"\n\n[yubikey]\nclient_id=\"1\"\nclient_key=\"AaAaAaAaAaAaAaAaAaAaAaAaAaA=\"\nuse_https=1\nkey_id[]=\"hdvbhdvbillt\"\nkey_id[]=\"hdvbhdvvvqll\"\nURLs[]=\"yubikey1.example.com/wsapi/2.0/verify\"\nURLs[]=\"yubikey2.example.com/wsapi/2.0/verify\"\nURLs[]=\"yubikey3.example.com:8443/wsapi/2.0/verify\"\n```\n\n## Changelog\n\n### 1.0\n\nSupport multiple Yubikeys per account. (#2)\n\n[simpleid]: http://simpleid.org\n[yubikey]: https://www.yubico.com/products/yubikey-hardware/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneverpanic%2Fsimpleid-yubikey","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneverpanic%2Fsimpleid-yubikey","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneverpanic%2Fsimpleid-yubikey/lists"}