Skip to content

Commit 4509795

Browse files
authored
Update Information on Verifying Releases (#21)
1 parent 2aaec76 commit 4509795

File tree

1 file changed

+37
-23
lines changed

1 file changed

+37
-23
lines changed

verify-releases.html

+37-23
Original file line numberDiff line numberDiff line change
@@ -89,34 +89,48 @@ <h2 class="subtitle">We have made you a wrapper you can't refuse</h2>
8989
<br>
9090
<h1>Verifying releases</h1>
9191

92-
<p>
93-
We sign all the releases with a GPG key.
94-
The signatures are uploaded to both the <a
95-
href="https://github.com/python-telegram-bot/python-telegram-bot/releases">GitHub
96-
releases page</a> and the <a href="https://pypi.org/project/python-telegram-bot/">PyPI
97-
project</a> and end with a suffix <code>.asc</code>.
98-
Please find the public keys below.
99-
The keys are named in the format
100-
<code>&lt;first_version&gt;-&lt;last_version&gt;.gpg</code> or <code>&lt;first_version&gt;-current.gpg</code>
101-
if the key is currently being used for new releases.
102-
</p>
103-
<br>
104-
<p>
105-
In addition, the GitHub release page also contains the sha1 hashes of the release files
106-
in the files with the suffix <code>.sha1</code>.
107-
</p>
108-
<br>
109-
<p>
110-
This allows you to verify that a release file that you downloaded was indeed provided by
111-
the <code>python-telegram-bot</code> team.
112-
</p>
113-
<br>
92+
<p>
93+
To enable you to verify that a release file that you downloaded was indeed provided by
94+
the <code>python-telegram-bot</code> team, we have taken the following measures.
95+
</p>
96+
<br>
97+
<p>
98+
Starting with v21.4, all releases are signed via <a href="https://sigstore.dev">sigstore</a>.
99+
The corresponding signature files are uploaded to the <a
100+
href="https://github.com/python-telegram-bot/python-telegram-bot/releases">GitHub
101+
releases page</a>.
102+
To verify the signature, please install the <a
103+
href="https://pypi.org/project/sigstore/">sigstore Python client</a> and follow the
104+
instructions for <a
105+
href="https://github.com/sigstore/sigstore-python#signatures-from-github-actions">verifying
106+
signatures from GitHub Actions</a>. As input for the <code>--repository</code>
107+
parameter, please use the value <code>python-telegram-bot/python-telegram-bot</code>.
108+
</p>
109+
<br>
110+
<p>
111+
Earlier releases are signed with a GPG key.
112+
The signatures are uploaded to both the <a
113+
href="https://github.com/python-telegram-bot/python-telegram-bot/releases">GitHub
114+
releases page</a>
115+
and the <a href="https://pypi.org/project/python-telegram-bot/">PyPI project</a> and end
116+
with a suffix <code>.asc</code>.
117+
Please find the public keys below or <a
118+
href="https://github.com/python-telegram-bot/python-telegram-bot/tree/master/public_keys">here</a>.
119+
The keys are named in the format
120+
<code>&lt;first_version&gt;-&lt;last_version&gt;.gpg</code>.
121+
</p>
122+
<br>
123+
<p>
124+
In addition, the GitHub release page also contains the sha1 hashes of the release files
125+
in the files with the suffix <code>.sha1</code>.
126+
</p>
127+
<br>
114128

115129
<h2>Public keys</h2>
116130

117131
<div class="window">
118132
<details>
119-
<summary><div class="file-name">v20.0-current.gpg</div></summary>
133+
<summary><div class="file-name">v20.0-v21.3.gpg</div></summary>
120134
<pre>
121135
-----BEGIN PGP PUBLIC KEY BLOCK-----
122136

0 commit comments

Comments
 (0)