cargo/crates/cargo-test-support
Weihang Lo 391f0c46e2
test(docker): openssh requires a newer libcrypto3
libcrypto3 is required because openssh-10.0_p1-r8 needs a newer
version of libcrypto3 (3.5.3-r1 as of this writing).
However, the pre-installed one on the image is 3.3.2-r4,
and the one the registry is 3.5.1-r0
Hence an `apk upgrade` is required.
We should remove this someday when upstream fixes it.

Also, I've tried `alpine:edge`,
but edge hasn't yet upgrade the pre-installed libssl3 nor the registry

To repro:

```console
/ # apk info openssh
openssh-10.0_p1-r8 description:
Port of OpenBSD's free SSH release

openssh-10.0_p1-r8 webpage:
https://www.openssh.com/portable.html

openssh-10.0_p1-r8 installed size:
330 KiB

/ # apk info -R openssh
openssh-10.0_p1-r8 depends on:
openssh-client
openssh-sftp-server
openssh-server
so:libc.musl-x86_64.so.1
so:libcrypto.so.3

/ # apk info libcrypto3
libcrypto3-3.5.1-r0 description:
Crypto library from openssl

libcrypto3-3.5.1-r0 webpage:
https://www.openssl.org/

libcrypto3-3.5.1-r0 installed size:
5091 KiB

libcrypto3-3.5.3-r0 description:
Crypto library from openssl

libcrypto3-3.5.3-r0 webpage:
https://www.openssl.org/

libcrypto3-3.5.3-r0 installed size:
5091 KiB

/ # strings /usr/lib/libcrypto.so.3 | grep -i "OpenSSL"
...
OpenSSL 3.5.1 1 Jul 2025
...
```
2025-09-24 11:13:22 -04:00
..
2025-09-02 18:15:50 -06:00
2024-05-06 16:52:29 +02:00
2025-09-19 13:21:35 -05:00

This crate is maintained by the Cargo team, primarily for use by Cargo and not intended for external use. This crate may make major changes to its APIs or be deprecated without warning.