update/software/scripts
Marcelo de Castro Loebens 0bbb7fb9d7 Upgrade precheck for system-local-ca's private key
IPSec requires the private key of system-local-ca to be RSA, and
while the usage of other types of keys is under consideration, it
still needs to be implemented. Also, other types of keys where
never validated for other services that use certificates issued from
system-local-ca, such as LDAP, Docker Registry, and so on.

Considering this, this review includes an upgrade precheck that will
prevent an user to upgrade from a system with non RSA keys. This
precheck needs to be re evaluated in the future if we support other
types of keys.

Test Plan:
PASS: With an stx 8 system with ECC key in system-local-ca:
      - Loaded designer iso for stx 10;
      - Run 'software deploy precheck';
      - Observed that a message is displayed to the user, informing
        that only RSA keys are supported and the procedure to update
        system-local-ca.

PASS: With an stx 8 system with RSA key in system-local-ca:
      - Loaded designer iso for stx 10;
      - Run 'software deploy precheck';
      - Observed that the precheck passes. No message regarding
        system-local-ca's private key is displayed.

Story: 2010940
Task: 51238

Change-Id: I6315b6018e755cf80d7e1f6a01909fb5ddb15ba4
Signed-off-by: Marcelo de Castro Loebens <Marcelo.DeCastroLoebens@windriver.com>
2024-10-31 10:38:52 -04:00
..
chroot_mounts.sh Upgrade from stx8 compatibility fix 2024-06-18 19:36:43 +00:00
controllers-software-sync Update script to call software_sync api 2024-09-20 17:08:23 -03:00
create_postgresql_database.sh Update Postgres Auth and Password Encryption 2024-09-26 20:17:41 +02:00
deploy-cleanup Fix deploy start kubernetes mount points 2024-05-08 18:44:33 -03:00
deploy-precheck Upgrade precheck for system-local-ca's private key 2024-10-31 10:38:52 -04:00
prep-data-migration Migrate etcd data to the folder 2024-06-27 01:47:33 +00:00
shell-utils Include missing data migration steps on deploy start 2024-03-22 15:12:14 -03:00
software-deploy-start Improve feed repo sync script to detect inactive peer 2024-10-08 12:03:40 -03:00
sync-controllers-feed Improve feed repo sync script to detect inactive peer 2024-10-08 12:03:40 -03:00
upgrade_utils.py Upgrade precheck for system-local-ca's private key 2024-10-31 10:38:52 -04:00
usm_load_import Display legacy patch info after upload 2024-10-01 14:29:21 +00:00