1
0
Fork 0
mirror of https://github.com/borgbase/vorta synced 2024-12-21 23:33:13 +00:00

Add new SSH key error (#1070)

This commit is contained in:
Manu 2021-09-29 17:10:37 +04:00 committed by GitHub
parent 901992f026
commit 06dc2489d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -141,7 +141,8 @@ def get_private_keys():
'fingerprint': parsed_key.get_fingerprint().hex()
}
available_private_keys.append(key_details)
except (SSHException, UnicodeDecodeError, IsADirectoryError, IndexError, ValueError, PermissionError):
except (SSHException, UnicodeDecodeError, IsADirectoryError, IndexError, ValueError,
PermissionError, NotImplementedError):
continue
except OSError as e:
if e.errno == errno.ENXIO: