Repository navigation
Replace golang.org/x/crypto/openpgp with github.com/ProtonMail/go-crypto/openpgp - #142
Merged
Merged
Conversation
…pto/openpgp x/crypto/openpgp now contains a stronger deprecation warning: > // Deprecated: this package is unsafe by design, and has numerous known security > // issues. It is not maintained, and should not be used. and points at github.com/ProtonMail/go-crypto/openpgp , so use that one. Signed-off-by: Miloslav Trmač <[email protected]>
Contributor
Author
Collaborator
|
Thanks. I was not monitoring this package. Luckily no changes are needed in either ocicrypt or imgcrypt at least. |
|
Can we have a new release of ocicrypt/imgcrypt? 🙏 |
Collaborator
ocicrypt v1.3.2 is done. Will look at imgcrypt next. |
Collaborator
|
FYI: I released another version of imgcrypt yesterday. |
fitchmultz
added a commit
to fitchmultz/containerd
that referenced
this pull request
Oct 26, 2026
Backport of containerd#13862 to release/2.3. This is the remaining dependency item from containerd#14196; the gRPC, OTel and x/text items shipped in v2.3.7. imgcrypt v2.0.3 moves to github.com/containers/ocicrypt v1.3.2, which replaces golang.org/x/crypto/openpgp with github.com/ProtonMail/go-crypto (containers/ocicrypt#142). The deprecated openpgp packages (GO-2026-5932) are no longer vendored. Produced with `go get github.com/containerd/imgcrypt/[email protected] && make vendor` on release/2.3 instead of cherry-picking the main commit, so the vendor tree matches what the 2.3 module graph resolves to. The go.mod changes are the same ones containerd#13862 made on main: github.com/containerd/imgcrypt/v2 v2.0.2 -> v2.0.3 github.com/containers/ocicrypt v1.2.1 -> v1.3.2 github.com/miekg/pkcs11 v1.1.1 -> v1.1.2 github.com/smallstep/pkcs7 v0.1.1 -> v0.2.1 added: github.com/ProtonMail/go-crypto v1.4.1, github.com/cloudflare/circl v1.6.3, go.yaml.in/yaml/v3 v3.0.4 removed: github.com/golang/protobuf v1.5.4 Assisted-by: Claude Opus 5.5 (Pi coding agent) Signed-off-by: Mitch Fultz <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
x/crypto/openpgpnow contains a stronger deprecation warning:and points at github.com/ProtonMail/go-crypto/openpgp , so use that one.