Debian Patches

Status for golang-go.crypto/1:0.45.0-1

Patch Description Author Forwarded Bugs Origin Last update
0001-skip-wycheproof_test.patch Skip wycheproof_test.go to prevent network access Anthony Fok <foka@debian.org> not-needed vendor 2022-03-17
0002-Skip-test-fails-on-reproducible-builds.patch Skip test fails on reproducible builds
Reported upstream:
- https://github.com/golang/go/issues/39831
- https://github.com/golang/go/issues/39910
Roger Shimizu <rosh@debian.org> no 2020-06-25
skip-pebble.patch Disable failing test
--- FAIL: TestWithPebble (0.00s)
--- FAIL: TestWithPebble/HTTP01-Issuance (0.00s)
panic: testing: test using t.Setenv or t.Chdir can not use t.Parallel

goroutine 598 [running]:
testing.tRunner.func1.2({0x7e3880, 0x90e290})
/usr/lib/go-1.24/src/testing/testing.go:1734 +0x21c
testing.tRunner.func1()
/usr/lib/go-1.24/src/testing/testing.go:1737 +0x35e
panic({0x7e3880?, 0x90e290?})
/usr/lib/go-1.24/src/runtime/panic.go:792 +0x132
testing.(*T).checkParallel(...)
/usr/lib/go-1.24/src/testing/testing.go:1604
testing.(*T).Setenv(0xc0001a8c40?, {0x870098?, 0x2d?}, {0xc0003166c0?, 0x417954?})
/usr/lib/go-1.24/src/testing/testing.go:1618 +0x65
golang.org/x/crypto/acme_test.fetchModule(0xc0001a8c40, {0x87cb7f, 0x20}, {0x86e9e5, 0x6})
/build/golang-go.crypto-0.41.0/_build/src/golang.org/x/crypto/acme/pebble_test.go:729 +0x233
golang.org/x/crypto/acme_test.startPebbleEnvironment(0xc0001a8c40, 0x0)
/build/golang-go.crypto-0.41.0/_build/src/golang.org/x/crypto/acme/pebble_test.go:585 +0x6f
golang.org/x/crypto/acme_test.TestWithPebble.func3(0xc0001a8c40)
/build/golang-go.crypto-0.41.0/_build/src/golang.org/x/crypto/acme/pebble_test.go:96 +0x45
testing.tRunner(0xc0001a8c40, 0xc00007ef80)
/usr/lib/go-1.24/src/testing/testing.go:1792 +0xf4
created by testing.(*T).Run in goroutine 596
/usr/lib/go-1.24/src/testing/testing.go:1851 +0x413

diff --git a/acme/pebble_test.go b/acme/pebble_test.go
index b633435..1085372 100644
Simon Josefsson <simon@josefsson.org> no 2025-09-01
test-ssh-agent-home.patch [PATCH] tests: Put agent socket in /tmp
Modern OpenSSH move the agent socket from /tmp to the user's home
directory, however this may result in build errors like this:

client_test.go:46: /usr/bin/ssh-agent -s failed: exit status 255
ensure_mkdir: mkdir /nonexistent/.ssh: No such file or directory
main: Couldn't prepare agent socket

Moving the socket back to run self-tests seems like a simple
workaround here.

https://github.com/openssh/openssh-portable/commit/80162f9d7e7eadca4ffd0bd1c015d38cb1821ab6

diff --git a/ssh/agent/client_test.go b/ssh/agent/client_test.go
index 0fd284d..fbf3e27 100644
Simon Josefsson <simon@josefsson.org> not-needed 2025-10-12

All known versions for source package 'golang-go.crypto'

Links