Skip to content

Commit ce4341f

Browse files
authored
[skip-changelog] Upgrade golang version to 1.22 and upgraded some libraries (#2688)
* Upgrade supported go version to 1.22 * Upgrade extract library to 4.0.0 * Upgrade go-crypto to v1.1.0-alpha.5-proton
1 parent e01c114 commit ce4341f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+293
-101
lines changed

.github/workflows/check-easyjson.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Check easyjson generated files
22

33
env:
44
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
5-
GO_VERSION: "1.21"
5+
GO_VERSION: "1.22"
66

77
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
88
on:

.github/workflows/check-go-dependencies-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Check Go Dependencies
33

44
env:
55
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
6-
GO_VERSION: "1.21"
6+
GO_VERSION: "1.22"
77

88
# See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows
99
on:

.github/workflows/check-go-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Check Go
33

44
env:
55
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
6-
GO_VERSION: "1.21"
6+
GO_VERSION: "1.22"
77

88
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
99
on:

.github/workflows/check-i18n-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Check Internationalization
22

33
env:
44
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
5-
GO_VERSION: "1.21"
5+
GO_VERSION: "1.22"
66

77
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
88
on:

.github/workflows/check-markdown-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ env:
55
# See: https://github.com/actions/setup-node/#readme
66
NODE_VERSION: 16.x
77
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
8-
GO_VERSION: "1.21"
8+
GO_VERSION: "1.22"
99

1010
# See: https://docs.github.com/actions/using-workflows/events-that-trigger-workflows
1111
on:

.github/workflows/check-mkdocs-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Check Website
33

44
env:
55
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
6-
GO_VERSION: "1.21"
6+
GO_VERSION: "1.22"
77
# See: https://github.com/actions/setup-python/tree/main#available-versions-of-python
88
PYTHON_VERSION: "3.9"
99

.github/workflows/check-protobuf-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Check Protocol Buffers
22

33
env:
44
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
5-
GO_VERSION: "1.21"
5+
GO_VERSION: "1.22"
66

77
# See: https://docs.github.com/en/actions/reference/events-that-trigger-workflows
88
on:

.github/workflows/deploy-cobra-mkdocs-versioned-poetry.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Deploy Website
33

44
env:
55
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
6-
GO_VERSION: "1.21"
6+
GO_VERSION: "1.22"
77
# See: https://github.com/actions/setup-python/tree/main#available-versions-of-python
88
PYTHON_VERSION: "3.9"
99

.github/workflows/i18n-weekly-pull.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: i18n-weekly-pull
22

33
env:
44
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
5-
GO_VERSION: "1.21"
5+
GO_VERSION: "1.22"
66
COVERAGE_ARTIFACT: coverage-data
77

88
on:

.github/workflows/test-go-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Test Go
33

44
env:
55
# See: https://github.com/actions/setup-go/tree/main#supported-version-syntax
6-
GO_VERSION: "1.21"
6+
GO_VERSION: "1.22"
77
COVERAGE_ARTIFACT: coverage-data
88

99
# See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows

.golangci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
run:
22
timeout: 10m
3-
go: "1.21"
3+
go: "1.22"
44
tests: true
55

66
linters:

.licensed.yml

+3
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,12 @@ reviewed:
2727
- github.com/ProtonMail/go-crypto/openpgp/errors
2828
- github.com/ProtonMail/go-crypto/openpgp/internal/algorithm
2929
- github.com/ProtonMail/go-crypto/openpgp/internal/ecc
30+
- github.com/ProtonMail/go-crypto/openpgp/internal/ecc/curve25519
31+
- github.com/ProtonMail/go-crypto/openpgp/internal/ecc/curve25519/field
3032
- github.com/ProtonMail/go-crypto/openpgp/internal/encoding
3133
- github.com/ProtonMail/go-crypto/openpgp/packet
3234
- github.com/ProtonMail/go-crypto/openpgp/s2k
35+
- github.com/ProtonMail/go-crypto/openpgp/symmetric
3336
- github.com/ProtonMail/go-crypto/openpgp/x25519
3437
- github.com/ProtonMail/go-crypto/openpgp/x448
3538
- github.com/cloudflare/circl/dh/x25519

.licenses/go/github.com/ProtonMail/go-crypto/bitcurves.dep.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
name: github.com/ProtonMail/go-crypto/bitcurves
3-
version: v1.1.0-alpha.0
3+
version: v1.1.0-alpha.5-proton
44
type: go
55
summary:
66
homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/bitcurves
77
license: other
88
licenses:
9-
- sources: [email protected].0/LICENSE
9+
- sources: [email protected].5-proton/LICENSE
1010
text: |
1111
Copyright (c) 2009 The Go Authors. All rights reserved.
1212
@@ -35,7 +35,7 @@ licenses:
3535
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3636
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3737
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38-
- sources: [email protected].0/PATENTS
38+
- sources: [email protected].5-proton/PATENTS
3939
text: |
4040
Additional IP Rights Grant (Patents)
4141

.licenses/go/github.com/ProtonMail/go-crypto/brainpool.dep.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
name: github.com/ProtonMail/go-crypto/brainpool
3-
version: v1.1.0-alpha.0
3+
version: v1.1.0-alpha.5-proton
44
type: go
55
summary: Package brainpool implements Brainpool elliptic curves.
66
homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/brainpool
77
license: other
88
licenses:
9-
- sources: [email protected].0/LICENSE
9+
- sources: [email protected].5-proton/LICENSE
1010
text: |
1111
Copyright (c) 2009 The Go Authors. All rights reserved.
1212
@@ -35,7 +35,7 @@ licenses:
3535
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3636
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3737
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38-
- sources: [email protected].0/PATENTS
38+
- sources: [email protected].5-proton/PATENTS
3939
text: |
4040
Additional IP Rights Grant (Patents)
4141

.licenses/go/github.com/ProtonMail/go-crypto/eax.dep.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: github.com/ProtonMail/go-crypto/eax
3-
version: v1.1.0-alpha.0
3+
version: v1.1.0-alpha.5-proton
44
type: go
55
summary: 'Package eax provides an implementation of the EAX (encrypt-authenticate-translate)
66
mode of operation, as described in Bellare, Rogaway, and Wagner "THE EAX MODE OF
@@ -9,7 +9,7 @@ summary: 'Package eax provides an implementation of the EAX (encrypt-authenticat
99
homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/eax
1010
license: other
1111
licenses:
12-
- sources: [email protected].0/LICENSE
12+
- sources: [email protected].5-proton/LICENSE
1313
text: |
1414
Copyright (c) 2009 The Go Authors. All rights reserved.
1515
@@ -38,7 +38,7 @@ licenses:
3838
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3939
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
4040
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
41-
- sources: [email protected].0/PATENTS
41+
- sources: [email protected].5-proton/PATENTS
4242
text: |
4343
Additional IP Rights Grant (Patents)
4444

.licenses/go/github.com/ProtonMail/go-crypto/internal/byteutil.dep.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
name: github.com/ProtonMail/go-crypto/internal/byteutil
3-
version: v1.1.0-alpha.0
3+
version: v1.1.0-alpha.5-proton
44
type: go
55
summary:
66
homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/internal/byteutil
77
license: other
88
licenses:
9-
- sources: [email protected].0/LICENSE
9+
- sources: [email protected].5-proton/LICENSE
1010
text: |
1111
Copyright (c) 2009 The Go Authors. All rights reserved.
1212
@@ -35,7 +35,7 @@ licenses:
3535
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3636
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3737
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38-
- sources: [email protected].0/PATENTS
38+
- sources: [email protected].5-proton/PATENTS
3939
text: |
4040
Additional IP Rights Grant (Patents)
4141

.licenses/go/github.com/ProtonMail/go-crypto/ocb.dep.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
name: github.com/ProtonMail/go-crypto/ocb
3-
version: v1.1.0-alpha.0
3+
version: v1.1.0-alpha.5-proton
44
type: go
55
summary: 'Package ocb provides an implementation of the OCB (offset codebook) mode
66
of operation, as described in RFC-7253 of the IRTF and in Rogaway, Bellare, Black
@@ -9,7 +9,7 @@ summary: 'Package ocb provides an implementation of the OCB (offset codebook) mo
99
homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/ocb
1010
license: other
1111
licenses:
12-
- sources: [email protected].0/LICENSE
12+
- sources: [email protected].5-proton/LICENSE
1313
text: |
1414
Copyright (c) 2009 The Go Authors. All rights reserved.
1515
@@ -38,7 +38,7 @@ licenses:
3838
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3939
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
4040
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
41-
- sources: [email protected].0/PATENTS
41+
- sources: [email protected].5-proton/PATENTS
4242
text: |
4343
Additional IP Rights Grant (Patents)
4444

.licenses/go/github.com/ProtonMail/go-crypto/openpgp.dep.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
name: github.com/ProtonMail/go-crypto/openpgp
3-
version: v1.1.0-alpha.0
3+
version: v1.1.0-alpha.5-proton
44
type: go
55
summary: Package openpgp implements high level operations on OpenPGP messages.
66
homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp
77
license: other
88
licenses:
9-
- sources: [email protected].0/LICENSE
9+
- sources: [email protected].5-proton/LICENSE
1010
text: |
1111
Copyright (c) 2009 The Go Authors. All rights reserved.
1212
@@ -35,7 +35,7 @@ licenses:
3535
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3636
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3737
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38-
- sources: [email protected].0/PATENTS
38+
- sources: [email protected].5-proton/PATENTS
3939
text: |
4040
Additional IP Rights Grant (Patents)
4141

.licenses/go/github.com/ProtonMail/go-crypto/openpgp/aes/keywrap.dep.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
name: github.com/ProtonMail/go-crypto/openpgp/aes/keywrap
3-
version: v1.1.0-alpha.0
3+
version: v1.1.0-alpha.5-proton
44
type: go
55
summary: Package keywrap is an implementation of the RFC 3394 AES key wrapping algorithm.
66
homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp/aes/keywrap
77
license: other
88
licenses:
9-
- sources: [email protected].0/LICENSE
9+
- sources: [email protected].5-proton/LICENSE
1010
text: |
1111
Copyright (c) 2009 The Go Authors. All rights reserved.
1212
@@ -35,7 +35,7 @@ licenses:
3535
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3636
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3737
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38-
- sources: [email protected].0/PATENTS
38+
- sources: [email protected].5-proton/PATENTS
3939
text: |
4040
Additional IP Rights Grant (Patents)
4141

.licenses/go/github.com/ProtonMail/go-crypto/openpgp/armor.dep.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
name: github.com/ProtonMail/go-crypto/openpgp/armor
3-
version: v1.1.0-alpha.0
3+
version: v1.1.0-alpha.5-proton
44
type: go
55
summary: Package armor implements OpenPGP ASCII Armor, see RFC 4880.
66
homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp/armor
77
license: other
88
licenses:
9-
- sources: [email protected].0/LICENSE
9+
- sources: [email protected].5-proton/LICENSE
1010
text: |
1111
Copyright (c) 2009 The Go Authors. All rights reserved.
1212
@@ -35,7 +35,7 @@ licenses:
3535
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3636
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3737
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38-
- sources: [email protected].0/PATENTS
38+
- sources: [email protected].5-proton/PATENTS
3939
text: |
4040
Additional IP Rights Grant (Patents)
4141

.licenses/go/github.com/ProtonMail/go-crypto/openpgp/ecdh.dep.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
name: github.com/ProtonMail/go-crypto/openpgp/ecdh
3-
version: v1.1.0-alpha.0
3+
version: v1.1.0-alpha.5-proton
44
type: go
55
summary: Package ecdh implements ECDH encryption, suitable for OpenPGP, as specified
66
in RFC 6637, section 8.
77
homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp/ecdh
88
license: other
99
licenses:
10-
- sources: [email protected].0/LICENSE
10+
- sources: [email protected].5-proton/LICENSE
1111
text: |
1212
Copyright (c) 2009 The Go Authors. All rights reserved.
1313
@@ -36,7 +36,7 @@ licenses:
3636
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3737
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3838
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39-
- sources: [email protected].0/PATENTS
39+
- sources: [email protected].5-proton/PATENTS
4040
text: |
4141
Additional IP Rights Grant (Patents)
4242

.licenses/go/github.com/ProtonMail/go-crypto/openpgp/ecdsa.dep.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
name: github.com/ProtonMail/go-crypto/openpgp/ecdsa
3-
version: v1.1.0-alpha.0
3+
version: v1.1.0-alpha.5-proton
44
type: go
55
summary: Package ecdsa implements ECDSA signature, suitable for OpenPGP, as specified
66
in RFC 6637, section 5.
77
homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp/ecdsa
88
license: other
99
licenses:
10-
- sources: [email protected].0/LICENSE
10+
- sources: [email protected].5-proton/LICENSE
1111
text: |
1212
Copyright (c) 2009 The Go Authors. All rights reserved.
1313
@@ -36,7 +36,7 @@ licenses:
3636
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3737
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3838
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39-
- sources: [email protected].0/PATENTS
39+
- sources: [email protected].5-proton/PATENTS
4040
text: |
4141
Additional IP Rights Grant (Patents)
4242

.licenses/go/github.com/ProtonMail/go-crypto/openpgp/ed25519.dep.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
name: github.com/ProtonMail/go-crypto/openpgp/ed25519
3-
version: v1.1.0-alpha.0
3+
version: v1.1.0-alpha.5-proton
44
type: go
55
summary: Package ed25519 implements the ed25519 signature algorithm for OpenPGP as
66
defined in the Open PGP crypto refresh.
77
homepage: https://pkg.go.dev/github.com/ProtonMail/go-crypto/openpgp/ed25519
88
license: other
99
licenses:
10-
- sources: [email protected].0/LICENSE
10+
- sources: [email protected].5-proton/LICENSE
1111
text: |
1212
Copyright (c) 2009 The Go Authors. All rights reserved.
1313
@@ -36,7 +36,7 @@ licenses:
3636
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3737
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
3838
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
39-
- sources: [email protected].0/PATENTS
39+
- sources: [email protected].5-proton/PATENTS
4040
text: |
4141
Additional IP Rights Grant (Patents)
4242

0 commit comments

Comments
 (0)