-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gnutls: fix an upstream regression in RSA certificates #311735
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The base branch should be staging.
Otherwise, LGTM. |
abd5a1d
to
17364f4
Compare
The update to 3.8.5 involved adding a feature to conditionally disable RSAES-PKCS1-v1.5 [1]. It was intended to be turned on by default [2], but failed [3]. Therefore it is disabled, which in turn throws a new error: "Fatal error: The encryption algorithm is not supported". (error 113). This can have severe implications, as for example Lets Encrypt signed RSA certificates aren't trusted anymore. This commit fetches the upstream patch, which hasn't been included in 3.8.5 [1]: https://gitlab.com/gnutls/gnutls/-/merge_requests/1828 [2]: https://gitlab.com/gnutls/gnutls/-/merge_requests/1828/diffs#cd5a2ba3b145c1bd292e027ef84c618b6b7fb895_267_274 [3]: https://gitlab.com/gnutls/gnutls/-/issues/1540 Signed-off-by: Florian Brandes <[email protected]>
It's a trap that the latest release is still kept on a version with this kind of breakage. But maybe that's why 3.8.5 isn't mentioned on some of the usual places? https://gnutls.org/news.html |
Thanks a lot. I expedited this fix, as it seems like a relatively big problem and at this moment it most likely won't waste much of rebuild work. |
Description of changes
The update to 3.8.5 involved adding a feature to conditionally disable RSAES-PKCS1-v1.5 1. It was intended to be turned on by default 2, but failed 3.
Therefore it is disabled, which in turn throws a new error: "Fatal error: The encryption algorithm is not supported". (error 113).
This can have severe implications, as for example Lets Encrypt signed RSA certificates aren't trusted anymore.
This commit fetches the upstream patch, which hasn't been included in 3.8.5
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.