-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
35 lines (35 loc) · 1.16 KB
/
index.html
File metadata and controls
35 lines (35 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0"
/>
<meta
name="description"
content="A local-first demo showing how a browser-stored secret can be encrypted at rest, unlocked with a passkey PRF, and recovered with a passphrase."
/>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:wght@400;500;600&display=swap"
rel="stylesheet"
/>
<script>
if (
location.pathname !== "/" &&
!location.pathname.endsWith("/") &&
!/\/[^/]+\.[^/]+$/.test(location.pathname)
) {
location.replace(`${location.pathname}/${location.search}${location.hash}`);
}
</script>
<title>Passkey Secret Demo</title>
</head>
<body>
<div id="app"></div>
<link rel="stylesheet" href="./style.css" />
<script type="module" src="./main.js"></script>
</body>
</html>