Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://w3c.github.io/webauthn/
Web Authentication: An API for accessing Public Key Credentials
https://w3c.github.io/webauthn/
webauthn
Last synced: 2 months ago
JSON representation
Web Authentication: An API for accessing Public Key Credentials
- Host: GitHub
- URL: https://w3c.github.io/webauthn/
- Owner: w3c
- License: other
- Created: 2016-02-08T14:51:38.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2024-08-28T12:44:40.000Z (2 months ago)
- Last Synced: 2024-08-28T14:08:14.741Z (2 months ago)
- Topics: webauthn
- Language: HTML
- Homepage: https://w3c.github.io/webauthn/
- Size: 25 MB
- Stars: 1,159
- Watchers: 180
- Forks: 166
- Open Issues: 102
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-webauthn - WebAuthn draft - Webauthn draft (Specifications)
README
# Web Authentication Specification
This is the repository for the W3C WebAuthn Working Group, producing the draft **"Web Authentication"** specification.
* [The editor's copy is available at https://w3c.github.io/webauthn/](https://w3c.github.io/webauthn/), or in the [`gh-pages` branch of this repository](https://github.com/w3c/webauthn/blob/gh-pages/index.html).
- The current *offically-published working-draft snapshot* [is here: https://www.w3.org/TR/webauthn/](https://www.w3.org/TR/webauthn/).
* [The build history is available from the repo Actions tab](https://github.com/w3c/webauthn/actions)
* [W3C WebAuthn Blog](https://www.w3.org/blog/webauthn/)
* [Web platform tests repository](https://github.com/web-platform-tests/wpt/tree/master/webauthn)# Contributing
To materially contribute to this specification, you must meet the requirements outlined in [CONTRIBUTING.md](/CONTRIBUTING.md). Also, before submitting feedback, please familiarize yourself with [our current issues list](https://github.com/w3c/webauthn/issues) and review the [mailing list discussion](https://lists.w3.org/Archives/Public/public-webauthn/).
# Building the Draft
Formatted HTML for the draft can be built using `bikeshed` (see below for instructions for `bikeshed` installation):
```
$ bikeshed spec
```You may also want to use the `watch` functionality to automatically regenerate as you make changes:
```
$ bikeshed watch
```# Bikeshed Installation and Setup
See the full instructions at https://tabatkins.github.io/bikeshed/#installing.
You will need to have the Python 3.7 or later installed. Once you do have Python 3.7 or later installed, to install Bikeshed itself, run the following:
```
pip3 install bikeshed && bikeshed update
```When that is completed, Bikeshed should be installed, and the `bikeshed` command should work in your shell.
# Continuous Integration & Branches
https://w3c.github.io/webauthn/ is autopublished from the `gh-pages` branch on every push to the `main` branch, using https://github.com/w3c/webauthn/blob/main/.github/workflows/build-validate-publish.yml to configure the autopublishing behavior.
# Creating a new Working Draft
To build a new WD and upload it to the W3C publishing system:
- Register as a W3C member and join the Web Authentication working group. Note down your W3C USERNAME and PASSWORD to use in the command below. If you don't remember either one, please go [here](https://www.w3.org/accounts/recover) to retrieve it.
- Copy the url of the meeting minutes in which the working group decided to publish a new draft as the DECISION_URL to be used below
- Make sure Bikeshed is installed locally (follow the Bikeshed Installation and Setup section above)
- Go into the ./bikeshed directory and use git pull to update Bikeshed.
- Run the following command to update Bikeshed's datafiles:
```
bikeshed update
```
- Edit the Bikeshed metadata to change the status from ED to WD (do not commit this change)
- Ensure Bikeshed can compile without any error or warning by running through the following command:
```
bikeshed spec
```
- Build and upload the new draft with
```
bikeshed echidna --u USERNAME --p PASSWORD --d DECISION_URL
```The command above will create a tarball of the HTML and images, and upload to Echidna, W3C's automated publishing system. The command should return a url, thhrough which you can know whether you successfully publish the draft. Status of the request can also be tracked through the [Mailing List Archive](https://lists.w3.org/Archives/Public/public-tr-notifications/). You can also use W3C API [as described in the Echidna documentation](https://github.com/w3c/echidna/wiki/How-to-use-Echidna). Note that on Windows, this will give an error about failing to delete a temporary file because it is in use by a different process. This error is harmless; it happens after the submission has completed.
If the publication through the process is unsuccessful, it's likely because of [Specbreus](https://github.com/w3c/specberus), a spec compliance checker. Echidna automatically runs through Specbreus and will reject the publication if any error is reported by Specbreus. You can run your document through [Pubrules](https://www.w3.org/pubrules/) to understand why your document is rejected. You may modify either the index.bs file or the index.html file to ensure compliance.
More often than not, you will discover the [Pubrules](https://www.w3.org/pubrules/) errors are due to bugs in either Bikeshed or Specbreus. If so, you will have to modify the compiled index.html file to bypass Echidna and use the [manual process](https://github.com/w3c/echidna/wiki/How-to-use-Echidna) to publish. While you are editing the html file to avoid errors, you should also check to ensure the document still renders correctly.
The [manual process](https://github.com/w3c/echidna/wiki/How-to-use-Echidna) requires you to first create a tar file. To create the tar file, you need to first copy the index.html file and rename the copied file as Overview.html. This is because Echidna doesn't recognize index.html. You can then use the following command to create a tar file:
```
tar -cvf WD.tar Overview.html image1 image2 image3
```Then you can run the following command curl to publish to Echidna (use the command at the same directory as your tar file):
```
curl 'https://labs.w3.org/echidna/api/request' --user ':' -F "[email protected]" -F "decision="
```Feel free to contact your chair or any W3C staff when you are stucked. Overall info on echidna is here: https://github.com/w3c/echidna/wiki and here https://labs.w3.org/echidna/.
# Taking meeting minutes
* [Scribe instructions from the W3C Guidebook](https://www.w3.org/2008/04/scribe.html)
* [Alternate instructions from the XML Security WG](https://www.w3.org/2008/xmlsec/Group/Scribe-Instructions.html)