Open seirl opened 1 year ago
It should be fixed in security.ca
I believe.
Last committers: @lukegb @fpletz
Seems to still be an issue - strace
excerpt from Drawful 2 seems to indicate the same issue:
poll([{fd=25, events=POLLIN}], 1, 0) = 0 (Timeout)
poll([{fd=43, events=POLLIN}, {fd=44, events=POLLIN}], 2, 0) = 1 ([{fd=44, revents=POLLIN}])
readv(44, [{iov_base="\26\3\3\0P", iov_len=5}], 1) = 5
readv(44, [{iov_base="\2\0\0L\3\3Z[&\f\362\3\235\316;K3\376\\\312\251\373\305\202\3Er\235Z=a\263"..., iov_len=80}], 1) = 80
readv(44, [{iov_base="\26\3\3\20\22", iov_len=5}], 1) = 5
readv(44, [{iov_base="\v\0\20\16\0\20\v\0\6\2550\202\6\2510\202\5\221\240\3\2\1\2\2\t\0\322>\375;\10\n"..., iov_len=4114}], 1) = 4114
stat("/usr/local/ssl/certs/27eb7704.0", 0x7ffd92edd690) = -1 ENOENT (No such file or directory)
stat("/etc/ssl/certs/27eb7704.0", 0x7ffd92edd690) = -1 ENOENT (No such file or directory)
futex(0x13d248c, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x13d249c, FUTEX_WAKE_PRIVATE, 2147483647) = 0
stat("/usr/local/ssl/certs", 0x7ffd92edd540) = -1 ENOENT (No such file or directory)
stat("/usr/local/ssl/certs/cbf06781.0", 0x7ffd92edd690) = -1 ENOENT (No such file or directory)
stat("/etc/ssl/certs/cbf06781.0", 0x7ffd92edd690) = -1 ENOENT (No such file or directory)
stat("/usr/local/ssl/certs", 0x7ffd92edd540) = -1 ENOENT (No such file or directory)
stat("/usr/local/ssl/certs/f081611a.0", 0x7ffd92edd690) = -1 ENOENT (No such file or directory)
stat("/etc/ssl/certs/f081611a.0", 0x7ffd92edd690) = -1 ENOENT (No such file or directory)
stat("/usr/local/ssl/certs", 0x7ffd92edd540) = -1 ENOENT (No such file or directory)
stat("/usr/local/ssl/certs/f081611a.0", 0x7ffd92edd690) = -1 ENOENT (No such file or directory)
stat("/etc/ssl/certs/f081611a.0", 0x7ffd92edd690) = -1 ENOENT (No such file or directory)
stat("/usr/local/ssl/certs", 0x7ffd92edd540) = -1 ENOENT (No such file or directory)
write(44, "\25\3\3\0\2\0020", 7) = 7
close(44) = 0
Describe the bug
Some Steam games (Drawful 2, Jackbox Party Pack 2, Crusader Kings 3) are statically linked with a version of OpenSSL that requires individual CA certificates to be exposed unbundled (as a dedicated file) at a hashed path (e.g.,
/etc/ssl/certs/f081611a.0
).Most other distributions provide the unbundled certs in
/etc/ssl/certs
out of the box, so the issue doesn't show up.Steps To Reproduce
Steps to reproduce the behavior:
Expected behavior
Games like Drawful2 and Crusader Kings should work out of the box on Steam without having to manually copy certificates to their hashed path.
Additional context
Examples of workarounds for this issue:
Strace of Drawful 2 during the TLS handshake:
Notify maintainers
@jagajaga @jonri for the Steam package, although I'm not sure if that's the place it should be fixed.
Metadata
"x86_64-linux"
Linux 6.2.12, NixOS, 23.05 (Stoat), 23.05pre-git
yes
yes
nix-env (Nix) 2.13.3
""
"nixos-22.11"
/nix/var/nix/profiles/per-user/root/channels/nixos