-
Notifications
You must be signed in to change notification settings - Fork 0
/
web_key_directory.html
44 lines (40 loc) · 1.75 KB
/
web_key_directory.html
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
36
37
38
39
40
41
42
43
44
<!DOCTYPE html>
<html lang="zh">
<head>
<meta content="origin" name="referrer">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="Thallium Megalovania">
<meta name="description" content="配置Web Key Directory">
<meta name="keywords" content="ThalliMega,Thallium Megalovania,blog,Web Key Directory,WKD">
<link rel="icon" href="avatar.svg" />
<link rel="stylesheet" href="main.css" />
<link rel="stylesheet" href="mobile.css" media="(max-width:999px)" />
<link rel="stylesheet" href="desktop.css" media="(min-width:1000px)" />
<title>配置Web Key Directory</title>
<script src="audio.js" defer></script>
</head>
<body>
<audio src="https://files.thallimega.win/Abandoned.mp3" preload="auto" id="audio"></audio>
<header>
<div>
<img src="avatar.svg" alt="avatar" id="avatar" style="cursor:default" />
<h1>ThalliMega's Blog</h1>
</div>
<a href="index.html">Home</a>
</header>
<main>
<h1>配置WKD</h1>
<h2>$DOMAIN/.well-known/openpgpkey/policy</h2>
<h2>$DOMAIN/.well-known/openpgpkey/hu/.htaccess</h2>
<code><IfModule mod_mime.c><br>
 ForceType application/octet-stream<br>
 Header always set Access-Control-Allow-Origin "*"<br>
</IfModule></code>
<h2>$DOMAIN/.well-known/openpgpkey/hu/$(gpg --with-wkd-hash -k <keyid>)</h2>
<code>$(gpg --export <keyid>)</code>
<h1>WKS</h1>
<code>gpg --list-options show-only-fpr-mbox -k $PATTERN | gpg-wks-client -v --install-key</code>
</main>
<footer><a href="https://icp.gov.moe/?keyword=20240124" target="_blank">萌ICP备20240124号</a></footer>
</body>
</html>