public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/golang-github-jose-3] rawhide: Retired: Fails to install: https://forge.fedoraproject.org/releng/tickets/issues/13473
@ 2026-08-18 13:33
0 siblings, 0 replies; only message in thread
From: @ 2026-08-18 13:33 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/golang-github-jose-3
Branch : rawhide
Commit : a308a12cc32e09e67dfafbd33d33b1c7f7b7ef5b
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2026-08-18T15:33:31+02:00
Stats : +1/-157 in 6 file(s)
URL : https://src.fedoraproject.org/rpms/golang-github-jose-3/c/a308a12cc32e09e67dfafbd33d33b1c7f7b7ef5b?branch=rawhide
Log:
Retired: Fails to install: https://forge.fedoraproject.org/releng/tickets/issues/13473
---
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index f29be7d..0000000
--- a/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-/go-jose-3.0.0.tar.gz
diff --git a/README.md b/README.md
deleted file mode 100644
index f4e1493..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# golang-github-jose-3
-
-The golang-github-jose-3 package
diff --git a/b7b32c1007cb6e57ac14c6959f6546ca1591f591.patch b/b7b32c1007cb6e57ac14c6959f6546ca1591f591.patch
deleted file mode 100644
index 1819b3c..0000000
--- a/b7b32c1007cb6e57ac14c6959f6546ca1591f591.patch
+++ /dev/null
@@ -1,92 +0,0 @@
-From b7b32c1007cb6e57ac14c6959f6546ca1591f591 Mon Sep 17 00:00:00 2001
-From: Phil Porada <pgporada@users.noreply.github.com>
-Date: Thu, 16 Mar 2023 12:06:24 -0400
-Subject: [PATCH] Fix TestSignerWithBrokenRand for go1.20 (#39)
-
-As of go1.20, the random parameter used in `rsa.SignPKCS1v15` is legacy
-and ignored, and it can be nil[1] meaning that there's no broken
-random-ness test applicable for signing with RS256, RS384, or RS512.
-Allows testing `TestSignerWithBrokenRand` against older versions of
-golang and return expected errors with broken random readers.
-
-Add a matrix to github actions CI to build/test against multiple
-versions of golang.
-
-1.
-https://cs.opensource.google/go/go/+/refs/tags/go1.20:src/crypto/rsa/pkcs1v15.go;l=263;bpv=0;bpt=1
-
-Fixes https://github.com/go-jose/go-jose/issues/27
-
----------
-
-Co-authored-by: Aaron Gable <aaron@aarongable.com>
----
- .github/workflows/go.yml | 11 ++++++++---
- asymmetric.go | 3 +++
- signing_test.go | 20 ++++++++++++++++----
- 3 files changed, 27 insertions(+), 7 deletions(-)
-
-diff --git a/asymmetric.go b/asymmetric.go
-index 78abc32..d4d4961 100644
---- a/asymmetric.go
-+++ b/asymmetric.go
-@@ -285,6 +285,9 @@ func (ctx rsaDecrypterSigner) signPayload(payload []byte, alg SignatureAlgorithm
-
- switch alg {
- case RS256, RS384, RS512:
-+ // TODO(https://github.com/go-jose/go-jose/issues/40): As of go1.20, the
-+ // random parameter is legacy and ignored, and it can be nil.
-+ // https://cs.opensource.google/go/go/+/refs/tags/go1.20:src/crypto/rsa/pkcs1v15.go;l=263;bpv=0;bpt=1
- out, err = rsa.SignPKCS1v15(RandReader, ctx.privateKey, hash, hashed)
- case PS256, PS384, PS512:
- out, err = rsa.SignPSS(RandReader, ctx.privateKey, hash, hashed, &rsa.PSSOptions{
-diff --git a/signing_test.go b/signing_test.go
-index f5ad283..63404dc 100644
---- a/signing_test.go
-+++ b/signing_test.go
-@@ -24,6 +24,8 @@ import (
- "fmt"
- "io"
- "reflect"
-+ "runtime"
-+ "strings"
- "testing"
-
- "github.com/go-jose/go-jose/v3/json"
-@@ -150,14 +152,24 @@ func TestRoundtripsJWSCorruptSignature(t *testing.T) {
- }
- }
-
-+// TestSignerWithBrokenRand tests that using a broken random reader with PSS
-+// signature algorithms returns a valid error.
- func TestSignerWithBrokenRand(t *testing.T) {
-- sigAlgs := []SignatureAlgorithm{RS256, RS384, RS512, PS256, PS384, PS512}
-+ // As of go1.20, the random input parameter used in rsa.SignPKCS1v15 is
-+ // legacy and ignored, and it can be nil meaning that there's no broken
-+ // random-ness test applicable for signing RS256, RS384, or RS512.
-+ sigAlgs := []SignatureAlgorithm{PS256, PS384, PS512}
-+
-+ // We still need to test that users building/testing go-jose on older
-+ // versions of go will return an error if the random reader is broken.
-+ if strings.HasPrefix(runtime.Version(), "go1.1") {
-+ sigAlgs = append(sigAlgs, RS256, RS384, RS512)
-+ }
-
- serializer := func(obj *JSONWebSignature) (string, error) { return obj.CompactSerialize() }
- corrupter := func(obj *JSONWebSignature) {}
-
-- // Break rand reader
-- readers := []func() io.Reader{
-+ brokenRandReaders := []func() io.Reader{
- // Totally broken
- func() io.Reader { return bytes.NewReader([]byte{}) },
- // Not enough bytes
-@@ -168,7 +180,7 @@ func TestSignerWithBrokenRand(t *testing.T) {
-
- for _, alg := range sigAlgs {
- signingKey, verificationKey := GenerateSigningTestKey(alg)
-- for i, getReader := range readers {
-+ for i, getReader := range brokenRandReaders {
- RandReader = getReader()
- err := RoundtripJWS(alg, serializer, corrupter, signingKey, verificationKey, "test_nonce")
- if err == nil {
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..d035a64
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+Retired: Fails to install: https://forge.fedoraproject.org/releng/tickets/issues/13473
diff --git a/golang-github-jose-3.spec b/golang-github-jose-3.spec
deleted file mode 100644
index 3acde75..0000000
--- a/golang-github-jose-3.spec
+++ /dev/null
@@ -1,60 +0,0 @@
-# Generated by go2rpm 1.9.0
-%bcond_without check
-
-# https://github.com/go-jose/go-jose
-%global goipath github.com/go-jose/go-jose/v3
-Version: 3.0.0
-
-%gometa -f
-
-%global common_description %{expand:
-An implementation of JOSE standards (JWE, JWS, JWT) in Go.}
-
-%global golicenses LICENSE LICENSE-json
-%global godocs CONTRIBUTING.md README.md
-
-Name: %{goname}
-Release: %autorelease
-Summary: An implementation of JOSE standards (JWE, JWS, JWT) in Go
-
-License: BSD-3-Clause AND Apache-2.0
-URL: %{gourl}
-Source: %{gosource}
-# https://github.com/go-jose/go-jose/issues/27
-Patch0: b7b32c1007cb6e57ac14c6959f6546ca1591f591.patch
-
-%description %{common_description}
-
-%gopkg
-
-%prep
-%goprep
-%autopatch -p1
-mv json/LICENSE LICENSE-json
-sed -i "s|github.com/go-jose/go-jose/jose-util|github.com/go-jose/go-jose/v3/jose-util|" $(find . -iname "*.go" -type f)
-
-%generate_buildrequires
-%go_generate_buildrequires
-
-%build
-%gobuild -o %{gobuilddir}/bin/jose-util %{goipath}/jose-util
-
-%install
-%gopkginstall
-install -m 0755 -vd %{buildroot}%{_bindir}
-install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
-
-%if %{with check}
-%check
-%gocheck
-%endif
-
-%files
-%license LICENSE LICENSE-json
-%doc CONTRIBUTING.md README.md
-%{_bindir}/jose-util
-
-%gopkgfiles
-
-%changelog
-%autochangelog
diff --git a/sources b/sources
deleted file mode 100644
index 49dd766..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-SHA512 (go-jose-3.0.0.tar.gz) = d4a472986a3456350e24662f0ba1541418b9949a16083859d2a3e93ab2c81e93b66bcc791aedceb5d6007601ea98fc37b37c1ef934493be35b706951b44179d7
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-18 13:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-18 13:33 [rpms/golang-github-jose-3] rawhide: Retired: Fails to install: https://forge.fedoraproject.org/releng/tickets/issues/13473
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox