-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
4 changed files
with
42 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,11 +82,19 @@ edit the :file:`setup.apsw` file inside. | |
* `apsw-3.47.2.0.zip | ||
<https://github.com/rogerbinns/apsw/releases/download/3.47.2.0/apsw-3.47.2.0.zip>`__ | ||
(Source, includes this HTML Help) | ||
(Source as zip, includes this HTML Help) | ||
|
||
* `apsw-3.47.2.0.cosign-bundle | ||
<https://github.com/rogerbinns/apsw/releases/download/3.47.2.0/apsw-3.47.2.0.cosign-bundle>`__ | ||
cosign signature | ||
* `apsw-3.47.2.0.tar.gz | ||
<https://github.com/rogerbinns/apsw/releases/download/3.47.2.0/apsw-3.47.2.0.tar.gz>`__ | ||
(Source as tar.gz, includes this HTML Help) | ||
|
||
* `apsw-3.47.2.0.zip.cosign-bundle | ||
<https://github.com/rogerbinns/apsw/releases/download/3.47.2.0/apsw-3.47.2.0.zip.cosign-bundle>`__ | ||
cosign signature for zip source | ||
|
||
* `apsw-3.47.2.0.tar.gz.cosign-bundle | ||
<https://github.com/rogerbinns/apsw/releases/download/3.47.2.0/apsw-3.47.2.0.tar.gz.cosign-bundle>`__ | ||
cosign signature for tar.gz source | ||
|
||
.. downloads-end | ||
|
@@ -121,7 +129,7 @@ Verify | |
.. code-block:: console | ||
$ cosign verify-blob apsw-3.47.2.0.zip \ | ||
--bundle apsw-3.47.2.0.cosign-bundle \ | ||
--bundle apsw-3.47.2.0.zip.cosign-bundle \ | ||
[email protected] \ | ||
--certificate-oidc-issuer=https://github.com/login/oauth | ||
Verified OK | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,11 +28,19 @@ | |
op.append("") | ||
op.append("* `apsw-%s.zip" % (version,)) | ||
op.append(url % ("apsw-%s.zip" % version)) | ||
op.append(" (Source, includes this HTML Help)") | ||
op.append(" (Source as zip, includes this HTML Help)") | ||
op.append("") | ||
op.append("* `apsw-%s.cosign-bundle" % (version,)) | ||
op.append(url % ("apsw-%s.cosign-bundle" % version)) | ||
op.append(" cosign signature") | ||
op.append("* `apsw-%s.tar.gz" % (version,)) | ||
op.append(url % ("apsw-%s.tar.gz" % version)) | ||
op.append(" (Source as tar.gz, includes this HTML Help)") | ||
op.append("") | ||
op.append("* `apsw-%s.zip.cosign-bundle" % (version,)) | ||
op.append(url % ("apsw-%s.zip.cosign-bundle" % version)) | ||
op.append(" cosign signature for zip source") | ||
op.append("") | ||
op.append("* `apsw-%s.tar.gz.cosign-bundle" % (version,)) | ||
op.append(url % ("apsw-%s.tar.gz.cosign-bundle" % version)) | ||
op.append(" cosign signature for tar.gz source") | ||
op.append("") | ||
continue | ||
if line == " .. verify-begin": | ||
|
@@ -46,7 +54,7 @@ def back(s): | |
return s + " " * (65 - len(s)) + "\\" | ||
|
||
op.append(" " + back(f"$ cosign verify-blob apsw-{version}.zip")) | ||
op.append(" " + back(f" --bundle apsw-{version}.cosign-bundle")) | ||
op.append(" " + back(f" --bundle apsw-{version}.zip.cosign-bundle")) | ||
op.append(" " + back(" [email protected]")) | ||
op.append(" " + " --certificate-oidc-issuer=https://github.com/login/oauth") | ||
op.append(" " + "Verified OK") | ||
|