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

move go-libp2p-tls here #1466

Merged
merged 76 commits into from
May 3, 2022
Merged

move go-libp2p-tls here #1466

merged 76 commits into from
May 3, 2022

Commits on Nov 24, 2018

  1. initial commit

    marten-seemann committed Nov 24, 2018
    Configuration menu
    Copy the full SHA
    82f9c87 View commit details
    Browse the repository at this point in the history
  2. add a license

    marten-seemann committed Nov 24, 2018
    Configuration menu
    Copy the full SHA
    b70779f View commit details
    Browse the repository at this point in the history
  3. fix handshake tests

    marten-seemann committed Nov 24, 2018
    Configuration menu
    Copy the full SHA
    09e1e2a View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2018

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

Commits on Nov 29, 2018

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

Commits on Nov 30, 2018

  1. Configuration menu
    Copy the full SHA
    eaf15fd View commit details
    Browse the repository at this point in the history
  2. Merge pull request #5 from libp2p/use-context

    close the underlying connection when the context is canceled
    marten-seemann committed Nov 30, 2018
    Configuration menu
    Copy the full SHA
    21cff47 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2019

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

Commits on Jan 12, 2019

  1. Merge pull request #9 from libp2p/ecdsa

    add support for ECDSA keys
    marten-seemann committed Jan 12, 2019
    Configuration menu
    Copy the full SHA
    936688b View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2019

  1. Configuration menu
    Copy the full SHA
    10b3e2a View commit details
    Browse the repository at this point in the history
  2. Merge pull request #13 from libp2p/better-type-checking

    avoid using interface{} when generating certificates
    marten-seemann committed Feb 17, 2019
    Configuration menu
    Copy the full SHA
    517ac00 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9f8a324 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #12 from libp2p/optimize-cert-chain-generation

    remove unneeded marshaling / unmarshaling when generating cert chain
    marten-seemann committed Feb 17, 2019
    Configuration menu
    Copy the full SHA
    a16ab88 View commit details
    Browse the repository at this point in the history
  5. drop support for Go 1.10

    TLS 1.3 will require Go >= 1.12, so we don't need any fixes that were
    specific to Go 1.10 any more.
    marten-seemann committed Feb 17, 2019
    Configuration menu
    Copy the full SHA
    5ecc2f9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4909818 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0b45a8d View commit details
    Browse the repository at this point in the history
  8. switch to TLS 1.3

    TLS 1.3 support was recently made opt-in in Go 1.12, so we need to
    explicitly enable it.
    marten-seemann committed Feb 17, 2019
    Configuration menu
    Copy the full SHA
    1c09b02 View commit details
    Browse the repository at this point in the history
  9. Merge pull request #11 from libp2p/tls13

    use TLS 1.3
    marten-seemann committed Feb 17, 2019
    Configuration menu
    Copy the full SHA
    df91dee View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2019

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

Commits on Feb 27, 2019

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

Commits on Feb 28, 2019

  1. fix duplicate import

    marten-seemann committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    ebc4872 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7d129c2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e4b8bb7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e996c4a View commit details
    Browse the repository at this point in the history
  5. Merge pull request #14 from libp2p/example

    add an example (mainly for development)
    marten-seemann committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    b405c82 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2000551 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #17 from libp2p/peer-verification

    improve peer verification
    marten-seemann committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    e31e5a8 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2019

  1. Configuration menu
    Copy the full SHA
    c6c1a34 View commit details
    Browse the repository at this point in the history
  2. fix logging when using secp256k1 key in tests

    Co-Authored-By: marten-seemann <martenseemann@gmail.com>
    raulk and marten-seemann committed Mar 11, 2019
    Configuration menu
    Copy the full SHA
    afcc2e4 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2019

  1. Configuration menu
    Copy the full SHA
    a2bf05d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a49a4b1 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #23 from libp2p/chacha-preference

    use ChaCha if one of the peers doesn't have AES hardware support
    marten-seemann committed Mar 14, 2019
    Configuration menu
    Copy the full SHA
    5f29402 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2b073e1 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2019

  1. Merge pull request #26 from libp2p/cert-prefix

    use a prefix when signing the public key
    marten-seemann committed Apr 7, 2019
    Configuration menu
    Copy the full SHA
    d8bd9ab View commit details
    Browse the repository at this point in the history
  2. disable session tickets

    When resuming a session using session tickets, no certificate chain is
    presented, and the callbacks needed to verify the peer identity would
    not be called.
    marten-seemann committed Apr 7, 2019
    Configuration menu
    Copy the full SHA
    2684cc1 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2019

  1. Merge pull request #20 from libp2p/new-handshake

    implement the new handshake
    marten-seemann committed Apr 9, 2019
    Configuration menu
    Copy the full SHA
    173abf7 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2019

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

Commits on Jul 27, 2019

  1. Configuration menu
    Copy the full SHA
    250af20 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    08736ac View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2019

  1. Configuration menu
    Copy the full SHA
    f7ede37 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #33 from libp2p/expose-pubkey-from-certchain

    expose the function to derive the peer's public key from the cert chain
    marten-seemann committed Aug 1, 2019
    Configuration menu
    Copy the full SHA
    cca3e39 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ea13d7a View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2019

  1. Fix: Connection Closed after handshake

    The context-cancelled watchdog goroutine may start running way after the
    handshake has finished and the associated context has been cancelled (by the
    executeDial() function in go-libp2p-swarm usuaully).
    
    This results in the connection being closed right after being stablished.
    hsanjuan committed Nov 1, 2019
    Configuration menu
    Copy the full SHA
    0328485 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #37 from libp2p/fix/handshake-cancelled

    Fix: Connection Closed after handshake
    Stebalien committed Nov 1, 2019
    Configuration menu
    Copy the full SHA
    6b8d597 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2019

  1. Merge pull request #34 from libp2p/no-key-error-check

    make the error check for not receiving a public key more explicit
    Stebalien committed Nov 12, 2019
    Configuration menu
    Copy the full SHA
    7c0aea2 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2019

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

Commits on Nov 26, 2019

  1. Merge pull request #39 from libp2p/close-conn-on-error

    close the underlying connection when the handshake fails
    marten-seemann committed Nov 26, 2019
    Configuration menu
    Copy the full SHA
    3fc3210 View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2019

  1. chore: update deps

    And bump minimum key to 2048.
    Stebalien committed Dec 7, 2019
    Configuration menu
    Copy the full SHA
    04be62c View commit details
    Browse the repository at this point in the history
  2. Merge pull request #43 from libp2p/chore/update

    Update deps and fix tests
    Stebalien committed Dec 7, 2019
    Configuration menu
    Copy the full SHA
    21893f7 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2020

  1. update to Go 1.14

    marten-seemann committed Mar 13, 2020
    Configuration menu
    Copy the full SHA
    1ca1358 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #54 from libp2p/go1.14

    update to Go 1.14
    Stebalien committed Mar 13, 2020
    Configuration menu
    Copy the full SHA
    5a96fcd View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2020

  1. Configuration menu
    Copy the full SHA
    4fa1ab4 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #57 from libp2p/improve-verification-error

    improve the error message returned when peer verification fails
    marten-seemann committed Apr 21, 2020
    Configuration menu
    Copy the full SHA
    d3b17bf View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2020

  1. Configuration menu
    Copy the full SHA
    8aa3448 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #68 from libp2p/remove-tls13-godebug-check

    remove setting of the TLS 1.3 GODEBUG flag
    marten-seemann committed Jul 30, 2020
    Configuration menu
    Copy the full SHA
    14a65b8 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2021

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

Commits on Jul 23, 2021

  1. Configuration menu
    Copy the full SHA
    aa3fa7d View commit details
    Browse the repository at this point in the history
  2. Merge pull request #86 from libp2p/fix-deprecated-key-bytes-calls

    fix deprecated call to key.Bytes
    marten-seemann committed Jul 23, 2021
    Configuration menu
    Copy the full SHA
    6e77466 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2021

  1. Configuration menu
    Copy the full SHA
    1e7a4d7 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #88 from libp2p/handle-critical-extension

    fix: don't fail the handshake when the libp2p extension is critical
    marten-seemann committed Aug 7, 2021
    Configuration menu
    Copy the full SHA
    0f4d03d View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2021

  1. Configuration menu
    Copy the full SHA
    958fc8e View commit details
    Browse the repository at this point in the history
  2. Merge pull request #91 from libp2p/web3-bot/sync

    sync: update CI config files
    marten-seemann committed Sep 5, 2021
    Configuration menu
    Copy the full SHA
    52f323e View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2021

  1. Configuration menu
    Copy the full SHA
    2bf69fb View commit details
    Browse the repository at this point in the history
  2. Merge pull request #94 from libp2p/check-peer-id-on-inbound

    add the peer ID to SecureInbound
    marten-seemann committed Sep 8, 2021
    Configuration menu
    Copy the full SHA
    d7493ef View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2021

  1. set a random certificate issuer

    According to RFC3280, the issuer field must not be empty.
    marten-seemann committed Nov 23, 2021
    Configuration menu
    Copy the full SHA
    1b09f16 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    433e650 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2022

  1. Configuration menu
    Copy the full SHA
    414ea4c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    07909fc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5ffe478 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #105 from libp2p/bye-ginkgo

    migrate to standard Go tests, stop using Ginkgo
    marten-seemann committed Jan 4, 2022
    Configuration menu
    Copy the full SHA
    b4e9948 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2022

  1. use tls.Conn.HandshakeContext instead of tls.Conn.Handshake (#106)

    * use tls.Conn.HandshakeContext instead of tls.Conn.Handshake
    
    * make sure that crypto/tls picks up the handshake ctx cancelation in tests
    marten-seemann committed Apr 10, 2022
    Configuration menu
    Copy the full SHA
    7ee67dd View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2022

  1. feat: catch panics in TLS negotiation

    Part of #1389
    Stebalien committed Apr 19, 2022
    Configuration menu
    Copy the full SHA
    6d7a396 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #111 from libp2p/feat/catch-panic

    feat: catch panics in TLS negotiation
    Stebalien committed Apr 19, 2022
    Configuration menu
    Copy the full SHA
    6c27b17 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2022

  1. Configuration menu
    Copy the full SHA
    57ea005 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    27cfd3f View commit details
    Browse the repository at this point in the history