Project

General

Profile

Actions

action #64649

closed

[sle][security][sle15sp2][fips]test fails in openssl_fips_hash (about md2 and sha)

Added by rfan1 about 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Bugs in existing tests
Target version:
-
Start date:
2020-03-20
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

Hi Ben,

Please check if we can do some enhancement here. we may get a "new" type of error msg

validate_script_output got:
dgst: Unrecognized flag md2
dgst: Use -help for summary.

Check function (deparsed code):
{
package openssl_fips_hash;
/disabled for fips|unknown option|Unknown digest/;
}

Observation

openQA test in scenario sle-15-SP2-Online-x86_64-fips_env_mode_tests_crypt_core@64bit fails in
openssl_fips_hash

Test suite description

Maintainer: bchou@suse.com.

Workaround for FIPS single module mode

Reproducible

Fails since (at least) Build 93.1

Expected result

Last good: (unknown) (or more recent)

Further details

Always latest result in this scenario: latest

Actions #1

Updated by rfan1 about 4 years ago

  • Subject changed from test fails in openssl_fips_hash to [sle][security][sle15sp2][fips]test fails in openssl_fips_hash
Actions #2

Updated by bchou about 4 years ago

  • Status changed from New to In Progress

Re-Test the my @invalid_hash = ("md2", "md4", "md5", "mdc2", "rmd160", "ripemd160", "whirlpool", "sha"); manually, I found the md2 and sha are unavailable any more. It would be the newer openSSL remove these 2 hash. Need to be check with PM about this point, and confirm if we can remove it out from our test cases.

Another point, no matter what they are in FIPS mode or not, the response are the same as follows.
dgst: Unrecognized flag md2
dgst: Use -help for summary.

Actions #3

Updated by bchou about 4 years ago

  • Subject changed from [sle][security][sle15sp2][fips]test fails in openssl_fips_hash to [sle][security][sle15sp2][fips]test fails in openssl_fips_hash (about md2 and sha)
Actions #4

Updated by bchou about 4 years ago

Refer to bsc#1167642 - [SLES15SP2] [Build 163.11] [SECURITY] [FIPS] md2 and sha digest output the Unrecognized flag

Actions #5

Updated by bchou about 4 years ago

  • Status changed from In Progress to Resolved

PR is merged.
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/9900

Close this one as resolved. Thanks.

Actions

Also available in: Atom PDF