containers / ocicrypt

Encryption libraries for Encrypted OCI Container images
Apache License 2.0
133 stars 31 forks source link

Upgrade miekg/pkcs11 from v1.0.3 to v1.1.1 #56

Closed tstromberg closed 2 years ago

tstromberg commented 2 years ago

Currently, the containers/ocicrypt library does not build on OpenBSD:

$ go test .
# github.com/miekg/pkcs11
ld: error: unable to find library -ldl
cc: error: linker command failed with exit code 1 (use -v to see invocation)
FAIL    github.com/containers/ocicrypt [build failed]
FAIL

This PR upgrades the miekg/pkcs11 component to a version that compiles cleanly on OpenBSD. Here are the functional PR's included in the miekg/pkcs11 upgrade from v1.0.3:

For a more specific diff , see https://github.com/miekg/pkcs11/compare/v1.0.3...v1.1.1

stefanberger commented 2 years ago

Hm, I hope it doesn't have any negative side effect on imgcrypt. I may try locally first, but it may take a while...

stefanberger commented 2 years ago

For a more specific diff , see miekg/pkcs11@v1.0.3...v1.1.1

I think we should be good...

tstromberg commented 2 years ago

Excellent. Please merge this once you get a chance. Thanks!