Skip to content

Version 0.33 not iterating over all key algorithms #789

@filip-lebiecki

Description

@filip-lebiecki

With SSHJ 0.33 if a specific key has more than 2 algorithms then library will take only first 2 (not iterating over all algorithms).
For example for RSA we have:
rsa-sha2-512
rsa-sha2-256
ssh-rsa

SSHJ will only take rsa-sha2-512, then it will try rsa-sha2-256 and then it will fail (without trying ssh-rsa).
This was bug is introduced in #763.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions