Skip to content

Commit

Permalink
Fix cipher value.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Sep 12, 2021
1 parent 11f1663 commit cbeefee
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion tests/integration/targets/openssl_publickey/tasks/impl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
openssl_privatekey:
path: '{{ remote_tmp_dir }}/privatekey3.pem'
passphrase: ansible
cipher: aes256
cipher: auto
size: '{{ default_rsa_key_size }}'

- name: "({{ select_crypto_backend }}) Generate publickey3 - with passphrase protected privatekey"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,6 @@
- "result.public_data.y != 0"
- "result.public_data.exponent_size == (521 if (ansible_distribution == 'CentOS' and ansible_distribution_major_version == '6') else 256)"

- name: Check that ECC key info is ok
assert:
that:
- "'fingerprints' in result"
- "'type' in result"
- "result.type.startswith('unknown ')"
- "'public_data' in result"

- name: ({{select_crypto_backend}}) Get key 4 info
openssl_publickey_info:
path: '{{ remote_tmp_dir }}/publickey_4.pem'
Expand Down

0 comments on commit cbeefee

Please sign in to comment.