weishu
809967b7c6
feat: sign in to the web app with passkeys
...
Add WebAuthn passkeys as another way to obtain a web JWT, so the browser
no longer has to keep CLI_API_TOKEN after the first sign-in.
- hub: passkey_credentials table (schema v36), register/list/delete
routes behind the JWT, unauthenticated login routes with one-time
challenges, and a 30-day passkey session exchanged via POST /api/auth.
Passkeys are bound to the registering namespace, the browser origin
(same host or an explicit CORS origin; HTTPS or localhost), and an
HMAC fingerprint of CLI_API_TOKEN, so rotating the token revokes them.
- web: "Sign in with a passkey" on the login screen, Settings → Passkeys,
passkey auth source with silent JWT refresh, en/zh-CN/ru strings.
- docs: client contract, hub README, PWA guide.
2026-11-16 16:48:05 +08:00
..
2026-08-04 10:50:03 +08:00
2026-11-13 18:50:09 +08:00
2026-11-15 08:00:10 +08:00
2026-11-04 15:58:01 +08:00
2026-08-04 08:19:12 +08:00
2026-11-15 17:06:21 +08:00
2026-08-04 10:50:03 +08:00
2026-09-11 14:20:22 +08:00
2026-11-16 16:48:05 +08:00
2026-08-08 13:46:19 +08:00
2026-11-16 06:57:36 +08:00
2026-11-04 15:06:56 +08:00
2026-08-04 08:19:12 +08:00
2026-08-22 12:37:28 +08:00
2026-10-28 12:11:52 +08:00
2026-10-28 12:11:52 +08:00
2026-11-15 17:06:21 +08:00
2026-07-27 19:09:59 +08:00
2026-07-27 19:09:59 +08:00
2026-10-28 12:06:50 +08:00
2026-10-28 12:06:50 +08:00
2026-07-19 14:14:42 +08:00
2026-08-01 22:55:21 +08:00
2026-06-11 09:11:58 +08:00
2026-06-11 09:11:58 +08:00
2026-10-28 12:11:52 +08:00
2026-10-28 12:11:52 +08:00
2026-08-01 17:11:40 +08:00
2026-08-01 17:11:40 +08:00
2026-10-28 12:15:58 +08:00
2026-10-28 12:15:58 +08:00
2026-09-11 14:20:22 +08:00
2026-09-11 14:20:22 +08:00
2025-12-20 23:00:26 +08:00
2026-08-04 11:18:21 +08:00
2026-11-10 15:12:47 +08:00
2026-07-24 10:57:32 +08:00
2026-11-13 12:09:04 +08:00
2026-11-15 07:59:43 +08:00
2026-11-13 08:40:33 +08:00
2026-11-13 08:40:33 +08:00
2026-03-26 08:04:58 +08:00
2026-10-05 17:13:53 +08:00
2026-06-05 21:41:37 +08:00
2026-01-10 22:07:22 +08:00
2026-11-15 17:06:21 +08:00
2026-11-15 17:06:21 +08:00
2026-11-16 16:48:05 +08:00
2026-11-16 16:48:05 +08:00
2026-10-28 12:06:22 +08:00
2026-10-28 12:06:22 +08:00
2026-07-27 11:55:43 +08:00
2026-11-13 08:40:33 +08:00
2026-10-28 12:06:50 +08:00
2026-10-28 10:31:28 +08:00
2026-11-13 18:50:09 +08:00
2026-11-13 18:50:09 +08:00
2026-07-27 17:02:37 +08:00
2026-07-27 17:02:37 +08:00
2026-11-15 17:06:21 +08:00
2026-11-15 17:06:21 +08:00
2026-11-10 15:12:59 +08:00
2026-07-22 23:32:10 +08:00
2026-07-22 23:32:10 +08:00
2026-07-27 17:02:37 +08:00
2026-11-01 16:00:56 +08:00
2026-11-10 15:12:47 +08:00
2026-10-28 12:14:48 +08:00
2026-11-10 15:12:47 +08:00
2026-08-11 22:24:39 +08:00
2026-08-11 22:24:39 +08:00
2026-11-01 14:52:42 +08:00
2026-11-04 15:06:56 +08:00
2026-11-13 12:09:04 +08:00
2026-11-13 12:09:04 +08:00
2026-08-04 11:01:00 +08:00
2026-11-07 11:27:04 +08:00
2026-10-30 07:36:13 +08:00
2026-11-13 18:50:09 +08:00
2026-10-28 12:14:48 +08:00
2026-08-20 11:11:43 +08:00
2026-08-20 11:11:43 +08:00
2026-10-28 12:11:52 +08:00
2026-11-02 18:01:39 +08:00
2026-11-04 18:08:25 +08:00
2026-11-15 17:32:40 +08:00
2026-11-13 18:51:15 +08:00
2026-11-10 00:37:02 +00:00
2026-11-10 15:12:59 +08:00
2026-11-13 08:39:15 +08:00
2026-11-10 00:37:02 +00:00
2026-11-15 20:57:37 +08:00
2026-11-10 00:37:02 +00:00
2026-11-15 17:06:21 +08:00
2026-11-15 17:32:40 +08:00
2026-11-15 17:32:40 +08:00
2026-09-09 09:22:47 +08:00
2026-11-10 15:12:47 +08:00
2026-11-10 15:12:47 +08:00
2026-11-10 15:12:47 +08:00
2026-11-14 20:13:42 +08:00
2026-11-15 07:59:43 +08:00
2026-10-28 12:12:41 +08:00
2026-11-04 15:53:29 +08:00
2026-11-04 15:53:29 +08:00
2026-08-11 14:25:00 +01:00
2026-08-11 14:25:00 +01:00
2026-10-28 12:15:22 +08:00
2026-10-28 12:15:22 +08:00
2026-01-10 22:07:22 +08:00
2026-07-22 23:32:10 +08:00
2026-03-08 11:26:11 +08:00
2026-11-04 15:06:56 +08:00
2026-05-18 10:40:32 +08:00
2026-07-31 18:17:57 +01:00
2026-07-22 23:32:10 +08:00
2026-08-03 12:32:50 +08:00
2026-07-11 11:07:12 +08:00
2026-07-30 23:20:23 +08:00