From dc98877938e771215368958284d324af89e5a136 Mon Sep 17 00:00:00 2001 From: Ryan Kraay <> Date: Fri, 15 Oct 2021 21:12:40 +0200 Subject: [PATCH] Allow traveral of non-secure notes --- bw_add_sshkeys.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bw_add_sshkeys.py b/bw_add_sshkeys.py index ce98db4..ba1b62d 100755 --- a/bw_add_sshkeys.py +++ b/bw_add_sshkeys.py @@ -137,6 +137,9 @@ def add_ssh_keys(session, items, keyname): except IndexError: logging.warning('No "%s" field found for item %s', keyname, item['name']) 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') try: