mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-14 22:20:17 +08:00
be a bit more lienient about gpg output formatting
This commit is contained in:
@@ -76,7 +76,7 @@ def check_gpg2_keys(gpg2_path, key_ids):
|
||||
line_parts = line.split()
|
||||
for part in line_parts:
|
||||
# look for rsaXXXX/{:key_id} or dsaXXXX/{:key_id}
|
||||
if part.endswith('/0x{}'.format(key_id.upper())):
|
||||
if part.endswith('{}'.format(key_id.upper())):
|
||||
found = True
|
||||
break
|
||||
|
||||
|
||||
Reference in New Issue
Block a user