Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: golang/crypto
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.15.0
Choose a base ref
...
head repository: golang/crypto
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.16.0
Choose a head ref
  • 8 commits
  • 16 files changed
  • 8 contributors

Commits on Nov 9, 2023

  1. ssh: eliminate some goroutine leaks in tests and examples

    This should fix the "Log in goroutine" panic seen in
    https://build.golang.org/log/e42bf69fc002113dbccfe602a6c67fd52e8f31df,
    as well as a few other related leaks. It also helps to verify that
    none of the functions under test deadlock unexpectedly.
    
    See https://go.dev/wiki/CodeReviewComments#goroutine-lifetimes.
    
    Updates golang/go#58901.
    
    Change-Id: Ica943444db381ae1accb80b101ea646e28ebf4f9
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/541095
    Auto-Submit: Bryan Mills <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Nicola Murino <[email protected]>
    Reviewed-by: Heschi Kreinick <[email protected]>
    Bryan C. Mills authored and gopherbot committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    ff15cd5 View commit details
    Browse the repository at this point in the history
  2. cryptobyte: fix ReadOptionalASN1Boolean

    ReadOptionalASN1Boolean was completely broken, it would only work when
    there were two BOOLEAN fields in a row, with the first being OPTIONAL
    (which is itself invalid ASN.1 due to the ambiguity). This fixes it
    to properly expect a BOOLEAN wrapped in a context-specific tag, as is
    the case for all of the other ReadOptionalASN1* methods, and updates
    its doc string.
    
    This is a breaking change as it requires adding the tag field to
    properly support context-specific tags. Given the method would
    previously not work this seems like a reasonable breakage.
    
    Fixes golang/go#43019
    
    Change-Id: I42398256216c59988e249c90bc7aa668f64df945
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/274242
    Reviewed-by: Filippo Valsorda <[email protected]>
    Reviewed-by: Damien Neil <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Auto-Submit: Roland Shoemaker <[email protected]>
    rolandshoemaker authored and gopherbot committed Nov 9, 2023
    Configuration menu
    Copy the full SHA
    a2edfb5 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2023

  1. ssh: use the correct token from the client

    This fixes the case where AcceptSecContext is always called with the
    first token sent by the client instead of the most recently sent one.
    Previously, despite being being read from the client and unmarshalled,
    it was never actually used.
    
    Fixes golang/go#43875
    
    Change-Id: I1967d9a107af03d6778a9437b48e785d61710ee5
    GitHub-Last-Rev: 0d58e4d
    GitHub-Pull-Request: #176
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/286252
    Run-TryBot: Filippo Valsorda <[email protected]>
    Auto-Submit: Filippo Valsorda <[email protected]>
    TryBot-Result: Gopher Robot <[email protected]>
    Reviewed-by: Matthew Dempsky <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Run-TryBot: Nicola Murino <[email protected]>
    Reviewed-by: Nicola Murino <[email protected]>
    Reviewed-by: Filippo Valsorda <[email protected]>
    Reviewed-by: Than McIntosh <[email protected]>
    bodgit authored and gopherbot committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    1cf1811 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2023

  1. curve25519/internal/field/_asm: go mod tidy to fix x/sys version

    Relates to CL 540537, which updated the dependency in the main module.
    
    Change-Id: I9a745f4e03b5cf14fa62c4de63363ddf663b19fd
    GitHub-Last-Rev: 836c393
    GitHub-Pull-Request: #277
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/541276
    Auto-Submit: Filippo Valsorda <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Reviewed-by: Michael Knyszek <[email protected]>
    Reviewed-by: Roland Shoemaker <[email protected]>
    Reviewed-by: Filippo Valsorda <[email protected]>
    thaJeztah authored and gopherbot committed Nov 21, 2023
    Configuration menu
    Copy the full SHA
    270bf25 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2023

  1. ssh: fix certificate authentication with OpenSSH 7.2-7.7

    OpenSSH 7.2-7.7 advertises support for rsa-sha2-256 and rsa-sha2-512
    in the "server-sig-algs" extension but doesn't support these
    algorithms for certificate authentication, so if the server rejects
    the key try to use the obtained algorithm as if "server-sig-algs" had
    not been implemented.
    
    Fixes golang/go#58371
    
    Change-Id: Id49960d3dedd32a21e2c6c2689b1696e05398286
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/510155
    Reviewed-by: Filippo Valsorda <[email protected]>
    Run-TryBot: Nicola Murino <[email protected]>
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    Reviewed-by: Michael Knyszek <[email protected]>
    TryBot-Result: Gopher Robot <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Auto-Submit: Nicola Murino <[email protected]>
    drakkan authored and gopherbot committed Nov 23, 2023
    Configuration menu
    Copy the full SHA
    1c17e20 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2023

  1. ssh: add (*Client).DialContext method

    This change adds DialContext to ssh.Client, which opens a TCP-IP
    connection tunneled over the SSH connection. This is useful for
    proxying network connections, e.g. setting
    (net/http.Transport).DialContext.
    
    Fixes golang/go#20288.
    
    Change-Id: I110494c00962424ea803065535ebe2209364ac27
    GitHub-Last-Rev: 3176984
    GitHub-Pull-Request: #260
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/504735
    Run-TryBot: Nicola Murino <[email protected]>
    Run-TryBot: Han-Wen Nienhuys <[email protected]>
    Auto-Submit: Nicola Murino <[email protected]>
    Reviewed-by: Han-Wen Nienhuys <[email protected]>
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    TryBot-Result: Gopher Robot <[email protected]>
    Reviewed-by: Nicola Murino <[email protected]>
    Commit-Queue: Nicola Murino <[email protected]>
    ydnar authored and gopherbot committed Nov 27, 2023
    Configuration menu
    Copy the full SHA
    b2d7c26 View commit details
    Browse the repository at this point in the history
  2. go.mod: update golang.org/x dependencies

    Update golang.org/x dependencies to their latest tagged versions.
    
    Change-Id: I7fdfe509173c79a63d006b27d674f869a5baa2af
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/545098
    Reviewed-by: Heschi Kreinick <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    Auto-Submit: Gopher Robot <[email protected]>
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    gopherbot committed Nov 27, 2023
    Configuration menu
    Copy the full SHA
    1eadac5 View commit details
    Browse the repository at this point in the history
  3. ssh/test: skip TestSSHCLIAuth on Windows

    It's failing with a file permissions error:
    
    sign_and_send_pubkey: signing using rsa-sha2-512 SHA256:Anr3LjZK8YVpjrxu79myrW9Hrb/wpcMNpVvTq/RcBm8\r\nBad permissions. Try removing permissions for user: UNKNOWN\\\\UNKNOWN (S-1-15-2-2) on file C:/b/s/w/ir/x/t/TestSSHCLIAuth1586735692/001/rsa.
    
    For golang/go#64403
    
    Change-Id: Iece8eac4a1ac349f9f7a273ac7389315cb96568e
    Cq-Include-Trybots: luci.golang.try:x_crypto-gotip-windows-amd64-longtest,x_crypto-go1.21-windows-amd64-longtest,x_crypto-go1.20-windows-amd64-longtest
    Reviewed-on: https://go-review.googlesource.com/c/crypto/+/545135
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    Reviewed-by: Nicola Murino <[email protected]>
    Auto-Submit: Heschi Kreinick <[email protected]>
    LUCI-TryBot-Result: Go LUCI <[email protected]>
    heschi authored and gopherbot committed Nov 27, 2023
    Configuration menu
    Copy the full SHA
    325b735 View commit details
    Browse the repository at this point in the history
Loading