This is an automated email from the ASF dual-hosted git repository. juzhiyuan pushed a commit to branch asf-site in repository https://gitbox.apache.org/repos/asf/incubator-apisix-website.git
The following commit(s) were added to refs/heads/asf-site by this push: new 03d9464 Publishing to asf-site (publish.sh) 03d9464 is described below commit 03d94649b382fce9827e37bbd66dc051bd325b73 Author: juzhiyuan <jjzhiy...@gmail.com> AuthorDate: Wed Feb 12 16:06:38 2020 +0800 Publishing to asf-site (publish.sh) --- contribute/index.xml | 30 ++ contribute/release/index.html | 422 +++++++++++++++++++++ ...3e2b2e101f99ae09e5af7e801f9f2c6d51f802d9b1.css} | 2 +- downloads/index.html | 24 +- en/sitemap.xml | 30 ++ index.html | 24 +- index.xml | 16 + security/index.html | 24 +- zh/contribute/index.xml | 30 ++ zh/contribute/release/index.html | 422 +++++++++++++++++++++ zh/index.html | 24 +- zh/index.xml | 16 + zh/security/index.html | 24 +- zh/sitemap.xml | 30 ++ 14 files changed, 1112 insertions(+), 6 deletions(-) diff --git a/contribute/index.xml b/contribute/index.xml new file mode 100644 index 0000000..43fdd7e --- /dev/null +++ b/contribute/index.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8" standalone="yes" ?> +<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> + <channel> + <title>Contributes on Apache APISIX</title> + <link>https://apisix.incubator.apache.org/contribute/</link> + <description>Recent content in Contributes on Apache APISIX</description> + <generator>Hugo -- gohugo.io</generator> + <lastBuildDate>Tue, 07 Jan 2020 11:46:04 +0800</lastBuildDate> + + <atom:link href="https://apisix.incubator.apache.org/contribute/index.xml" rel="self" type="application/rss+xml" /> + + + <item> + <title>Release Guide</title> + <link>https://apisix.incubator.apache.org/contribute/release/</link> + <pubDate>Tue, 07 Jan 2020 11:46:04 +0800</pubDate> + + <guid>https://apisix.incubator.apache.org/contribute/release/</guid> + <description>GPG 设置 安装 GPG 在 GnuPG 官网下载安装包。 GnuPG 的 1.x 版本和 2.x 版本的命令有细微差别,下列说明以 GnuPG-2.1.23 版本为例。 +安装完成后,执行以下命令查看版本号。 +1 2 gpg --version 创建 Key 安装完成后,执行以下命令创建key。 +GnuPG-2.x可使用: +1 2 gpg --full-gen-key GnuPG-1.x可使用: +1 2 gpg --gen-key 根据提示完成key: +注意:请使用Apache mail生成GPG的Key。 +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 gpg (GnuPG) 2.</description> + </item> + + </channel> +</rss> \ No newline at end of file diff --git a/contribute/release/index.html b/contribute/release/index.html new file mode 100644 index 0000000..57e3e13 --- /dev/null +++ b/contribute/release/index.html @@ -0,0 +1,422 @@ +<!DOCTYPE html> +<html lang=""> + <head> + + +<meta property="og:title" content="Release Guide" /> +<meta property="og:description" content="GPG 设置 安装 GPG 在 GnuPG 官网下载安装包。 GnuPG 的 1.x 版本和 2.x 版本的命令有细微差别,下列说明以 GnuPG-2.1.23 版本为例。 +安装完成后,执行以下命令查看版本号。 +1 2 gpg --version 创建 Key 安装完成后,执行以下命令创建key。 +GnuPG-2.x可使用: +1 2 gpg --full-gen-key GnuPG-1.x可使用: +1 2 gpg --gen-key 根据提示完成key: +注意:请使用Apache mail生成GPG的Key。 +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 gpg (GnuPG) 2." /> +<meta property="og:type" content="article" /> +<meta property="og:url" content="https://apisix.incubator.apache.org/contribute/release/" /> +<meta property="article:published_time" content="2020-01-07T11:46:04+08:00" /> +<meta property="article:modified_time" content="2020-01-07T11:46:04+08:00" /> + + +<meta name="description" content="Hardcoded description; the author should update :)" /> +<meta charset="utf-8"> +<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> +<meta http-equiv="x-ua-compatible" content="ie=edge"> + <title>Apache APISIX</title> + +<link rel="icon" type="image/png" href="/images/favicon.png" /> +<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600" rel="stylesheet"> +<link rel="stylesheet" type="text/css" href="/css/style.min.b83fa5dc8f25322d2f23b83e2b2e101f99ae09e5af7e801f9f2c6d51f802d9b1.css" integrity="sha256-uD+l3I8lMi0vI7g+Ky4QH5muCeWvfoAfnyxtUfgC2bE="> +<link rel="stylesheet" type="text/css" href="/css/icons.css"> + + </head> + <body> + + <div id="preloader"> + <div id="status"></div> + </div> + + + + + +<nav class="navbar is-fresh is-transparent no-shadow" role="navigation" aria-label="main navigation"> + <div class="container"> + <div class="navbar-brand"> + <a class="navbar-item" href="/"> + <img src="/images/logos/apisix.svg"> + </a> + + <a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false" data-target="navbar-menu"> + <span aria-hidden="true"></span> + <span aria-hidden="true"></span> + <span aria-hidden="true"></span> + </a> + </div> + + <div id="navbar-menu" class="navbar-menu is-static"> + + <div class="navbar-end"> + <a href="/" class="navbar-item is-secondary"> + Home + </a> + <a href="/security" class="navbar-item is-secondary"> + Security + </a> + <a href="/downloads" class="navbar-item is-secondary"> + Downloads + </a> + <div class="navbar-item has-dropdown is-hoverable"> + <a class="navbar-link"> + Get Involved + </a> + + <div class="navbar-dropdown"> + <a href="contribute/release" class="navbar-item"> + Release Guide + </a> + </div> + </div> + </div> + <a class="language-switcher" href="/zh">中</a> + </div> + </div> +</nav> + + + +<nav id="navbar-clone" class="navbar is-fresh is-transparent" role="navigation" aria-label="main navigation"> + <div class="container"> + <div class="navbar-brand"> + <a class="navbar-item" href="/"> + <img src="/images/logos/apisix.svg" alt="" width="112" height="28"> + </a> + + <a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false" data-target="cloned-navbar-menu"> + <span aria-hidden="true"></span> + <span aria-hidden="true"></span> + <span aria-hidden="true"></span> + </a> + </div> + + <div id="cloned-navbar-menu" class="navbar-menu is-fixed"> + + <div class="navbar-end"> + <a href="/" class="navbar-item is-secondary"> + Home + </a> + <a href="/security" class="navbar-item is-secondary"> + Security + </a> + <a href="/downloads" class="navbar-item is-secondary"> + Downloads + </a> + <div class="navbar-item has-dropdown is-hoverable"> + <a class="navbar-link"> + Get Involved + </a> + + <div class="navbar-dropdown"> + <a href="contribute/release" class="navbar-item"> + Release Guide + </a> + </div> + </div> + </div> + + <a class="language-switcher" href="/zh">中</a> + </div> +</div> +</nav> + +<section class="section is-medium"> + <div class="container"> + <div class="columns"> + <div class="column is-centered-tablet-portrait"> + <h1 class="title section-title">Release Guide</h1> + <h5 class="subtitle is-5 is-muted"></h5> + <div class="divider"></div> + </div> + </div> + <div class="release-guide"> + <section> + <h2 class="title">GPG 设置</h2> + <br /> + <h3 class="subtitle">安装 GPG</h3> + <p>在 GnuPG 官网下载安装包。 GnuPG 的 1.x 版本和 2.x 版本的命令有细微差别,下列说明以 GnuPG-2.1.23 版本为例。</p> + <p>安装完成后,执行以下命令查看版本号。</p> + <div class="highlight"><div style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"> +<table style="border-spacing:0;padding:0;margin:0;border:0;width:auto;overflow:auto;display:block;"><tr><td style="vertical-align:top;padding:0;margin:0;border:0;"> +<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-go" data-lang="go"><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2 +</span></code></pre></td> +<td style="vertical-align:top;padding:0;margin:0;border:0;"> +<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-go" data-lang="go"> <span style="color:#a6e22e">gpg</span> <span style="color:#f92672">--</span><span style="color:#a6e22e">version</span> + </code></pre></td></tr></table> +</div> +</div> + <h3 class="subtitle">创建 Key</h3> + <p>安装完成后,执行以下命令创建key。</p> + <p>GnuPG-2.x可使用:</p> + <div class="highlight"><div style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"> +<table style="border-spacing:0;padding:0;margin:0;border:0;width:auto;overflow:auto;display:block;"><tr><td style="vertical-align:top;padding:0;margin:0;border:0;"> +<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-go" data-lang="go"><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2 +</span></code></pre></td> +<td style="vertical-align:top;padding:0;margin:0;border:0;"> +<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-go" data-lang="go"> <span style="color:#a6e22e">gpg</span> <span style="color:#f92672">--</span><span style="color:#a6e22e">full</span><span style="color:#f92672">-</span><span style="color:#a6e22e">gen</span><span style="color:#f92672">-</span><span style="color:#a6e22e">key</span> + </code></pre></td></tr></table> +</div> +</div> + <p>GnuPG-1.x可使用:</p> + <div class="highlight"><div style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"> +<table style="border-spacing:0;padding:0;margin:0;border:0;width:auto;overflow:auto;display:block;"><tr><td style="vertical-align:top;padding:0;margin:0;border:0;"> +<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-go" data-lang="go"><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2 +</span></code></pre></td> +<td style="vertical-align:top;padding:0;margin:0;border:0;"> +<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-go" data-lang="go"> <span style="color:#a6e22e">gpg</span> <span style="color:#f92672">--</span><span style="color:#a6e22e">gen</span><span style="color:#f92672">-</span><span style="color:#a6e22e">key</span> + </code></pre></td></tr></table> +</div> +</div> + <p>根据提示完成key:</p> + <p class="warning">注意:请使用Apache mail生成GPG的Key。</p> + <div class="highlight"><div style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"> +<table style="border-spacing:0;padding:0;margin:0;border:0;width:auto;overflow:auto;display:block;"><tr><td style="vertical-align:top;padding:0;margin:0;border:0;"> +<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-go" data-lang="go"><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 1 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 2 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 3 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 4 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 5 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 6 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 7 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 8 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 9 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">10 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">11 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">12 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">13 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">14 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">15 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">16 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">17 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">18 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">19 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">20 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">21 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">22 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">23 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">24 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">25 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">26 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">27 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">28 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">29 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">30 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">31 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">32 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">33 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">34 +</span></code></pre></td> +<td style="vertical-align:top;padding:0;margin:0;border:0;"> +<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-go" data-lang="go"> <span style="color:#a6e22e">gpg</span> (<span style="color:#a6e22e">GnuPG</span>) <span style="color:#ae81ff">2.0.12</span>; <span style="color:#a6e22e">Copyright</span> (<span style="color:#a6e22e">C</span>) <span style="color:#ae81ff">2009</span> <span style="color:#a6e22e">Free</span> <span style="color:#a6e22e">Software</span> <span style="color:#a [...] +<span style="color:#a6e22e">This</span> <span style="color:#a6e22e">is</span> <span style="color:#a6e22e">free</span> <span style="color:#a6e22e">software</span>: <span style="color:#a6e22e">you</span> <span style="color:#a6e22e">are</span> <span style="color:#a6e22e">free</span> <span style="color:#a6e22e">to</span> <span style="color:#a6e22e">change</span> <span style="color:#a6e22e">and</span> <span style="color:#a6e22e">redistribute</span> <span style="color:#a6e22e">it</span>. +<span style="color:#a6e22e">There</span> <span style="color:#a6e22e">is</span> <span style="color:#a6e22e">NO</span> <span style="color:#a6e22e">WARRANTY</span>, <span style="color:#a6e22e">to</span> <span style="color:#a6e22e">the</span> <span style="color:#a6e22e">extent</span> <span style="color:#a6e22e">permitted</span> <span style="color:#a6e22e">by</span> <span style="color:#a6e22e">law</span>. + +<span style="color:#a6e22e">Please</span> <span style="color:#66d9ef">select</span> <span style="color:#a6e22e">what</span> <span style="color:#a6e22e">kind</span> <span style="color:#a6e22e">of</span> <span style="color:#a6e22e">key</span> <span style="color:#a6e22e">you</span> <span style="color:#a6e22e">want</span>: + (<span style="color:#ae81ff">1</span>) <span style="color:#a6e22e">RSA</span> <span style="color:#a6e22e">and</span> <span style="color:#a6e22e">RSA</span> (<span style="color:#66d9ef">default</span>) + (<span style="color:#ae81ff">2</span>) <span style="color:#a6e22e">DSA</span> <span style="color:#a6e22e">and</span> <span style="color:#a6e22e">Elgamal</span> + (<span style="color:#ae81ff">3</span>) <span style="color:#a6e22e">DSA</span> (<span style="color:#a6e22e">sign</span> <span style="color:#a6e22e">only</span>) + (<span style="color:#ae81ff">4</span>) <span style="color:#a6e22e">RSA</span> (<span style="color:#a6e22e">sign</span> <span style="color:#a6e22e">only</span>) +<span style="color:#a6e22e">Your</span> <span style="color:#a6e22e">selection</span><span style="color:#960050;background-color:#1e0010">?</span> <span style="color:#ae81ff">1</span> +<span style="color:#a6e22e">RSA</span> <span style="color:#a6e22e">keys</span> <span style="color:#a6e22e">may</span> <span style="color:#a6e22e">be</span> <span style="color:#a6e22e">between</span> <span style="color:#ae81ff">1024</span> <span style="color:#a6e22e">and</span> <span style="color:#ae81ff">4096</span> <span style="color:#a6e22e">bits</span> <span style="color:#a6e22e">long</span>. +<span style="color:#a6e22e">What</span> <span style="color:#a6e22e">keysize</span> <span style="color:#a6e22e">do</span> <span style="color:#a6e22e">you</span> <span style="color:#a6e22e">want</span><span style="color:#960050;background-color:#1e0010">?</span> (<span style="color:#ae81ff">2048</span>) <span style="color:#ae81ff">4096</span> +<span style="color:#a6e22e">Requested</span> <span style="color:#a6e22e">keysize</span> <span style="color:#a6e22e">is</span> <span style="color:#ae81ff">4096</span> <span style="color:#a6e22e">bits</span> +<span style="color:#a6e22e">Please</span> <span style="color:#a6e22e">specify</span> <span style="color:#a6e22e">how</span> <span style="color:#a6e22e">long</span> <span style="color:#a6e22e">the</span> <span style="color:#a6e22e">key</span> <span style="color:#a6e22e">should</span> <span style="color:#a6e22e">be</span> <span style="color:#a6e22e">valid</span>. + <span style="color:#ae81ff">0</span> = <span style="color:#a6e22e">key</span> <span style="color:#a6e22e">does</span> <span style="color:#a6e22e">not</span> <span style="color:#a6e22e">expire</span> + <<span style="color:#a6e22e">n</span>> = <span style="color:#a6e22e">key</span> <span style="color:#a6e22e">expires</span> <span style="color:#a6e22e">in</span> <span style="color:#a6e22e">n</span> <span style="color:#a6e22e">days</span> + <<span style="color:#a6e22e">n</span>><span style="color:#a6e22e">w</span> = <span style="color:#a6e22e">key</span> <span style="color:#a6e22e">expires</span> <span style="color:#a6e22e">in</span> <span style="color:#a6e22e">n</span> <span style="color:#a6e22e">weeks</span> + <<span style="color:#a6e22e">n</span>><span style="color:#a6e22e">m</span> = <span style="color:#a6e22e">key</span> <span style="color:#a6e22e">expires</span> <span style="color:#a6e22e">in</span> <span style="color:#a6e22e">n</span> <span style="color:#a6e22e">months</span> + <<span style="color:#a6e22e">n</span>><span style="color:#a6e22e">y</span> = <span style="color:#a6e22e">key</span> <span style="color:#a6e22e">expires</span> <span style="color:#a6e22e">in</span> <span style="color:#a6e22e">n</span> <span style="color:#a6e22e">years</span> +<span style="color:#a6e22e">Key</span> <span style="color:#a6e22e">is</span> <span style="color:#a6e22e">valid</span> <span style="color:#66d9ef">for</span><span style="color:#960050;background-color:#1e0010">?</span> (<span style="color:#ae81ff">0</span>) +<span style="color:#a6e22e">Key</span> <span style="color:#a6e22e">does</span> <span style="color:#a6e22e">not</span> <span style="color:#a6e22e">expire</span> <span style="color:#a6e22e">at</span> <span style="color:#a6e22e">all</span> +<span style="color:#a6e22e">Is</span> <span style="color:#a6e22e">this</span> <span style="color:#a6e22e">correct</span><span style="color:#960050;background-color:#1e0010">?</span> (<span style="color:#a6e22e">y</span><span style="color:#f92672">/</span><span style="color:#a6e22e">N</span>) <span style="color:#a6e22e">y</span> + +<span style="color:#a6e22e">GnuPG</span> <span style="color:#a6e22e">needs</span> <span style="color:#a6e22e">to</span> <span style="color:#a6e22e">construct</span> <span style="color:#a6e22e">a</span> <span style="color:#a6e22e">user</span> <span style="color:#a6e22e">ID</span> <span style="color:#a6e22e">to</span> <span style="color:#a6e22e">identify</span> <span style="color:#a6e22e">your</span> <span style="color:#a6e22e">key</span>. + +<span style="color:#a6e22e">Real</span> <span style="color:#a6e22e">name</span>: <span style="color:#960050;background-color:#1e0010">$</span>{<span style="color:#a6e22e">输入用户名</span>} +<span style="color:#a6e22e">Email</span> <span style="color:#a6e22e">address</span>: <span style="color:#960050;background-color:#1e0010">$</span>{<span style="color:#a6e22e">输入邮件地址</span>} +<span style="color:#a6e22e">Comment</span>: <span style="color:#960050;background-color:#1e0010">$</span>{<span style="color:#a6e22e">输入注释</span>} +<span style="color:#a6e22e">You</span> <span style="color:#a6e22e">selected</span> <span style="color:#a6e22e">this</span> <span style="color:#a6e22e">USER</span><span style="color:#f92672">-</span><span style="color:#a6e22e">ID</span>: + <span style="color:#e6db74">"${输入的用户名} (${输入的注释}) &lt;${输入的邮件地址}>"</span> + +<span style="color:#a6e22e">Change</span> (<span style="color:#a6e22e">N</span>)<span style="color:#a6e22e">ame</span>, (<span style="color:#a6e22e">C</span>)<span style="color:#a6e22e">omment</span>, (<span style="color:#a6e22e">E</span>)<span style="color:#a6e22e">mail</span> <span style="color:#a6e22e">or</span> (<span style="color:#a6e22e">O</span>)<span style="color:#a6e22e">kay</span><span style="color:#f92672">/</span>(<span style="color:#a6e22e">Q</span>)<span style="color:#a6e22 [...] +<span style="color:#a6e22e">You</span> <span style="color:#a6e22e">need</span> <span style="color:#a6e22e">a</span> <span style="color:#a6e22e">Passphrase</span> <span style="color:#a6e22e">to</span> <span style="color:#a6e22e">protect</span> <span style="color:#a6e22e">your</span> <span style="color:#a6e22e">secret</span> <span style="color:#a6e22e">key</span>. <span style="color:#960050;background-color:#1e0010">#</span> <span style="color:#a6e22e">输入密码</span> + </code></pre></td></tr></table> +</div> +</div> + <h3 class="subtitle">查看生成的key</h3> + <div class="highlight"><div style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"> +<table style="border-spacing:0;padding:0;margin:0;border:0;width:auto;overflow:auto;display:block;"><tr><td style="vertical-align:top;padding:0;margin:0;border:0;"> +<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-go" data-lang="go"><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2 +</span></code></pre></td> +<td style="vertical-align:top;padding:0;margin:0;border:0;"> +<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-go" data-lang="go"> <span style="color:#a6e22e">gpg</span> <span style="color:#f92672">--</span><span style="color:#a6e22e">list</span><span style="color:#f92672">-</span><span style="color:#a6e22e">keys</span> + </code></pre></td></tr></table> +</div> +</div> + <p>执行结果:</p> + <div class="highlight"><div style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"> +<table style="border-spacing:0;padding:0;margin:0;border:0;width:auto;overflow:auto;display:block;"><tr><td style="vertical-align:top;padding:0;margin:0;border:0;"> +<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-go" data-lang="go"><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">4 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">5 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">6 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">7 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">8 +</span></code></pre></td> +<td style="vertical-align:top;padding:0;margin:0;border:0;"> +<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-go" data-lang="go"> <span style="color:#75715e">// 笔者本地电脑 +</span><span style="color:#75715e"></span> <span style="color:#960050;background-color:#1e0010">$</span> <span style="color:#a6e22e">gpg</span> <span style="color:#f92672">--</span><span style="color:#a6e22e">list</span><span style="color:#f92672">-</span><span style="color:#a6e22e">keys</span> + <span style="color:#f92672">/</span><span style="color:#a6e22e">home</span><span style="color:#f92672">/</span><span style="color:#a6e22e">resty</span><span style="color:#f92672">/</span>.<span style="color:#a6e22e">gnupg</span><span style="color:#f92672">/</span><span style="color:#a6e22e">pubring</span>.<span style="color:#a6e22e">gpg</span> + <span style="color:#f92672">------------------------------</span> + <span style="color:#a6e22e">pub</span> <span style="color:#ae81ff">4096</span><span style="color:#a6e22e">R</span><span style="color:#f92672">/</span><span style="color:#ae81ff">30</span><span style="color:#a6e22e">B5FD72</span> <span style="color:#ae81ff">2020</span><span style="color:#f92672">-</span><span style="color:#ae81ff">01</span><span style="color:#f92672">-</span><span style="color:#ae81ff">02</span> + <span style="color:#a6e22e">uid</span> <span style="color:#a6e22e">Yuansheng</span> <span style="color:#a6e22e">Wang</span> <<span style="color:#a6e22e">membphis</span><span style="color:#960050;background-color:#1e0010">@</span><span style="color:#a6e22e">apache</span>.<span style="color:#a6e22e">org</span>> + <span style="color:#a6e22e">sub</span> <span style="color:#ae81ff">4096</span><span style="color:#a6e22e">R</span><span style="color:#f92672">/</span><span style="color:#ae81ff">3</span><span style="color:#a6e22e">D2F913D</span> <span style="color:#ae81ff">2020</span><span style="color:#f92672">-</span><span style="color:#ae81ff">01</span><span style="color:#f92672">-</span><span style="color:#ae81ff">02</span> + </code></pre></td></tr></table> +</div> +</div> + <p>其中 30B5FD72 为公钥 ID。</p> + <h3 class="subtitle">将公钥同步到服务器</h3> + <p>命令如下:</p> + <div class="highlight"><div style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"> +<table style="border-spacing:0;padding:0;margin:0;border:0;width:auto;overflow:auto;display:block;"><tr><td style="vertical-align:top;padding:0;margin:0;border:0;"> +<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-go" data-lang="go"><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">4 +</span></code></pre></td> +<td style="vertical-align:top;padding:0;margin:0;border:0;"> +<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-go" data-lang="go"> <span style="color:#75715e">// 最后参数是上面生成的公钥 ID。 +</span><span style="color:#75715e"></span> <span style="color:#960050;background-color:#1e0010">$</span> <span style="color:#a6e22e">gpg</span> <span style="color:#f92672">--</span><span style="color:#a6e22e">keyserver</span> <span style="color:#a6e22e">hkp</span>:<span style="color:#75715e">//pool.sks-keyservers.net --send-key 30B5FD72 +</span><span style="color:#75715e"></span> <span style="color:#a6e22e">gpg</span>: <span style="color:#a6e22e">sending</span> <span style="color:#a6e22e">key</span> <span style="color:#ae81ff">30</span><span style="color:#a6e22e">B5FD72</span> <span style="color:#a6e22e">to</span> <span style="color:#a6e22e">hkp</span> <span style="color:#a6e22e">server</span> <span style="color:#a6e22e">pool</span>.<span style="color:#a6e22e">sks</span><span style="color:#f92672">-</span><span style= [...] + </code></pre></td></tr></table> +</div> +</div> + <p>pool.sks-keyservers.net为随意挑选的<a href="https://sks-keyservers.net/status/" target="_blank">公钥服务器</a>,每个服务器之间是自动同步的,选任意一个即可。</p> + </section> +</div> + + </div> +</section> + + + + + +<footer class="footer footer-gray"> + <div class="container"> + <div class="columns"> + <div class="column is-4"> + <div class="footer-column"> + <div class="footer-header"> + <h3>Disclaimer</h3> + </div> + <div class="footer-description"> + Apache APISIX (incubating) is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate t [...] + </div> + <ul class="link-list"> + </ul> + </div> + </div> + <div class="column is-4"> + <div class="footer-column"> + <div class="footer-header"> + <h3>Documentation</h3> + </div> + <div class="footer-description"> + + </div> + <ul class="link-list"> + <li> + <a href="https://github.com/apache/incubator-apisix#apisix"> + Overview + </a> + </li> + <li> + <a href="https://github.com/apache/incubator-apisix#quickstart"> + Quick start + </a> + </li> + <li> + <a href="https://github.com/apache/incubator-apisix/blob/master/doc/architecture-design.md"> + Developer guide + </a> + </li> + </ul> + </div> + </div> + <div class="column is-4"> + <div class="footer-column"> + <div class="footer-header"> + <h3>ASF</h3> + </div> + <div class="footer-description"> + + </div> + <ul class="link-list"> + <li> + <a href="http://www.apache.org/"> + Foundation + </a> + </li> + <li> + <a href="http://www.apache.org/licenses/"> + License + </a> + </li> + <li> + <a href="https://apachecon.com/?ref=apisix.incubator.apache.org"> + Events + </a> + </li> + <li> + <a href="http://www.apache.org/foundation/sponsorship.html"> + Sponsorship + </a> + </li> + <li> + <a href="http://www.apache.org/foundation/thanks.html"> + Thanks + </a> + </li> + </ul> + </div> + </div> + </div> + <div class="divider"></div> + <div class="copyright"> +Copyright © 2019 The Apache Software Foundation. Apache APISIX, and its feather logo are trademarks of The Apache Software Foundation. + </div> + </div> +</footer> + + + + + <div id="backtotop"><a href="#"></a></div> + + + + + + <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script> +<script src="https://unpkg.com/feather-icons"></script> +<script src="/js/fresh.js"></script> +<script src="/js/jquery.panelslider.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script> + </body> +</html> diff --git a/css/style.min.b9c587ec6e6d32c64dc04e5c71d9b5da5dc2224193e2541c7b3161c56d33b88c.css b/css/style.min.b83fa5dc8f25322d2f23b83e2b2e101f99ae09e5af7e801f9f2c6d51f802d9b1.css similarity index 99% rename from css/style.min.b9c587ec6e6d32c64dc04e5c71d9b5da5dc2224193e2541c7b3161c56d33b88c.css rename to css/style.min.b83fa5dc8f25322d2f23b83e2b2e101f99ae09e5af7e801f9f2c6d51f802d9b1.css index da75e12..0e59a48 100644 --- a/css/style.min.b9c587ec6e6d32c64dc04e5c71d9b5da5dc2224193e2541c7b3161c56d33b88c.css +++ b/css/style.min.b83fa5dc8f25322d2f23b83e2b2e101f99ae09e5af7e801f9f2c6d51f802d9b1.css @@ -1 +1 @@ -/*!bulma.io v0.7.0 | MIT License | github.com/jgthms/bulma*/@keyframes spinAround{from{transform:rotate(0deg)}to{transform:rotate(359deg)}}.delete,.modal-close,.is-unselectable,.button,.file,.breadcrumb,.pagination-previous,.pagination-next,.pagination-link,.pagination-ellipsis,.tabs{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.select:not(.is-multiple):not(.is-loading)::after,.navbar-link::after{border:3px solid transpar [...] \ No newline at end of file +/*!bulma.io v0.7.0 | MIT License | github.com/jgthms/bulma*/@keyframes spinAround{from{transform:rotate(0deg)}to{transform:rotate(359deg)}}.delete,.modal-close,.is-unselectable,.button,.file,.breadcrumb,.pagination-previous,.pagination-next,.pagination-link,.pagination-ellipsis,.tabs{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.select:not(.is-multiple):not(.is-loading)::after,.navbar-link::after{border:3px solid transpar [...] \ No newline at end of file diff --git a/downloads/index.html b/downloads/index.html index 795e567..ad11c81 100644 --- a/downloads/index.html +++ b/downloads/index.html @@ -19,7 +19,7 @@ <link rel="icon" type="image/png" href="/images/favicon.png" /> <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600" rel="stylesheet"> -<link rel="stylesheet" type="text/css" href="/css/style.min.b9c587ec6e6d32c64dc04e5c71d9b5da5dc2224193e2541c7b3161c56d33b88c.css" integrity="sha256-ucWH7G5tMsZNwE5ccdm12l3CIkGT4lQcezFhxW0zuIw="> +<link rel="stylesheet" type="text/css" href="/css/style.min.b83fa5dc8f25322d2f23b83e2b2e101f99ae09e5af7e801f9f2c6d51f802d9b1.css" integrity="sha256-uD+l3I8lMi0vI7g+Ky4QH5muCeWvfoAfnyxtUfgC2bE="> <link rel="stylesheet" type="text/css" href="/css/icons.css"> </head> @@ -59,6 +59,17 @@ <a href="/downloads" class="navbar-item is-secondary"> Downloads </a> + <div class="navbar-item has-dropdown is-hoverable"> + <a class="navbar-link"> + Get Involved + </a> + + <div class="navbar-dropdown"> + <a href="contribute/release" class="navbar-item"> + Release Guide + </a> + </div> + </div> </div> <a class="language-switcher" href="/zh">中</a> </div> @@ -93,6 +104,17 @@ <a href="/downloads" class="navbar-item is-secondary"> Downloads </a> + <div class="navbar-item has-dropdown is-hoverable"> + <a class="navbar-link"> + Get Involved + </a> + + <div class="navbar-dropdown"> + <a href="contribute/release" class="navbar-item"> + Release Guide + </a> + </div> + </div> </div> <a class="language-switcher" href="/zh">中</a> diff --git a/en/sitemap.xml b/en/sitemap.xml index 43d0ed6..c2082b3 100644 --- a/en/sitemap.xml +++ b/en/sitemap.xml @@ -33,6 +33,36 @@ </url> <url> + <loc>https://apisix.incubator.apache.org/contribute/</loc> + <lastmod>2020-01-07T11:46:04+08:00</lastmod> + <xhtml:link + rel="alternate" + hreflang="zh" + href="https://apisix.incubator.apache.org/zh/contribute/" + /> + <xhtml:link + rel="alternate" + hreflang="en" + href="https://apisix.incubator.apache.org/contribute/" + /> + </url> + + <url> + <loc>https://apisix.incubator.apache.org/contribute/release/</loc> + <lastmod>2020-01-07T11:46:04+08:00</lastmod> + <xhtml:link + rel="alternate" + hreflang="zh" + href="https://apisix.incubator.apache.org/zh/contribute/release/" + /> + <xhtml:link + rel="alternate" + hreflang="en" + href="https://apisix.incubator.apache.org/contribute/release/" + /> + </url> + + <url> <loc>https://apisix.incubator.apache.org/downloads/</loc> <lastmod>2019-11-26T23:48:02+08:00</lastmod> </url> diff --git a/index.html b/index.html index 943174c..0e48bda 100644 --- a/index.html +++ b/index.html @@ -20,7 +20,7 @@ <link rel="icon" type="image/png" href="/images/favicon.png" /> <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600" rel="stylesheet"> -<link rel="stylesheet" type="text/css" href="/css/style.min.b9c587ec6e6d32c64dc04e5c71d9b5da5dc2224193e2541c7b3161c56d33b88c.css" integrity="sha256-ucWH7G5tMsZNwE5ccdm12l3CIkGT4lQcezFhxW0zuIw="> +<link rel="stylesheet" type="text/css" href="/css/style.min.b83fa5dc8f25322d2f23b83e2b2e101f99ae09e5af7e801f9f2c6d51f802d9b1.css" integrity="sha256-uD+l3I8lMi0vI7g+Ky4QH5muCeWvfoAfnyxtUfgC2bE="> <link rel="stylesheet" type="text/css" href="/css/icons.css"> </head> @@ -61,6 +61,17 @@ <a href="/downloads" class="navbar-item is-secondary"> Downloads </a> + <div class="navbar-item has-dropdown is-hoverable"> + <a class="navbar-link"> + Get Involved + </a> + + <div class="navbar-dropdown"> + <a href="contribute/release" class="navbar-item"> + Release Guide + </a> + </div> + </div> </div> <a class="language-switcher" href="/zh">中</a> </div> @@ -95,6 +106,17 @@ <a href="/downloads" class="navbar-item is-secondary"> Downloads </a> + <div class="navbar-item has-dropdown is-hoverable"> + <a class="navbar-link"> + Get Involved + </a> + + <div class="navbar-dropdown"> + <a href="contribute/release" class="navbar-item"> + Release Guide + </a> + </div> + </div> </div> <a class="language-switcher" href="/zh">中</a> diff --git a/index.xml b/index.xml index 249e8fe..3d28eab 100644 --- a/index.xml +++ b/index.xml @@ -21,6 +21,22 @@ If you have apprehensions regarding APISIX’s security or you discover vulnerab </item> <item> + <title>Release Guide</title> + <link>https://apisix.incubator.apache.org/contribute/release/</link> + <pubDate>Tue, 07 Jan 2020 11:46:04 +0800</pubDate> + + <guid>https://apisix.incubator.apache.org/contribute/release/</guid> + <description>GPG 设置 安装 GPG 在 GnuPG 官网下载安装包。 GnuPG 的 1.x 版本和 2.x 版本的命令有细微差别,下列说明以 GnuPG-2.1.23 版本为例。 +安装完成后,执行以下命令查看版本号。 +1 2 gpg --version 创建 Key 安装完成后,执行以下命令创建key。 +GnuPG-2.x可使用: +1 2 gpg --full-gen-key GnuPG-1.x可使用: +1 2 gpg --gen-key 根据提示完成key: +注意:请使用Apache mail生成GPG的Key。 +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 gpg (GnuPG) 2.</description> + </item> + + <item> <title>Downloads</title> <link>https://apisix.incubator.apache.org/downloads/</link> <pubDate>Tue, 26 Nov 2019 23:48:02 +0800</pubDate> diff --git a/security/index.html b/security/index.html index ac2f316..33a34b0 100644 --- a/security/index.html +++ b/security/index.html @@ -20,7 +20,7 @@ If you have apprehensions regarding APISIX’s security or you discover vulnerab <link rel="icon" type="image/png" href="/images/favicon.png" /> <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600" rel="stylesheet"> -<link rel="stylesheet" type="text/css" href="/css/style.min.b9c587ec6e6d32c64dc04e5c71d9b5da5dc2224193e2541c7b3161c56d33b88c.css" integrity="sha256-ucWH7G5tMsZNwE5ccdm12l3CIkGT4lQcezFhxW0zuIw="> +<link rel="stylesheet" type="text/css" href="/css/style.min.b83fa5dc8f25322d2f23b83e2b2e101f99ae09e5af7e801f9f2c6d51f802d9b1.css" integrity="sha256-uD+l3I8lMi0vI7g+Ky4QH5muCeWvfoAfnyxtUfgC2bE="> <link rel="stylesheet" type="text/css" href="/css/icons.css"> </head> @@ -60,6 +60,17 @@ If you have apprehensions regarding APISIX’s security or you discover vulnerab <a href="/downloads" class="navbar-item is-secondary"> Downloads </a> + <div class="navbar-item has-dropdown is-hoverable"> + <a class="navbar-link"> + Get Involved + </a> + + <div class="navbar-dropdown"> + <a href="contribute/release" class="navbar-item"> + Release Guide + </a> + </div> + </div> </div> <a class="language-switcher" href="/zh">中</a> </div> @@ -94,6 +105,17 @@ If you have apprehensions regarding APISIX’s security or you discover vulnerab <a href="/downloads" class="navbar-item is-secondary"> Downloads </a> + <div class="navbar-item has-dropdown is-hoverable"> + <a class="navbar-link"> + Get Involved + </a> + + <div class="navbar-dropdown"> + <a href="contribute/release" class="navbar-item"> + Release Guide + </a> + </div> + </div> </div> <a class="language-switcher" href="/zh">中</a> diff --git a/zh/contribute/index.xml b/zh/contribute/index.xml new file mode 100644 index 0000000..8b36f5c --- /dev/null +++ b/zh/contribute/index.xml @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8" standalone="yes" ?> +<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> + <channel> + <title>Contributes on Apache APISIX</title> + <link>https://apisix.incubator.apache.org/zh/contribute/</link> + <description>Recent content in Contributes on Apache APISIX</description> + <generator>Hugo -- gohugo.io</generator> + <lastBuildDate>Tue, 07 Jan 2020 11:46:04 +0800</lastBuildDate> + + <atom:link href="https://apisix.incubator.apache.org/zh/contribute/index.xml" rel="self" type="application/rss+xml" /> + + + <item> + <title>发布指南</title> + <link>https://apisix.incubator.apache.org/zh/contribute/release/</link> + <pubDate>Tue, 07 Jan 2020 11:46:04 +0800</pubDate> + + <guid>https://apisix.incubator.apache.org/zh/contribute/release/</guid> + <description>GPG 设置 安装 GPG 在 GnuPG 官网下载安装包。 GnuPG 的 1.x 版本和 2.x 版本的命令有细微差别,下列说明以 GnuPG-2.1.23 版本为例。 +安装完成后,执行以下命令查看版本号。 +1 2 gpg --version 创建 Key 安装完成后,执行以下命令创建key。 +GnuPG-2.x可使用: +1 2 gpg --full-gen-key GnuPG-1.x可使用: +1 2 gpg --gen-key 根据提示完成key: +注意:请使用Apache mail生成GPG的Key。 +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 gpg (GnuPG) 2.</description> + </item> + + </channel> +</rss> \ No newline at end of file diff --git a/zh/contribute/release/index.html b/zh/contribute/release/index.html new file mode 100644 index 0000000..20f3d37 --- /dev/null +++ b/zh/contribute/release/index.html @@ -0,0 +1,422 @@ +<!DOCTYPE html> +<html lang=""> + <head> + + +<meta property="og:title" content="发布指南" /> +<meta property="og:description" content="GPG 设置 安装 GPG 在 GnuPG 官网下载安装包。 GnuPG 的 1.x 版本和 2.x 版本的命令有细微差别,下列说明以 GnuPG-2.1.23 版本为例。 +安装完成后,执行以下命令查看版本号。 +1 2 gpg --version 创建 Key 安装完成后,执行以下命令创建key。 +GnuPG-2.x可使用: +1 2 gpg --full-gen-key GnuPG-1.x可使用: +1 2 gpg --gen-key 根据提示完成key: +注意:请使用Apache mail生成GPG的Key。 +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 gpg (GnuPG) 2." /> +<meta property="og:type" content="article" /> +<meta property="og:url" content="https://apisix.incubator.apache.org/zh/contribute/release/" /> +<meta property="article:published_time" content="2020-01-07T11:46:04+08:00" /> +<meta property="article:modified_time" content="2020-01-07T11:46:04+08:00" /> + + +<meta name="description" content="Hardcoded description; the author should update :)" /> +<meta charset="utf-8"> +<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> +<meta http-equiv="x-ua-compatible" content="ie=edge"> + <title>Apache APISIX</title> + +<link rel="icon" type="image/png" href="/images/favicon.png" /> +<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600" rel="stylesheet"> +<link rel="stylesheet" type="text/css" href="/css/style.min.b83fa5dc8f25322d2f23b83e2b2e101f99ae09e5af7e801f9f2c6d51f802d9b1.css" integrity="sha256-uD+l3I8lMi0vI7g+Ky4QH5muCeWvfoAfnyxtUfgC2bE="> +<link rel="stylesheet" type="text/css" href="/css/icons.css"> + + </head> + <body> + + <div id="preloader"> + <div id="status"></div> + </div> + + + + + +<nav class="navbar is-fresh is-transparent no-shadow" role="navigation" aria-label="main navigation"> + <div class="container"> + <div class="navbar-brand"> + <a class="navbar-item" href="/"> + <img src="/images/logos/apisix.svg"> + </a> + + <a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false" data-target="navbar-menu"> + <span aria-hidden="true"></span> + <span aria-hidden="true"></span> + <span aria-hidden="true"></span> + </a> + </div> + + <div id="navbar-menu" class="navbar-menu is-static"> + + <div class="navbar-end"> + <a href="/" class="navbar-item is-secondary"> + 首页 + </a> + <a href="security" class="navbar-item is-secondary"> + 安全 + </a> + <a href="/downloads" class="navbar-item is-secondary"> + 下载 + </a> + <div class="navbar-item has-dropdown is-hoverable"> + <a class="navbar-link"> + 参与 + </a> + + <div class="navbar-dropdown"> + <a href="contribute/release" class="navbar-item"> + 发布指南 + </a> + </div> + </div> + </div> + <a class="language-switcher" href="/">EN</a> + </div> + </div> +</nav> + + + +<nav id="navbar-clone" class="navbar is-fresh is-transparent" role="navigation" aria-label="main navigation"> + <div class="container"> + <div class="navbar-brand"> + <a class="navbar-item" href="/"> + <img src="/images/logos/apisix.svg" alt="" width="112" height="28"> + </a> + + <a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false" data-target="cloned-navbar-menu"> + <span aria-hidden="true"></span> + <span aria-hidden="true"></span> + <span aria-hidden="true"></span> + </a> + </div> + + <div id="cloned-navbar-menu" class="navbar-menu is-fixed"> + + <div class="navbar-end"> + <a href="/" class="navbar-item is-secondary"> + 首页 + </a> + <a href="security" class="navbar-item is-secondary"> + 安全 + </a> + <a href="/downloads" class="navbar-item is-secondary"> + 下载 + </a> + <div class="navbar-item has-dropdown is-hoverable"> + <a class="navbar-link"> + 参与 + </a> + + <div class="navbar-dropdown"> + <a href="contribute/release" class="navbar-item"> + 发布指南 + </a> + </div> + </div> + </div> + + <a class="language-switcher" href="/">EN</a> + </div> +</div> +</nav> + +<section class="section is-medium"> + <div class="container"> + <div class="columns"> + <div class="column is-centered-tablet-portrait"> + <h1 class="title section-title">发布指南</h1> + <h5 class="subtitle is-5 is-muted"></h5> + <div class="divider"></div> + </div> + </div> + <div class="release-guide"> + <section> + <h2 class="title">GPG 设置</h2> + <br /> + <h3 class="subtitle">安装 GPG</h3> + <p>在 GnuPG 官网下载安装包。 GnuPG 的 1.x 版本和 2.x 版本的命令有细微差别,下列说明以 GnuPG-2.1.23 版本为例。</p> + <p>安装完成后,执行以下命令查看版本号。</p> + <div class="highlight"><div style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"> +<table style="border-spacing:0;padding:0;margin:0;border:0;width:auto;overflow:auto;display:block;"><tr><td style="vertical-align:top;padding:0;margin:0;border:0;"> +<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-go" data-lang="go"><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2 +</span></code></pre></td> +<td style="vertical-align:top;padding:0;margin:0;border:0;"> +<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-go" data-lang="go"> <span style="color:#a6e22e">gpg</span> <span style="color:#f92672">--</span><span style="color:#a6e22e">version</span> + </code></pre></td></tr></table> +</div> +</div> + <h3 class="subtitle">创建 Key</h3> + <p>安装完成后,执行以下命令创建key。</p> + <p>GnuPG-2.x可使用:</p> + <div class="highlight"><div style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"> +<table style="border-spacing:0;padding:0;margin:0;border:0;width:auto;overflow:auto;display:block;"><tr><td style="vertical-align:top;padding:0;margin:0;border:0;"> +<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-go" data-lang="go"><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2 +</span></code></pre></td> +<td style="vertical-align:top;padding:0;margin:0;border:0;"> +<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-go" data-lang="go"> <span style="color:#a6e22e">gpg</span> <span style="color:#f92672">--</span><span style="color:#a6e22e">full</span><span style="color:#f92672">-</span><span style="color:#a6e22e">gen</span><span style="color:#f92672">-</span><span style="color:#a6e22e">key</span> + </code></pre></td></tr></table> +</div> +</div> + <p>GnuPG-1.x可使用:</p> + <div class="highlight"><div style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"> +<table style="border-spacing:0;padding:0;margin:0;border:0;width:auto;overflow:auto;display:block;"><tr><td style="vertical-align:top;padding:0;margin:0;border:0;"> +<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-go" data-lang="go"><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2 +</span></code></pre></td> +<td style="vertical-align:top;padding:0;margin:0;border:0;"> +<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-go" data-lang="go"> <span style="color:#a6e22e">gpg</span> <span style="color:#f92672">--</span><span style="color:#a6e22e">gen</span><span style="color:#f92672">-</span><span style="color:#a6e22e">key</span> + </code></pre></td></tr></table> +</div> +</div> + <p>根据提示完成key:</p> + <p class="warning">注意:请使用Apache mail生成GPG的Key。</p> + <div class="highlight"><div style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"> +<table style="border-spacing:0;padding:0;margin:0;border:0;width:auto;overflow:auto;display:block;"><tr><td style="vertical-align:top;padding:0;margin:0;border:0;"> +<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-go" data-lang="go"><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 1 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 2 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 3 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 4 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 5 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 6 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 7 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 8 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f"> 9 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">10 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">11 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">12 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">13 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">14 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">15 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">16 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">17 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">18 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">19 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">20 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">21 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">22 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">23 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">24 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">25 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">26 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">27 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">28 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">29 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">30 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">31 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">32 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">33 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">34 +</span></code></pre></td> +<td style="vertical-align:top;padding:0;margin:0;border:0;"> +<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-go" data-lang="go"> <span style="color:#a6e22e">gpg</span> (<span style="color:#a6e22e">GnuPG</span>) <span style="color:#ae81ff">2.0.12</span>; <span style="color:#a6e22e">Copyright</span> (<span style="color:#a6e22e">C</span>) <span style="color:#ae81ff">2009</span> <span style="color:#a6e22e">Free</span> <span style="color:#a6e22e">Software</span> <span style="color:#a [...] +<span style="color:#a6e22e">This</span> <span style="color:#a6e22e">is</span> <span style="color:#a6e22e">free</span> <span style="color:#a6e22e">software</span>: <span style="color:#a6e22e">you</span> <span style="color:#a6e22e">are</span> <span style="color:#a6e22e">free</span> <span style="color:#a6e22e">to</span> <span style="color:#a6e22e">change</span> <span style="color:#a6e22e">and</span> <span style="color:#a6e22e">redistribute</span> <span style="color:#a6e22e">it</span>. +<span style="color:#a6e22e">There</span> <span style="color:#a6e22e">is</span> <span style="color:#a6e22e">NO</span> <span style="color:#a6e22e">WARRANTY</span>, <span style="color:#a6e22e">to</span> <span style="color:#a6e22e">the</span> <span style="color:#a6e22e">extent</span> <span style="color:#a6e22e">permitted</span> <span style="color:#a6e22e">by</span> <span style="color:#a6e22e">law</span>. + +<span style="color:#a6e22e">Please</span> <span style="color:#66d9ef">select</span> <span style="color:#a6e22e">what</span> <span style="color:#a6e22e">kind</span> <span style="color:#a6e22e">of</span> <span style="color:#a6e22e">key</span> <span style="color:#a6e22e">you</span> <span style="color:#a6e22e">want</span>: + (<span style="color:#ae81ff">1</span>) <span style="color:#a6e22e">RSA</span> <span style="color:#a6e22e">and</span> <span style="color:#a6e22e">RSA</span> (<span style="color:#66d9ef">default</span>) + (<span style="color:#ae81ff">2</span>) <span style="color:#a6e22e">DSA</span> <span style="color:#a6e22e">and</span> <span style="color:#a6e22e">Elgamal</span> + (<span style="color:#ae81ff">3</span>) <span style="color:#a6e22e">DSA</span> (<span style="color:#a6e22e">sign</span> <span style="color:#a6e22e">only</span>) + (<span style="color:#ae81ff">4</span>) <span style="color:#a6e22e">RSA</span> (<span style="color:#a6e22e">sign</span> <span style="color:#a6e22e">only</span>) +<span style="color:#a6e22e">Your</span> <span style="color:#a6e22e">selection</span><span style="color:#960050;background-color:#1e0010">?</span> <span style="color:#ae81ff">1</span> +<span style="color:#a6e22e">RSA</span> <span style="color:#a6e22e">keys</span> <span style="color:#a6e22e">may</span> <span style="color:#a6e22e">be</span> <span style="color:#a6e22e">between</span> <span style="color:#ae81ff">1024</span> <span style="color:#a6e22e">and</span> <span style="color:#ae81ff">4096</span> <span style="color:#a6e22e">bits</span> <span style="color:#a6e22e">long</span>. +<span style="color:#a6e22e">What</span> <span style="color:#a6e22e">keysize</span> <span style="color:#a6e22e">do</span> <span style="color:#a6e22e">you</span> <span style="color:#a6e22e">want</span><span style="color:#960050;background-color:#1e0010">?</span> (<span style="color:#ae81ff">2048</span>) <span style="color:#ae81ff">4096</span> +<span style="color:#a6e22e">Requested</span> <span style="color:#a6e22e">keysize</span> <span style="color:#a6e22e">is</span> <span style="color:#ae81ff">4096</span> <span style="color:#a6e22e">bits</span> +<span style="color:#a6e22e">Please</span> <span style="color:#a6e22e">specify</span> <span style="color:#a6e22e">how</span> <span style="color:#a6e22e">long</span> <span style="color:#a6e22e">the</span> <span style="color:#a6e22e">key</span> <span style="color:#a6e22e">should</span> <span style="color:#a6e22e">be</span> <span style="color:#a6e22e">valid</span>. + <span style="color:#ae81ff">0</span> = <span style="color:#a6e22e">key</span> <span style="color:#a6e22e">does</span> <span style="color:#a6e22e">not</span> <span style="color:#a6e22e">expire</span> + <<span style="color:#a6e22e">n</span>> = <span style="color:#a6e22e">key</span> <span style="color:#a6e22e">expires</span> <span style="color:#a6e22e">in</span> <span style="color:#a6e22e">n</span> <span style="color:#a6e22e">days</span> + <<span style="color:#a6e22e">n</span>><span style="color:#a6e22e">w</span> = <span style="color:#a6e22e">key</span> <span style="color:#a6e22e">expires</span> <span style="color:#a6e22e">in</span> <span style="color:#a6e22e">n</span> <span style="color:#a6e22e">weeks</span> + <<span style="color:#a6e22e">n</span>><span style="color:#a6e22e">m</span> = <span style="color:#a6e22e">key</span> <span style="color:#a6e22e">expires</span> <span style="color:#a6e22e">in</span> <span style="color:#a6e22e">n</span> <span style="color:#a6e22e">months</span> + <<span style="color:#a6e22e">n</span>><span style="color:#a6e22e">y</span> = <span style="color:#a6e22e">key</span> <span style="color:#a6e22e">expires</span> <span style="color:#a6e22e">in</span> <span style="color:#a6e22e">n</span> <span style="color:#a6e22e">years</span> +<span style="color:#a6e22e">Key</span> <span style="color:#a6e22e">is</span> <span style="color:#a6e22e">valid</span> <span style="color:#66d9ef">for</span><span style="color:#960050;background-color:#1e0010">?</span> (<span style="color:#ae81ff">0</span>) +<span style="color:#a6e22e">Key</span> <span style="color:#a6e22e">does</span> <span style="color:#a6e22e">not</span> <span style="color:#a6e22e">expire</span> <span style="color:#a6e22e">at</span> <span style="color:#a6e22e">all</span> +<span style="color:#a6e22e">Is</span> <span style="color:#a6e22e">this</span> <span style="color:#a6e22e">correct</span><span style="color:#960050;background-color:#1e0010">?</span> (<span style="color:#a6e22e">y</span><span style="color:#f92672">/</span><span style="color:#a6e22e">N</span>) <span style="color:#a6e22e">y</span> + +<span style="color:#a6e22e">GnuPG</span> <span style="color:#a6e22e">needs</span> <span style="color:#a6e22e">to</span> <span style="color:#a6e22e">construct</span> <span style="color:#a6e22e">a</span> <span style="color:#a6e22e">user</span> <span style="color:#a6e22e">ID</span> <span style="color:#a6e22e">to</span> <span style="color:#a6e22e">identify</span> <span style="color:#a6e22e">your</span> <span style="color:#a6e22e">key</span>. + +<span style="color:#a6e22e">Real</span> <span style="color:#a6e22e">name</span>: <span style="color:#960050;background-color:#1e0010">$</span>{<span style="color:#a6e22e">输入用户名</span>} +<span style="color:#a6e22e">Email</span> <span style="color:#a6e22e">address</span>: <span style="color:#960050;background-color:#1e0010">$</span>{<span style="color:#a6e22e">输入邮件地址</span>} +<span style="color:#a6e22e">Comment</span>: <span style="color:#960050;background-color:#1e0010">$</span>{<span style="color:#a6e22e">输入注释</span>} +<span style="color:#a6e22e">You</span> <span style="color:#a6e22e">selected</span> <span style="color:#a6e22e">this</span> <span style="color:#a6e22e">USER</span><span style="color:#f92672">-</span><span style="color:#a6e22e">ID</span>: + <span style="color:#e6db74">"${输入的用户名} (${输入的注释}) &lt;${输入的邮件地址}>"</span> + +<span style="color:#a6e22e">Change</span> (<span style="color:#a6e22e">N</span>)<span style="color:#a6e22e">ame</span>, (<span style="color:#a6e22e">C</span>)<span style="color:#a6e22e">omment</span>, (<span style="color:#a6e22e">E</span>)<span style="color:#a6e22e">mail</span> <span style="color:#a6e22e">or</span> (<span style="color:#a6e22e">O</span>)<span style="color:#a6e22e">kay</span><span style="color:#f92672">/</span>(<span style="color:#a6e22e">Q</span>)<span style="color:#a6e22 [...] +<span style="color:#a6e22e">You</span> <span style="color:#a6e22e">need</span> <span style="color:#a6e22e">a</span> <span style="color:#a6e22e">Passphrase</span> <span style="color:#a6e22e">to</span> <span style="color:#a6e22e">protect</span> <span style="color:#a6e22e">your</span> <span style="color:#a6e22e">secret</span> <span style="color:#a6e22e">key</span>. <span style="color:#960050;background-color:#1e0010">#</span> <span style="color:#a6e22e">输入密码</span> + </code></pre></td></tr></table> +</div> +</div> + <h3 class="subtitle">查看生成的key</h3> + <div class="highlight"><div style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"> +<table style="border-spacing:0;padding:0;margin:0;border:0;width:auto;overflow:auto;display:block;"><tr><td style="vertical-align:top;padding:0;margin:0;border:0;"> +<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-go" data-lang="go"><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2 +</span></code></pre></td> +<td style="vertical-align:top;padding:0;margin:0;border:0;"> +<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-go" data-lang="go"> <span style="color:#a6e22e">gpg</span> <span style="color:#f92672">--</span><span style="color:#a6e22e">list</span><span style="color:#f92672">-</span><span style="color:#a6e22e">keys</span> + </code></pre></td></tr></table> +</div> +</div> + <p>执行结果:</p> + <div class="highlight"><div style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"> +<table style="border-spacing:0;padding:0;margin:0;border:0;width:auto;overflow:auto;display:block;"><tr><td style="vertical-align:top;padding:0;margin:0;border:0;"> +<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-go" data-lang="go"><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">4 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">5 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">6 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">7 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">8 +</span></code></pre></td> +<td style="vertical-align:top;padding:0;margin:0;border:0;"> +<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-go" data-lang="go"> <span style="color:#75715e">// 笔者本地电脑 +</span><span style="color:#75715e"></span> <span style="color:#960050;background-color:#1e0010">$</span> <span style="color:#a6e22e">gpg</span> <span style="color:#f92672">--</span><span style="color:#a6e22e">list</span><span style="color:#f92672">-</span><span style="color:#a6e22e">keys</span> + <span style="color:#f92672">/</span><span style="color:#a6e22e">home</span><span style="color:#f92672">/</span><span style="color:#a6e22e">resty</span><span style="color:#f92672">/</span>.<span style="color:#a6e22e">gnupg</span><span style="color:#f92672">/</span><span style="color:#a6e22e">pubring</span>.<span style="color:#a6e22e">gpg</span> + <span style="color:#f92672">------------------------------</span> + <span style="color:#a6e22e">pub</span> <span style="color:#ae81ff">4096</span><span style="color:#a6e22e">R</span><span style="color:#f92672">/</span><span style="color:#ae81ff">30</span><span style="color:#a6e22e">B5FD72</span> <span style="color:#ae81ff">2020</span><span style="color:#f92672">-</span><span style="color:#ae81ff">01</span><span style="color:#f92672">-</span><span style="color:#ae81ff">02</span> + <span style="color:#a6e22e">uid</span> <span style="color:#a6e22e">Yuansheng</span> <span style="color:#a6e22e">Wang</span> <<span style="color:#a6e22e">membphis</span><span style="color:#960050;background-color:#1e0010">@</span><span style="color:#a6e22e">apache</span>.<span style="color:#a6e22e">org</span>> + <span style="color:#a6e22e">sub</span> <span style="color:#ae81ff">4096</span><span style="color:#a6e22e">R</span><span style="color:#f92672">/</span><span style="color:#ae81ff">3</span><span style="color:#a6e22e">D2F913D</span> <span style="color:#ae81ff">2020</span><span style="color:#f92672">-</span><span style="color:#ae81ff">01</span><span style="color:#f92672">-</span><span style="color:#ae81ff">02</span> + </code></pre></td></tr></table> +</div> +</div> + <p>其中 30B5FD72 为公钥 ID。</p> + <h3 class="subtitle">将公钥同步到服务器</h3> + <p>命令如下:</p> + <div class="highlight"><div style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"> +<table style="border-spacing:0;padding:0;margin:0;border:0;width:auto;overflow:auto;display:block;"><tr><td style="vertical-align:top;padding:0;margin:0;border:0;"> +<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-go" data-lang="go"><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">1 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">2 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">3 +</span><span style="margin-right:0.4em;padding:0 0.4em 0 0.4em;color:#7f7f7f">4 +</span></code></pre></td> +<td style="vertical-align:top;padding:0;margin:0;border:0;"> +<pre style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4"><code class="language-go" data-lang="go"> <span style="color:#75715e">// 最后参数是上面生成的公钥 ID。 +</span><span style="color:#75715e"></span> <span style="color:#960050;background-color:#1e0010">$</span> <span style="color:#a6e22e">gpg</span> <span style="color:#f92672">--</span><span style="color:#a6e22e">keyserver</span> <span style="color:#a6e22e">hkp</span>:<span style="color:#75715e">//pool.sks-keyservers.net --send-key 30B5FD72 +</span><span style="color:#75715e"></span> <span style="color:#a6e22e">gpg</span>: <span style="color:#a6e22e">sending</span> <span style="color:#a6e22e">key</span> <span style="color:#ae81ff">30</span><span style="color:#a6e22e">B5FD72</span> <span style="color:#a6e22e">to</span> <span style="color:#a6e22e">hkp</span> <span style="color:#a6e22e">server</span> <span style="color:#a6e22e">pool</span>.<span style="color:#a6e22e">sks</span><span style="color:#f92672">-</span><span style= [...] + </code></pre></td></tr></table> +</div> +</div> + <p>pool.sks-keyservers.net为随意挑选的<a href="https://sks-keyservers.net/status/" target="_blank">公钥服务器</a>,每个服务器之间是自动同步的,选任意一个即可。</p> + </section> +</div> + + </div> +</section> + + + + + +<footer class="footer footer-gray"> + <div class="container"> + <div class="columns"> + <div class="column is-4"> + <div class="footer-column"> + <div class="footer-header"> + <h3>Disclaimer</h3> + </div> + <div class="footer-description"> + Apache APISIX (incubating) is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate t [...] + </div> + <ul class="link-list"> + </ul> + </div> + </div> + <div class="column is-4"> + <div class="footer-column"> + <div class="footer-header"> + <h3>Documentation</h3> + </div> + <div class="footer-description"> + + </div> + <ul class="link-list"> + <li> + <a href="https://github.com/apache/incubator-apisix#apisix"> + Overview + </a> + </li> + <li> + <a href="https://github.com/apache/incubator-apisix#quickstart"> + Quick start + </a> + </li> + <li> + <a href="https://github.com/apache/incubator-apisix/blob/master/doc/architecture-design.md"> + Developer guide + </a> + </li> + </ul> + </div> + </div> + <div class="column is-4"> + <div class="footer-column"> + <div class="footer-header"> + <h3>ASF</h3> + </div> + <div class="footer-description"> + + </div> + <ul class="link-list"> + <li> + <a href="http://www.apache.org/"> + Foundation + </a> + </li> + <li> + <a href="http://www.apache.org/licenses/"> + License + </a> + </li> + <li> + <a href="https://apachecon.com/?ref=apisix.incubator.apache.org"> + Events + </a> + </li> + <li> + <a href="http://www.apache.org/foundation/sponsorship.html"> + Sponsorship + </a> + </li> + <li> + <a href="http://www.apache.org/foundation/thanks.html"> + Thanks + </a> + </li> + </ul> + </div> + </div> + </div> + <div class="divider"></div> + <div class="copyright"> +Copyright © 2019 The Apache Software Foundation. Apache APISIX, and its feather logo are trademarks of The Apache Software Foundation. + </div> + </div> +</footer> + + + + + <div id="backtotop"><a href="#"></a></div> + + + + + + <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script> +<script src="https://unpkg.com/feather-icons"></script> +<script src="/js/fresh.js"></script> +<script src="/js/jquery.panelslider.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script> + </body> +</html> diff --git a/zh/index.html b/zh/index.html index 11b8d30..c5e7a6f 100644 --- a/zh/index.html +++ b/zh/index.html @@ -20,7 +20,7 @@ <link rel="icon" type="image/png" href="/images/favicon.png" /> <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600" rel="stylesheet"> -<link rel="stylesheet" type="text/css" href="/css/style.min.b9c587ec6e6d32c64dc04e5c71d9b5da5dc2224193e2541c7b3161c56d33b88c.css" integrity="sha256-ucWH7G5tMsZNwE5ccdm12l3CIkGT4lQcezFhxW0zuIw="> +<link rel="stylesheet" type="text/css" href="/css/style.min.b83fa5dc8f25322d2f23b83e2b2e101f99ae09e5af7e801f9f2c6d51f802d9b1.css" integrity="sha256-uD+l3I8lMi0vI7g+Ky4QH5muCeWvfoAfnyxtUfgC2bE="> <link rel="stylesheet" type="text/css" href="/css/icons.css"> </head> @@ -61,6 +61,17 @@ <a href="/downloads" class="navbar-item is-secondary"> 下载 </a> + <div class="navbar-item has-dropdown is-hoverable"> + <a class="navbar-link"> + 参与 + </a> + + <div class="navbar-dropdown"> + <a href="contribute/release" class="navbar-item"> + 发布指南 + </a> + </div> + </div> </div> <a class="language-switcher" href="/">EN</a> </div> @@ -95,6 +106,17 @@ <a href="/downloads" class="navbar-item is-secondary"> 下载 </a> + <div class="navbar-item has-dropdown is-hoverable"> + <a class="navbar-link"> + 参与 + </a> + + <div class="navbar-dropdown"> + <a href="contribute/release" class="navbar-item"> + 发布指南 + </a> + </div> + </div> </div> <a class="language-switcher" href="/">EN</a> diff --git a/zh/index.xml b/zh/index.xml index ee22e78..74c5c9c 100644 --- a/zh/index.xml +++ b/zh/index.xml @@ -20,5 +20,21 @@ If you have apprehensions regarding APISIX’s security or you discover vulnerability or potential threat, don’t hesitate to get in touch with the Apache Security Team by dropping a mail at secur...@apache.org. Please specify the project name as Incubator APISIX and its product name APISIX or APISIX-Dashboard in the email and provide a description of the relevant problem or potential threat.</description> </item> + <item> + <title>发布指南</title> + <link>https://apisix.incubator.apache.org/zh/contribute/release/</link> + <pubDate>Tue, 07 Jan 2020 11:46:04 +0800</pubDate> + + <guid>https://apisix.incubator.apache.org/zh/contribute/release/</guid> + <description>GPG 设置 安装 GPG 在 GnuPG 官网下载安装包。 GnuPG 的 1.x 版本和 2.x 版本的命令有细微差别,下列说明以 GnuPG-2.1.23 版本为例。 +安装完成后,执行以下命令查看版本号。 +1 2 gpg --version 创建 Key 安装完成后,执行以下命令创建key。 +GnuPG-2.x可使用: +1 2 gpg --full-gen-key GnuPG-1.x可使用: +1 2 gpg --gen-key 根据提示完成key: +注意:请使用Apache mail生成GPG的Key。 +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 gpg (GnuPG) 2.</description> + </item> + </channel> </rss> \ No newline at end of file diff --git a/zh/security/index.html b/zh/security/index.html index 858db70..54a7d40 100644 --- a/zh/security/index.html +++ b/zh/security/index.html @@ -20,7 +20,7 @@ If you have apprehensions regarding APISIX’s security or you discover vulnerab <link rel="icon" type="image/png" href="/images/favicon.png" /> <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600" rel="stylesheet"> -<link rel="stylesheet" type="text/css" href="/css/style.min.b9c587ec6e6d32c64dc04e5c71d9b5da5dc2224193e2541c7b3161c56d33b88c.css" integrity="sha256-ucWH7G5tMsZNwE5ccdm12l3CIkGT4lQcezFhxW0zuIw="> +<link rel="stylesheet" type="text/css" href="/css/style.min.b83fa5dc8f25322d2f23b83e2b2e101f99ae09e5af7e801f9f2c6d51f802d9b1.css" integrity="sha256-uD+l3I8lMi0vI7g+Ky4QH5muCeWvfoAfnyxtUfgC2bE="> <link rel="stylesheet" type="text/css" href="/css/icons.css"> </head> @@ -60,6 +60,17 @@ If you have apprehensions regarding APISIX’s security or you discover vulnerab <a href="/downloads" class="navbar-item is-secondary"> 下载 </a> + <div class="navbar-item has-dropdown is-hoverable"> + <a class="navbar-link"> + 参与 + </a> + + <div class="navbar-dropdown"> + <a href="contribute/release" class="navbar-item"> + 发布指南 + </a> + </div> + </div> </div> <a class="language-switcher" href="/">EN</a> </div> @@ -94,6 +105,17 @@ If you have apprehensions regarding APISIX’s security or you discover vulnerab <a href="/downloads" class="navbar-item is-secondary"> 下载 </a> + <div class="navbar-item has-dropdown is-hoverable"> + <a class="navbar-link"> + 参与 + </a> + + <div class="navbar-dropdown"> + <a href="contribute/release" class="navbar-item"> + 发布指南 + </a> + </div> + </div> </div> <a class="language-switcher" href="/">EN</a> diff --git a/zh/sitemap.xml b/zh/sitemap.xml index bdb0da7..7c86aee 100644 --- a/zh/sitemap.xml +++ b/zh/sitemap.xml @@ -33,6 +33,36 @@ </url> <url> + <loc>https://apisix.incubator.apache.org/zh/contribute/</loc> + <lastmod>2020-01-07T11:46:04+08:00</lastmod> + <xhtml:link + rel="alternate" + hreflang="en" + href="https://apisix.incubator.apache.org/contribute/" + /> + <xhtml:link + rel="alternate" + hreflang="zh" + href="https://apisix.incubator.apache.org/zh/contribute/" + /> + </url> + + <url> + <loc>https://apisix.incubator.apache.org/zh/contribute/release/</loc> + <lastmod>2020-01-07T11:46:04+08:00</lastmod> + <xhtml:link + rel="alternate" + hreflang="en" + href="https://apisix.incubator.apache.org/contribute/release/" + /> + <xhtml:link + rel="alternate" + hreflang="zh" + href="https://apisix.incubator.apache.org/zh/contribute/release/" + /> + </url> + + <url> <loc>https://apisix.incubator.apache.org/zh/categories/</loc> <xhtml:link rel="alternate"