Merge pull request #16 from ryan-kraay/traverse-non-secure-notes

Allow traversal of non-secure notes
This commit is contained in:
Joao Jacome 2021-10-22 10:27:19 +01:00 committed by GitHub
commit af2be0a99a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -137,6 +137,9 @@ def add_ssh_keys(session, items, keyname):
except IndexError: except IndexError:
logging.warning('No "%s" field found for item %s', keyname, item['name']) logging.warning('No "%s" field found for item %s', keyname, item['name'])
continue continue
except KeyError as e:
logging.debug('No key "%s" found in item %s - skipping', e.args[0], item['name'])
continue
logging.debug('Private key file declared') logging.debug('Private key file declared')
try: try: