Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,15 +118,15 @@ Use [`drawbridge.service`](./drawbridge.service) to run Drawbridge in production
### 6. Enroll a WebAuthn credential

1. Visit Drawbridge enroll page (`https://drawbridge.example.com/enroll`)
2. Follow the browser prompts; the page will produce enrollment JSON
2. Follow the browser prompts in an up-to-date browser; the page will produce enrollment JSON
3. As an administrator, save it to a file and pass it to `-enroll`:

```sh
./drawbridge -enroll -config drawbridge.json < enrollment.json
```

`-enroll` performs basic validation and writes the credential record into `credentials_dir` under a stable,
filesystem-safe name (`<lower(username)>-<base64url(credential_id)>.json`). You can also skip `-enroll` and
filesystem-safe name (`<lower(username)>-<base64url(sha256(passkey))>.json`). You can also skip `-enroll` and
place a `*.json` credential record file into `credentials_dir` yourself.

Send `SIGHUP` to the running Drawbridge process to reload credentials without restarting. (Config
Expand Down
1 change: 0 additions & 1 deletion TODO.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# TODO

- consider reloading (parts of?) config on SIGHUP, at least to update allowed users
- fork/vendor `go-passkeys` or ensure all PRs have landed
- `autocert.NewListener` caches certs under an OS cache/temp dir; `autocert.Manager` with an explicit dir could be better
- consider custom ACME server support
Loading
Loading