Skip to content

Possible openssh_mapper error with SSH v1 key #59

Description

@wolneykien

Hi! There is the following mismatch in the openssh_mapper.c:

It uses

RSA_set0_key(rsa, rsa_e, rsa_n, NULL);

when is parsing ssh v1 key, but

RSA_set0_key(rsa, rsa_n, rsa_e, NULL);

for ssh v2 key. Notice the different order of rsa_e and rsa_n in the calls. Possibly, that's an error. However, I don't known where can I get an SSH version 1 key to check it in runtime.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions