Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1397547 - SSH does not use the ibmca crypto hardware
SSH does not use the ibmca crypto hardware
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: openssh (Show other bugs)
6.8
s390x Linux
unspecified Severity high
: rc
: ---
Assigned To: Jakub Jelen
Stefan Dordevic
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-11-22 13:55 EST by Joe Pope
Modified: 2017-05-18 07:19 EDT (History)
3 users (show)

See Also:
Fixed In Version: openssh-5.3p1-122.el6
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-03-21 06:02:50 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:0641 normal SHIPPED_LIVE Moderate: openssh security and bug fix update 2017-03-21 08:31:22 EDT

  None (edit)
Description Joe Pope 2016-11-22 13:55:24 EST
Description of problem:
Configured OpenSSL to use ibmca and verified the configuration for Apache but SSHD will not use the modular exponentiation (RSA/DH/DSA) from the crypto adapter.


Version-Release number of selected component (if applicable):
openssh-5.3p1-118.1.el6_8.s390x
openssl-ibmca-1.2.0-4.el6.s390x
libica-2.4.2-2.el6.s390x


How reproducible:
configure the openssl.cnf as described in openssl.cnf.sample-s390x
reboot

Steps to Reproduce:
1.configure openssl as above
2.reboot
3.run lszcrypt -VVV to check request_count
4.run icastats -r to clear stats
5.open multiple ssh sessions and the counter will not increment
6.run lszcrypt -VVV to check request_count
7.run icastats to verify the software count is incrementing and the hardware count is not

Actual results:
the request_count will not increment and icastats for hardware will not increment which means that ssh is using the builtin openssl engine instead of offloading to the crypto card

Expected results:
request_count should increment and icastats should increment for hardware

Additional info:
Comment 1 Jakub Jelen 2016-11-23 03:11:24 EST
Can you verify it works [1] with current RHEL7.3 (it should)? RHEL6 already reached the maintenance phase and therefore does not accept any new features.
But to make sure it is properly evaluated, please contact your Red Hat support [2] (bugzilla is not a support tool).

[1] http://bugzilla.redhat.com/1318760
[2] https://www.redhat.com/support/
Comment 2 Joe Pope 2016-11-23 06:09:30 EST
yes it works with 7.3.

this is not a new feature for rhel 6. it used to work in earlier versions of rhel6.
Comment 3 Jakub Jelen 2016-11-23 07:03:49 EST
This seems to be related to control master feature introduced some time around RHEL6.5, which is closing all the hanging file descriptors in the processes (unfortunately not noticed during recent updates).

We have a patch for RHEL7, which should do the same job also in RHEL6 so please, open your support ticket (with reference to this bugzilla) so I can build you a test package.
Comment 19 errata-xmlrpc 2017-03-21 06:02:50 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2017-0641.html

Note You need to log in before you can comment on or make changes to this bug.