AES256 Encryption Migration on a Shared ACF2 Database
search cancel

AES256 Encryption Migration on a Shared ACF2 Database

book

Article ID: 187587

calendar_today

Updated On:

Products

ACF2 ACF2 - z/OS ACF2 - MISC

Issue/Introduction

If multiple LPARs share the ACF2 database but have different GSO PSWD records, do all LPARs need to have to have PSWDENCT(AES2) and ONEPWALG specified when they share an ACF2 database? Will having mismatched settings cause a logon issue?

Resolution

Having mismatched PSWDENCT() and ONEPWALG settings in the GSO PSWD record will not cause any logon issues nor prevent users from logging onto a system. The ACF2 logon process is not impacted by a mismatch of these settings.
 
When migrating to AES256 password encryption for the first time on any LPAR, it is recommended to specify NOONEPWALG field of the GSO PSWD record. With NOONEPWALG set, ACF2 encrypts a password/password phrase with the current setting in PSWDENCT and the weaker algorithms. This makes it possible to quickly drop to a lower encryption level (AES1 or DES) should performance issues occur as AES256 is notoriously CPU intensive.
 
Use of NOONEPWALG does not offer the full benefit of converting to an AES algorithm because the XDES password/password phrase is still saved. After all LPARs and all users have been migrated to AES256, the setting should eventually be changed to ONEPWALG.  

It is recommended to use the same settings across LPARs that share the ACF2 database as failure to do so may impede the migration process. For example, if only one LPAR has AES256 specified as the encryption algorithm, then all password changes should be made on the LPAR with AES256. If users change their passwords on an LPAR with a lower encryption method such as AES128 or XDES, the password(s) with a higher level of encryption and their TOD fields stored in the database will be zeroed out and only the AES128 or XDES password and TOD field will be updated. For this reason, either have all LPARs use AES256 encryption with NOONEPWALG, or ensure users only change their passwords on the LPAR where the AES256 testing is taking place.

Additional Information

Examples:
If NOONEPWALG is set and PSWDENCT is set to AES2, ACF2 saves the password/password phrase that is encrypted under AES 256, AES 128, and XDES
 
If NOONEPWALG is set and PSWDENCT is set to AES1, ACF2 saves the password/password phrase that is encrypted under AES 128 and XDES. This option makes it easier to transition from one algorithm to another, especially in a shared database environment