%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