From b13e47a0977c1a2040faf59c674704851035e7a4 Mon Sep 17 00:00:00 2001 From: sspans-sbp <84081351+sspans-sbp@users.noreply.github.com> Date: Thu, 25 May 2023 15:21:11 +0200 Subject: [PATCH] Enforce pkcs1 for keys The driver code expects an pkcs1 key for fetching the windows password. Make sure we generate the correct key type. --- .../{{cookiecutter.scenario_name}}/create.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/molecule_plugins/ec2/cookiecutter/{{cookiecutter.molecule_directory}}/{{cookiecutter.scenario_name}}/create.yml b/src/molecule_plugins/ec2/cookiecutter/{{cookiecutter.molecule_directory}}/{{cookiecutter.scenario_name}}/create.yml index df3e4715..6ac0d42b 100644 --- a/src/molecule_plugins/ec2/cookiecutter/{{cookiecutter.molecule_directory}}/{{cookiecutter.scenario_name}}/create.yml +++ b/src/molecule_plugins/ec2/cookiecutter/{{cookiecutter.molecule_directory}}/{{cookiecutter.scenario_name}}/create.yml @@ -128,6 +128,8 @@ type: rsa size: 2048 regenerate: never + backend: cryptography + private_key_format: pkcs1 loop: "{{ platforms }}" loop_control: label: "{{ item.name }}"