Skip to content

Commit 07b827d

Browse files
committed
patch change
1 parent 4680906 commit 07b827d

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.konflux/patches/fix-oauth2-vulnerability-ghsa-6v2p-p543-phr9.patch

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,20 @@ index 918df2b..22a4ba9 100644
1212
golang.org/x/sys v0.30.0 // indirect
1313
golang.org/x/term v0.29.0 // indirect
1414
diff --git a/image/git-init/go.sum b/image/git-init/go.sum
15-
index e790e1b..550768c 100644
15+
index e790e1b..ad9bcb0 100644
1616
--- a/image/git-init/go.sum
1717
+++ b/image/git-init/go.sum
18-
@@ -435,6 +435,8 @@ golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ
18+
@@ -433,8 +433,8 @@ golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod h1:gOpvHmFTYa4Iltr
19+
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
20+
golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
1921
golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b/go.mod h1:DAh4E804XQdzx2j+YRIaUnCqCV2RuMz24cGBJ5QYIrc=
20-
21-
golang.org/x/oauth2 v0.26.0 h1:afQXWNNaeC4nvZ0Ed9XvCCzXM6UHJG7iCg0W4fPqSBE=
22-
golang.org/x/oauth2 v0.26.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
22+
-golang.org/x/oauth2 v0.26.0 h1:afQXWNNaeC4nvZ0Ed9XvCCzXM6UHJG7iCg0W4fPqSBE=
23+
-golang.org/x/oauth2 v0.26.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
2324
+golang.org/x/oauth2 v0.27.0 h1:da9Vo7/tDv5RH/7nZDz1eMGS/q1Vv1N/7FCrBhI9I3M=
2425
+golang.org/x/oauth2 v0.27.0/go.mod h1:onh5ek6nERTohokkhCD/y2cV4Do3fxFHFuAejCkRWT8=
2526
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
27+
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
28+
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
2629

2730
diff --git a/image/git-init/vendor/golang.org/x/oauth2/pkce.go b/image/git-init/vendor/golang.org/x/oauth2/pkce.go
2831
index 50593b6..6a95da9 100644
@@ -36,7 +39,7 @@ index 50593b6..6a95da9 100644
3639
+// (or Config.DeviceAuth) and VerifierOption(verifier) to Config.Exchange
3740
// (or Config.DeviceAccessToken).
3841
func GenerateVerifier() string {
39-
// "RECOMMENDED that the output of a suitable random number generator be
42+
// "RECOMMENDED that the output of a suitable random number generator be
4043
@@ -51,7 +51,7 @@ func S256ChallengeFromVerifier(verifier string) string {
4144
}
4245

@@ -45,4 +48,4 @@ index 50593b6..6a95da9 100644
4548
+// method S256. It should be passed to Config.AuthCodeURL or Config.DeviceAuth
4649
// only.
4750
func S256ChallengeOption(verifier string) AuthCodeOption {
48-
return challengeOption{
51+
return challengeOption{

0 commit comments

Comments
 (0)