Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transports/tls: Add libp2p-tls as per spec #2945

Merged
merged 57 commits into from
Oct 24, 2022
Merged

transports/tls: Add libp2p-tls as per spec #2945

merged 57 commits into from
Oct 24, 2022

Commits on Sep 26, 2022

  1. Add skeleton for libp2p-tls

    This code is extracted from #2289.
    
    Co-authored-by: David Craven <[email protected]>
    Co-authored-by: Roman Proskuryakov <[email protected]>
    Co-authored-by: Max Inden <[email protected]
    Co-authored-by: Elena Frank <[email protected]>
    4 people committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    06a77c2 View commit details
    Browse the repository at this point in the history
  2. Minor reformatting

    thomaseizinger committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    5364b43 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    71b2fe8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    80c0d1c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    03a2aed View commit details
    Browse the repository at this point in the history
  6. Add changelog files

    thomaseizinger committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    c5b1558 View commit details
    Browse the repository at this point in the history
  7. Fix docs

    thomaseizinger committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    2316505 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    334544d View commit details
    Browse the repository at this point in the history
  9. Verify p2p extension as part of parsing certificate

    We shouldn't rely on our callers to call `verify` here.
    thomaseizinger committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    4d6db82 View commit details
    Browse the repository at this point in the history
  10. Fix compile error

    thomaseizinger committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    e4547a5 View commit details
    Browse the repository at this point in the history
  11. Extract private fn that allows to control the cert keypair

    This will be useful for testing.
    thomaseizinger committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    3267ccd View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    9a9ac2b View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    b810bcc View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    7c6e6cf View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    a8d965f View commit details
    Browse the repository at this point in the history
  16. Tidy up manifest

    thomaseizinger committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    6d68ffa View commit details
    Browse the repository at this point in the history
  17. Sort hex dependencies

    thomaseizinger committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    21b4319 View commit details
    Browse the repository at this point in the history
  18. Fix clippy

    thomaseizinger committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    f0cac36 View commit details
    Browse the repository at this point in the history
  19. Remove Stream type

    We are already leaking the `rustls` dependency to our clients
    through the `make_{server,client}_config` functions which have to
    be public for QUIC. Might as well reduce boilerplate and not wrap
    `TlsStream`.
    thomaseizinger committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    39fdf41 View commit details
    Browse the repository at this point in the history
  20. Fmt

    thomaseizinger committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    3b76e39 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    3ddf442 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    d0bb3fa View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    01ecdbc View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    67eda94 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    eedbefc View commit details
    Browse the repository at this point in the history
  26. Upgraxe x509-parser to 0.14

    Co-authored-by: Roman Proskuryakov <[email protected]>
    thomaseizinger and kpp committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    d9f1036 View commit details
    Browse the repository at this point in the history
  27. Remove comment

    thomaseizinger committed Sep 26, 2022
    Configuration menu
    Copy the full SHA
    d74fe57 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2022

  1. Configuration menu
    Copy the full SHA
    eaa27f4 View commit details
    Browse the repository at this point in the history
  2. Move errors further down

    These are not interesting enough to be as prominent.
    thomaseizinger committed Sep 27, 2022
    Configuration menu
    Copy the full SHA
    f95e9d9 View commit details
    Browse the repository at this point in the history
  3. Inline _generate function

    This is a left-over from an earlier iteration where we thought
    that we need to control the keypair for deterministic tests.
    thomaseizinger committed Sep 27, 2022
    Configuration menu
    Copy the full SHA
    7acf98b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4f15b3b View commit details
    Browse the repository at this point in the history
  5. Use rustls types in signatures

    This actually hides the `rcgen` dependency from our users. We already
    leak `rustls` which is basically unavoidable for as long as we want
    to expose the `make_{server,client}_config` functions so it seems
    adequate to just use those types in the `certificate` module too.
    thomaseizinger committed Sep 27, 2022
    Configuration menu
    Copy the full SHA
    e1f34ae View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2022

  1. Configuration menu
    Copy the full SHA
    79a464a View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2022

  1. Configuration menu
    Copy the full SHA
    59ebdb2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a1546be View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f6ba989 View commit details
    Browse the repository at this point in the history
  4. Add license headers

    thomaseizinger committed Sep 30, 2022
    Configuration menu
    Copy the full SHA
    4a5c4da View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d078a5e View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2022

  1. Configuration menu
    Copy the full SHA
    d9c999a View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2022

  1. Configuration menu
    Copy the full SHA
    d362aef View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    10b4c82 View commit details
    Browse the repository at this point in the history
  3. Fix clippy lints

    thomaseizinger committed Oct 5, 2022
    Configuration menu
    Copy the full SHA
    e4e7bfd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6bb6ce7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2ac833e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6e03126 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1edc6f3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    fbb0d3a View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a3af017 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2022

  1. Configuration menu
    Copy the full SHA
    f11c54e View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2022

  1. Configuration menu
    Copy the full SHA
    bf1b30a View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2022

  1. Configuration menu
    Copy the full SHA
    59c43ce View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3fe6386 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ed98810 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2022

  1. Configuration menu
    Copy the full SHA
    f5bf544 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2022

  1. Configuration menu
    Copy the full SHA
    eae9b5f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    27b58f7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b01bff4 View commit details
    Browse the repository at this point in the history