-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Fix failure detection and failures in basic-build-test.sh with SSL3 in basic-build-test #3181
Fix failure detection and failures in basic-build-test.sh with SSL3 in basic-build-test #3181
Conversation
Signed-off-by: Gilles Peskine <[email protected]>
49162f3
to
1de46d8
Compare
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.
I'm generally very happy with this PR, except for a possible discrepancy between commit message and code, that I'd like clarified before I can approve.
} | tee tests/cov-$TEST_OUTPUT | ||
|
||
if [ "$(tail -n1 tests/cov-$TEST_OUTPUT)" != "SUCCESS" ]; then | ||
echo >&2 "Fatal: 'make lcov' failed" |
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 commit message says "exit immediately" but I'm not seeing what part of the code actually does that.
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.
Oops. I amended the commit.
Signed-off-by: Gilles Peskine <[email protected]>
Signed-off-by: Gilles Peskine <[email protected]>
The seedfile needs to have the size of the entropy accumulator, which is 64 bytes (512 bits) since the entropy accumulator uses SHA-512 and the seed size needs to be the same as the hash output (or larger). We used to enable MBEDTLS_ENTROPY_FORCE_SHA256 in the full config, so the entropy accumulator was 256 bits (32 bytes), and therefore a 32-byte seedfile worked. But we no longer turn on this option in the full config, so the 32-byte seedfile no longer works. Signed-off-by: Gilles Peskine <[email protected]>
Signed-off-by: Gilles Peskine <[email protected]>
Signed-off-by: Gilles Peskine <[email protected]>
The "full" configuration excludes some deprecated or experimental features. Enable the ones that have tests, don't have extra requirements and don't turn off some other feature. Signed-off-by: Gilles Peskine <[email protected]>
1de46d8
to
c877c24
Compare
CI run of |
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.
Thanks for adding the missing exit
and fixing the typo. Looks good to me now. (Let's hope the CI agrees!)
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.
LGTM as well, thanks for the improvements.
The PR CI has passed and |
Needs partial backports. This PR is release-critical, but the backports aren't (we can check the logs manually to verify that there are no failures).
Alternative that does change the full config: #3180
Backports: #3375 (2.16), #3376 (2.7).