adding missing extraction of capture group from fingerprint regex

pull/743/head
Austin Lucas Lake 2024-05-06 15:00:11 -07:00
parent 7ce40a8610
commit 6edf177713
No known key found for this signature in database
GPG Key ID: 6A37FA54CFCFA4DB
1 changed files with 1 additions and 1 deletions

View File

@ -328,7 +328,7 @@ def generate_keypair(module, params, matching_keys, check_mode):
executable=get_bin_path('gpg')
)
fingerprint = re.search(r'([0-9a-zA-Z]+)\.rev', stderr)
fingerprint = re.search(r'([0-9a-zA-Z]+)\.rev', stderr).group(1)
for subkey in params['subkeys']:
if subkey['subkey_type'] in ['RSA', 'DSA', 'ELG']: