Need bcrypt module
Package:
cryptography
4288
Exception Class:
UnsupportedAlgorithm
Raise code
def _bcrypt_kdf(
password: bytes,
salt: bytes,
desired_key_bytes: int,
rounds: int,
ignore_few_rounds: bool = False,
) -> bytes:
raise UnsupportedAlgorithm("Need bcrypt module")
_SSH_ED25519 = b"ssh-ed25519"
_SSH_RSA = b"ssh-rsa"
_SSH_DSA = b"ssh-dss"
_ECDSA_NISTP256 = b"ecdsa-sha2-nistp256"
_ECDSA_NISTP384 = b"ecdsa-sha2-nistp384"
Links to the raise (1)
https://github.com/pyca/cryptography/blob/7bb03065237d9a16477e2d94734638aa8f8ba692/src/cryptography/hazmat/primitives/serialization/ssh.py#L40NO FIXES YET
Just press the button and we will add solution
to this exception as soon as possible
* As many users press the button, the faster we create a fix
Add a possible fix
Please authorize to post fix