tests: fix key generation for dom0 updates tests

gpg2 requires explicit `%no-protection`, otherwise tries to
interactively (through gpg-agent) prompt for the passphrase.
This commit is contained in:
Marek Marczykowski-Górecki 2020-01-17 04:50:31 +01:00
parent 309dd11b1d
commit 8dda66d693
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -54,6 +54,7 @@ Key-Length: 1024
Key-Usage: sign
Name-Real: Qubes test
Expire-Date: 0
%no-protection
%commit
'''.format(keydir=keydir).encode())
p.stdin.close()