Skip to content

Commit

Permalink
Merge pull request #167 from edytuk/v2.9.1
Browse files Browse the repository at this point in the history
Merge sylabs/sif through v2.9.1
  • Loading branch information
DrDaveD authored Feb 15, 2023
2 parents 960f052 + 595491a commit 0f3ed80
Show file tree
Hide file tree
Showing 22 changed files with 262 additions and 179 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: '1.19.x'
go-version: '1.20.x'

- name: Check go.mod and go.sum are tidy
run: |
Expand All @@ -41,7 +41,7 @@ jobs:
- name: Install Lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.50
version: v1.51
skip-pkg-cache: true
skip-build-cache: true

Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module github.com/apptainer/sif/v2

go 1.18
go 1.19

require (
github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4
github.com/ProtonMail/go-crypto v0.0.0-20230201104953-d1d05f4e2bfb
github.com/blang/semver/v4 v4.0.0
github.com/go-git/go-git/v5 v5.5.2
github.com/google/uuid v1.3.0
Expand Down
3 changes: 2 additions & 1 deletion go.sum
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
github.com/Microsoft/go-winio v0.5.2/go.mod h1:WpS1mjBmmwHBEWmogvA2mj8546UReBk4v8QkMxJ6pZY=
github.com/Microsoft/go-winio v0.6.0 h1:slsWYD/zyx7lCXoZVlvQrj0hPTM1HI4+v1sIda2yDvg=
github.com/Microsoft/go-winio v0.6.0/go.mod h1:cTAf44im0RAYeL23bpB+fzCyDH2MJiz2BO69KH/soAE=
github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4 h1:ra2OtmuW0AE5csawV4YXMNGNQQXvLRps3z2Z59OPO+I=
github.com/ProtonMail/go-crypto v0.0.0-20221026131551-cf6655e29de4/go.mod h1:UBYPn8k0D56RtnR8RFQMjmh4KrZzWJ5o7Z9SYjossQ8=
github.com/ProtonMail/go-crypto v0.0.0-20230201104953-d1d05f4e2bfb h1:Vx1Bw/nGULx+FuY7Sw+8ZDpOx9XOdA+mOfo678SqkbU=
github.com/ProtonMail/go-crypto v0.0.0-20230201104953-d1d05f4e2bfb/go.mod h1:I0gYDMZ6Z5GRU7l58bNFSkPTFN6Yl12dsUlAZ8xy98g=
github.com/acomagu/bufpipe v1.0.3 h1:fxAGrHZTgQ9w5QqVItgzwj235/uYZYgbXitB+dLupOk=
github.com/acomagu/bufpipe v1.0.3/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4=
github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be h1:9AeTilPcZAjCFIImctFaOjnTIavg87rW78vTPkQqLI8=
Expand Down
8 changes: 1 addition & 7 deletions pkg/integrity/clearsign_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Apptainer a Series of LF Projects LLC.
// For website terms of use, trademark policy, privacy policy and other
// project policies see https://lfprojects.org/policies
// Copyright (c) 2020-2022, Sylabs Inc. All rights reserved.
// Copyright (c) 2020-2023, Sylabs Inc. All rights reserved.
// This software is licensed under a 3-clause BSD license. Please consult the LICENSE.md file
// distributed with the sources of this project regarding your rights to use or distribute this
// software.
Expand Down Expand Up @@ -138,12 +138,6 @@ func Test_clearsignDecoder_verifyMessage(t *testing.T) {
de: newClearsignDecoder(openpgp.EntityList{e}),
wantEntity: e,
},
{
name: "SHA1",
hash: crypto.SHA1,
de: newClearsignDecoder(openpgp.EntityList{e}),
wantErr: pgperrors.StructuralError("hash algorithm mismatch with cleartext message headers"),
},
{
name: "SHA224",
hash: crypto.SHA224,
Expand Down
Loading

0 comments on commit 0f3ed80

Please sign in to comment.