Skip to content

Merge sylabs/sif through v2.12.0#200

Merged
DrDaveD merged 4 commits intoapptainer:mainfrom
DrDaveD:sylabsv2.12.0
Aug 21, 2023
Merged

Merge sylabs/sif through v2.12.0#200
DrDaveD merged 4 commits intoapptainer:mainfrom
DrDaveD:sylabsv2.12.0

Conversation

@DrDaveD
Copy link
Contributor

@DrDaveD DrDaveD commented Aug 16, 2023

This pulls in PRs

The original PR descriptions were:

Switch from using golden file testing for unit tests, to reduce the workload when the data format of the openpgp module we're using changes.

Bump github.com/ProtonMail/go-crypto. Update test corpus to set IssuerKeyId as non-critical (see ProtonMail/go-crypto#175). Remove unit tests that depend on stable format of PGP signatures.

Use sha256.New() rather than crypto.SHA256.New() to ensure the SHA256 algorithm is available (avoids "requested hash function is unavailable" panic in #313.) Improve tests for add of OCI index/blob.

Switch from using golden file testing for TestGroupSigner_Sign and
TestSigner_Sign, to reduce the workload when the data format of the
openpgp module we're using changes.

Signed-off-by: Dave Dykstra <[email protected]>
…19771a1 to v0.0.0-20230710112148-e01326fd72eb

Update test corpus images. Also, remove unit tests that display dumped
digital signatures, since the format is not consistent.

Signed-off-by: Dave Dykstra <[email protected]>
Rather than using crypto.SHA256.New(), use sha256.New() directly to
ensure the SHA256 algorithm is available.

Signed-off-by: Dave Dykstra <[email protected]>
@DrDaveD DrDaveD requested a review from ikaneshiro August 16, 2023 21:43
@DrDaveD DrDaveD merged commit 166e85a into apptainer:main Aug 21, 2023
@DrDaveD DrDaveD deleted the sylabsv2.12.0 branch August 21, 2023 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants