forked from FFmpeg/FFmpeg
-
Notifications
You must be signed in to change notification settings - Fork 20
WHIP: X509 cert serial number should be positive. #51
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
Open
winlinvip
wants to merge
11
commits into
ossrs:workflows
Choose a base branch
from
winlinvip:bugfix/cert-serial-number
base: workflows
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
Since Go1.23, Go DTLS server may fail the FFmpeg request, for it verify the serial number: if serial.Sign() == -1 {
if x509negativeserial.Value() != "1" {
return nil, errors.New("x509: negative serial number") |
3f81f6b
to
1269248
Compare
3294e09
to
4aa17ba
Compare
4192d9a
to
ab60ac1
Compare
The patch is still generated by git config author.
refer to https://www.ffmpeg.org/developer.html#Submitting-patches-1 add header "X-Unsent: 1" add email recipients Signed-off-by: Jack Lau <[email protected]>
All files in the .github directory pertain to CI/CD and should be ignored; they should not be included in the patch.
This PR refer to ossrs#39 and ossrs#38 --------- Signed-off-by: Jack Lau <[email protected]>
ab60ac1
to
16b991e
Compare
See RFC5280 4.1.2.2 Signed-off-by: Jack Lau <[email protected]>
16b991e
to
88fd0e1
Compare
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.
According to RFC5280 4.1.2.2, The serial number MUST be a positive integer assigned by the CA to each certificate.