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
1 changed files with 2 additions and 1 deletions

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: