You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible-msvsphere.ci/roles/pgp_test_key/templates/msvsphere-test-key.batch.j2

16 lines
429 B

%echo Generating OpenPGP key
%no-protection
Key-Type: RSA
Key-Length: 4096
Key-Usage: sign
Name-Real: MSVSphere {{ msvsphere_major_ver }} Test Key
Name-Email: packager@msvsphere.test
Expire-Date: 0
{% if msvsphere_major_ver | string == '9' %}
Preferences: AES256,AES192,AES,SHA512,SHA384,SHA256,ZLIB,ZIP,BZIP2
{% else %}
Preferences: AES256,AES192,AES,3DES,SHA512,SHA384,SHA256,SHA1,ZLIB,ZIP,BZIP2
{% endif %}
%commit
%echo done