Skip to content

figure out a way to test libgit2 host verification #39389

Open
@StefanKarpinski

Description

@StefanKarpinski

This applies to both TLS and SSH transports.

  • We need a way to mock up an HTTPS server and an SSH server.
  • We want to be able to simulate both valid and invalid hosts for each.
  • For SSH we need to be able to do this on both port 22 and some other non-standard port.

Not urgent, but it would be good to test that this stuff actually works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    libgit2The libgit2 library or the LibGit2 stdlib moduletestThis change adds or pertains to unit tests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions