Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1561 commits
Select commit Hold shift + click to select a range
d0127eb
Land #1227 - add missing env vars for cross compilation
botovq Jan 26, 2026
3531763
Enable SHA assembly for elf-aarch64
4a6f656c Jan 19, 2026
2ca77d5
Land #1225 - SHA asm for elf-aarch64
botovq Jan 26, 2026
362f7bd
Land #1211: cmake: disable ARM64 ASM on Windows
busterb Feb 7, 2026
d849e4b
Land #1206, don't modify CMAKE_INSTALL_*DIR variables if specified as…
busterb Feb 7, 2026
6786cbb
Revert "cmake: disable ARM64 ASM on Windows"
botovq Feb 8, 2026
2fa8b0d
Land #1231 - re-enable asm on Windows/aarch64 (reverts #1211)
botovq Feb 8, 2026
43a1f7c
Fix remote branch fetching and revision lookup in update.sh
nak3 Feb 20, 2026
10fd3d1
Add definition of ssize_t to cms.h for Windows
nak3 Feb 20, 2026
0ebd329
ci: run tests on macos-26
joshuasing Mar 1, 2026
47c332a
Land #1235 - fix remote branch fetching
botovq Mar 4, 2026
17d6299
Land #1236 - fix cms.h on Windows
botovq Mar 4, 2026
b9277f6
Land #1237 - CI on macos-26
botovq Mar 4, 2026
e5dcc30
Avoid integer overflow in posix_open on Windows
nak3 Mar 8, 2026
9f8d147
Verify -1 instead of negative value
nak3 Mar 8, 2026
2d614a6
Land #1240 - preserve -1 return from open()
botovq Mar 8, 2026
b15807a
regen patches
botovq Mar 13, 2026
f08fd7c
remove ecdsa_local.h
botovq Mar 18, 2026
bbc25e0
Update patches/speed.c.patch
nak3 Mar 18, 2026
979d238
Land #1242 - update speed patch for ML-KEM
botovq Mar 18, 2026
2da5e22
ChangeLog through Dec 31
botovq Mar 29, 2026
8eda195
Add crypto_assembly.h
botovq Mar 29, 2026
3871374
ssl_packet.c is no more
botovq Apr 3, 2026
eb60ae8
Update ChangeLog
botovq Apr 7, 2026
2637bfa
speed: fix SIGALRM handler not registered on Windows
nak3 Apr 12, 2026
e58274f
Land #1243 - fix SIGALRM on Windows
botovq Apr 12, 2026
ce45ee3
ChangeLog through Apr 7
botovq Apr 12, 2026
230d258
ci: improve cifuzz workflow
joshuasing Apr 12, 2026
ff82994
ci: add renovate-bot config
joshuasing Apr 12, 2026
d7e17c6
minor ChangeLog tweaks
botovq Apr 13, 2026
1206a57
Land #1246 - improve CI-fuzz workflow
botovq Apr 13, 2026
ca85c32
Land #1247 - add renovate-bot-config
botovq Apr 13, 2026
0e49605
Update ChangeLog
botovq Apr 16, 2026
28f6810
ChangeLog: add SAN dNSName fix
botovq Apr 16, 2026
7dadf8b
Add missing <limits.h> to tls_keypair.c
botovq Apr 19, 2026
631631f
LibreSSL 3.4.1
busterb Apr 19, 2026
dc0f77a
Land #1251: Add missing <limits.h> to tls_keypair.c
busterb Apr 19, 2026
87b017d
update for release
busterb Apr 19, 2026
47003a3
Allow building on AIX
botovq Apr 19, 2026
4c2a9c2
remove upstreamed tls_keypair patch
botovq Apr 20, 2026
ee50a4f
Remove upstreamed <openssl/mlkem.h> patch
botovq Apr 20, 2026
70f2b01
ci: update actions/checkout action to v6.0.2
renovate[bot] Apr 20, 2026
ea05599
ci: update github/codeql-action action to v4.35.2
renovate[bot] Apr 20, 2026
d9922f3
ci: update msys2/setup-msys2 action to v2.31.0
renovate[bot] Apr 20, 2026
5640b76
ci: update vmactions/freebsd-vm action to v1.4.5
renovate[bot] Apr 20, 2026
da835f6
ci: update vmactions/solaris-vm action to v1.3.3
renovate[bot] Apr 20, 2026
d548171
ci: update actions/upload-artifact action to v7
renovate[bot] Apr 20, 2026
bffa7fe
ci: update mymindstorm/setup-emsdk action to v16
renovate[bot] Apr 20, 2026
cae3cd8
Land #1256 #1257 #1258 #1259 #1260 #1261 #1262 - update all the things
botovq Apr 20, 2026
b5d127e
ci: update softprops/action-gh-release action to v3
renovate[bot] Apr 23, 2026
973bc61
ci: pin fedora Docker tag to af8cdc4
renovate[bot] Apr 25, 2026
e2f238a
ci: update msys2/setup-msys2 action to v2.31.1
renovate[bot] Apr 25, 2026
3684ee0
Land #1263, #1264, #1265 - update dependencies
botovq Apr 25, 2026
00af7ae
Start ChangeLog for 4.4
botovq Apr 26, 2026
7fc4c0c
Link DTLS wire test to build
botovq Apr 26, 2026
b56b582
Land #1267 - wire up dtls wire test
botovq Apr 26, 2026
75e6270
Do not override user CFLAGS/LDFLAGS in hardening flag detection
nak3 Apr 30, 2026
d916aef
ci: update fedora:rawhide Docker digest to 8b838b3
renovate[bot] May 2, 2026
1feb930
Land #1270 - update fedora/rawhide
botovq May 3, 2026
e0048ec
Update ChangeLog
botovq May 3, 2026
374b05d
clean up speed alarm from timer stop on Windows
nak3 May 4, 2026
85f4c66
ci: rework release workflow for immutable releases
joshuasing May 4, 2026
9a9aa76
update patch
nak3 May 5, 2026
a24d0f2
tiny update
nak3 May 5, 2026
ce37a10
Land #1269 - avoid CFLAGS/LDFLAGS override
botovq May 5, 2026
e1f7784
Land #1271 - fix speed alarm on windows
botovq May 5, 2026
9fc190a
ci: update github/codeql-action action to v4.35.3
renovate[bot] May 9, 2026
1eeef86
Land #1272 - prepare for immutable releases
botovq May 9, 2026
a8d60ba
Land #1275 - codeql-action v4.35.3
botovq May 9, 2026
55da4b8
ci: update github/codeql-action action to v4.35.4
renovate[bot] May 10, 2026
426d9e1
Land #1276 - update CodeQL action to v4.35.4
botovq May 10, 2026
f4362d1
CI: prepare move of COVERITY_SCAN_TOKEN to environment
botovq May 12, 2026
50d38af
Land #1277 - Move Coverity secret to environment
botovq May 12, 2026
1182397
ci: update github/codeql-action action to v4.35.5
renovate[bot] May 23, 2026
5a952ff
Land #1281 - Update to codeql-action v4.35.5
botovq May 23, 2026
786c78d
Link dtls12_handshake_msg.c to the bulid
botovq May 23, 2026
aa784ae
allow releases to be retriggered on failure
busterb May 26, 2026
1db9225
ci: update vmactions/solaris-vm action to v1.3.4
renovate[bot] May 27, 2026
bad9860
Land #1282 - update solaris-vm to v1.3.4
botovq May 27, 2026
3f01a1e
ci: update fedora:rawhide Docker digest to 0c1f63e
renovate[bot] May 30, 2026
36e720b
ci: update vmactions/solaris-vm action to v1.3.6
renovate[bot] May 30, 2026
3dca795
Land #1287, #1288: update fedora/rawhide, solaris-vm
botovq May 30, 2026
fa9dd02
ci: update github/codeql-action action to v4.36.0
renovate[bot] May 30, 2026
258a890
Land #1289 - codeql-action 4.36.0
botovq May 30, 2026
9c7b4a9
ci: update actions/checkout action to v6.0.3
renovate[bot] Jun 6, 2026
3b4f268
ci: update github/codeql-action action to v4.36.1
renovate[bot] Jun 6, 2026
4a08685
ci: update vmactions/freebsd-vm action to v1.4.6
renovate[bot] Jun 6, 2026
cbe1896
Land #1291, #1292, #1293 - update checkout, codeql, freebsd-vm
botovq Jun 6, 2026
3792770
ci: update github/codeql-action action to v4.36.2
renovate[bot] Jun 7, 2026
bbf42cd
ci: update vmactions/solaris-vm action to v1.3.7
renovate[bot] Jun 7, 2026
dff6402
Land #1296, #1297 - update codeql, solaris-vm
botovq Jun 9, 2026
ff8452b
ci: detect Visual Studio CMake generator on Windows
nak3 Jun 14, 2026
e2caafd
ci: fix Coverity build tool download URL
nak3 Jun 14, 2026
e8c2190
Land #1301 - detect VS CMake Generator
botovq Jun 15, 2026
00b7d56
Land #1302 - fix Coverity download path
botovq Jun 15, 2026
afbf81a
fix: V-002 security vulnerability
orbisai0security Jun 15, 2026
c85e07d
Allow overriding TLS_DEFAULT_CA_FILE in CMake builds
nak3 Jun 14, 2026
2a92754
Update explanation for TLS_DEFAULT_CA_FILE
nak3 Jun 15, 2026
6e2cb69
Land #1303 - allow CMake TLS_DEFAULT_CA_FILE override
botovq Jun 15, 2026
14715d7
Link ssl_kex test to build
botovq Jun 15, 2026
429bced
fix: address code review feedback on SIZE_MAX and errno
orbisai0security Jun 15, 2026
a806b33
Land #1305 - link ssl_kex test to build
botovq Jun 15, 2026
d6c6b06
Revert "ci: fix Coverity build tool download URL"
botovq Jun 15, 2026
b103460
Add tests/ssl_kex* to .gitignore
botovq Jun 15, 2026
f26e53b
Land #1304 - add overflow check to MSVC dirent compat
botovq Jun 15, 2026
19bb52a
ci: update msys2/setup-msys2 action to v2.32.0
renovate[bot] Jun 20, 2026
8e4e8d6
ci: update actions/checkout action to v7
renovate[bot] Jun 21, 2026
7a95b1e
Land #1306, #1307 - bump checkout & setup-msys actions
botovq Jun 21, 2026
14ccaf8
link x509_crl test to the build
botovq Jun 24, 2026
dfd60ca
Land #1308 - link x509_crl test to build
botovq Jun 24, 2026
9c38561
fix out-of-bounds write in getdelim on undersized buffer
sage-mode-hunter Jun 25, 2026
8c8af25
getdelim: drop comment, give nbuf/nbufsiz function scope
sage-mode-hunter Jun 26, 2026
4af7f67
Land #1309 - fix getdelim corner case
botovq Jun 26, 2026
d85fe21
ci: update vmactions/freebsd-vm action to v1.4.8
renovate[bot] Jun 27, 2026
f8fde1c
Land #1311 - Update FreeBSD VM
botovq Jun 27, 2026
58e99a5
ci: update vmactions/freebsd-vm action to v1.5.0
renovate[bot] Jul 4, 2026
8f36218
Land #1312 - update vmactions/freebsd-vm action to v1.5.0
botovq Jul 5, 2026
37fbc74
ci: update github/codeql-action action to v4.36.3
renovate[bot] Jul 5, 2026
6b74040
Land #1313 - update github/codeql-action action to v4.36.3
botovq Jul 5, 2026
35a02a1
guard getdelim buffer growth against size_t overflow
sage-mode-hunter Jul 7, 2026
b98f3b4
Land #1314 - guard getdelim against size_t overflow
botovq Jul 7, 2026
af20f7b
handle GetModuleFileName failure in getprogname
sage-mode-hunter Jul 8, 2026
a5178f3
Land #1315 - handle GetModuleFileName failure
botovq Jul 9, 2026
9c15b8f
guard _wopendir against unchecked GetFullPathNameW result
sage-mode-hunter Jul 9, 2026
62858a6
Land #1316 - properly check GetFullPathNameW
botovq Jul 10, 2026
b46676e
hook up x509/verify regress test
nak3 Jul 10, 2026
649bf5d
nul-terminate snprintf shim on pre-2015 msvc
sage-mode-hunter Jul 11, 2026
b342131
Land #1317 - hook up x509_verify regress
botovq Jul 11, 2026
5d8cd43
Land #1318 - NUL terminate on truncation for broken _snprintf
botovq Jul 11, 2026
667b886
ci: update github/codeql-action action to v4.37.0
renovate[bot] Jul 11, 2026
341b07f
fix htole64 fallback byte order in AIX endian shim
sage-mode-hunter Jul 12, 2026
991c2d7
honor the requested timeout in the win32 poll shim
sage-mode-hunter Jul 14, 2026
5613638
Land #1319 - update github/codeql-action action to v4.37.0
botovq Jul 14, 2026
8c68203
Land #1320 - fix htole64 fallback on AIX
botovq Jul 14, 2026
b901cbc
poll_win: restore fd_sets before each select() retry
sage-mode-hunter Jul 15, 2026
43f336d
restore file offset on error in pread/pwrite shims
sage-mode-hunter Jul 15, 2026
9082d30
poll_win: cap the final wait pass at the remaining time
sage-mode-hunter Jul 16, 2026
5c7dd43
honor SOCK_NONBLOCK in the accept4 shim
sage-mode-hunter Jul 16, 2026
ef2f80e
Land #1321 - honor poll timeout for win32
botovq Jul 17, 2026
f3df640
Land #1322 - restore file offst on p{read,write} error
botovq Jul 17, 2026
3239ebf
set errno for unmapped codes in wsa_errno and wsa_select_errno
sage-mode-hunter Jul 17, 2026
bb72ae2
Run x509_verify only when perl is available
nak3 Jul 18, 2026
300778a
Install perl5 in FreeBSD CI
nak3 Jul 18, 2026
ce83402
Land #1325 - avoid hard dependency on perl
botovq Jul 18, 2026
a1c22e2
Land #1326 - add perl to FreeBSD cmake CI
botovq Jul 18, 2026
3465d07
Run dtls_handshake_msg_test
nak3 Jul 19, 2026
bc188e0
Run bn_mul_div test
nak3 Jul 19, 2026
2754138
Run libssl tlstest
nak3 Jul 19, 2026
6585914
ci: update github/codeql-action action to v4.37.1
renovate[bot] Jul 19, 2026
8d13180
use raw CRT open/close in win32 socketpair sentinel
sage-mode-hunter Jul 19, 2026
cc6ecbc
Land #1327 - add dtls_handshake_msg_test
botovq Jul 20, 2026
99da6c4
Land #1328 - add bn_mul_div test
botovq Jul 20, 2026
d7d0f6c
Land 1329 - add libssl's tlstest
botovq Jul 20, 2026
05ac57c
Land #1330 - update github/codeql-action action to v4.37.1
botovq Jul 20, 2026
7464eb4
Land #1324 - set errno for unmapped codes in wsa_{,select}_errno
botovq Jul 20, 2026
2ebaff4
Land 1331 - user crt _open/_close in win32 socketpair sentinel test
botovq Jul 20, 2026
7f0d913
Land #1323 - honor SOCK_NONBLOCK in accept4 shim
botovq Jul 20, 2026
940c69e
Skip bn_mul_div on Solaris
nak3 Jul 21, 2026
3660f42
SOLARIS CMake variable for other SunOS-specific checks
nak3 Jul 21, 2026
79db3f0
Land #1332 - fix a few things on solaris
botovq Jul 21, 2026
0701024
disable bn_mul_div test
nak3 Jul 21, 2026
b0c9009
Land #1333 - disable bn_mul_div again
botovq Jul 21, 2026
e0bc804
ci: update actions/checkout action to v7.0.1
renovate[bot] Jul 25, 2026
ada4f0c
ci: update github/codeql-action action to v4.37.3
renovate[bot] Jul 25, 2026
aa0670a
ci: update vmactions/freebsd-vm action to v1.5.2
renovate[bot] Jul 25, 2026
8ed7575
ci: update vmactions/solaris-vm action to v1.3.8
renovate[bot] Jul 25, 2026
3d686a7
Land #1335 #1336 #1337 #1338 - update actions/checkout github/codeql-…
botovq Jul 25, 2026
2cb6e4f
error out when nc minttl is unsupported in set_common_sockopts
sage-mode-hunter Jul 26, 2026
77bf7f2
use errx instead of setting errno for unsupported minttl
sage-mode-hunter Jul 29, 2026
d4e3585
Land #1339 - fix unsupported setsockopt handling for minttl
botovq Jul 29, 2026
2f042c8
set close-on-exec on the tty descriptor in readpassphrase
sage-mode-hunter Jul 29, 2026
df1ed6b
add libssl verify test
nak3 Jul 19, 2026
686304f
ci: install the IO::Socket::SSL test dependency
nak3 Jul 29, 2026
0ffff5c
Run libssl verify test on windows
nak3 Jul 29, 2026
a97b067
Run libssl verify test on Emscripten
nak3 Jul 29, 2026
23a8457
Add ALLOW_MEMORY_GROWTH on emscription
nak3 Jul 30, 2026
a63377f
Update tests/CMakeLists.txt
nak3 Jul 30, 2026
7a164a4
Land #1340 - set cloexec on tty in readpassphrase compat
botovq Jul 30, 2026
0ab79b7
Land #1341 - wire up libssl verify test
botovq Jul 30, 2026
6c466fc
verify the accepted peer in the win32 socketpair emulation
sage-mode-hunter Jul 30, 2026
5159557
hook up the x509 callback tests
nak3 Jul 31, 2026
a10cbda
pass the bundled CA file to callbackfailures
nak3 Jul 31, 2026
3c46654
Land #1343 - hook up x509 callback tests
botovq Jul 31, 2026
4445467
don't override pledge and unveil when the host provides them
sage-mode-hunter Jul 31, 2026
16311de
Land #1345 - add guards for pledge and unveil
botovq Jul 31, 2026
07c4326
cmake: use full sysconf path for OPENSSLDIR
nak3 Jul 31, 2026
2959e39
ci: update github/codeql-action action to v4.37.4
renovate[bot] Aug 2, 2026
260c9f8
Land #1347 - use full sysconf path for OPENSSLDIR
botovq Aug 2, 2026
48d62cd
Land #1342 - verify accepted peer in win32 socketpair emulation
botovq Aug 2, 2026
8430c1d
Land #1348 - update github/codeql-action action to v4.37.4
botovq Aug 2, 2026
314bbea
cmake: use the builtin arc4random on weakly seeded platforms
sage-mode-hunter Aug 3, 2026
e6f1677
ci: update github/codeql-action action to v4.37.6
renovate[bot] Aug 8, 2026
9a60f6e
Build Emscripten targets in parallel
nak3 Aug 8, 2026
71aba26
Install CI dependencies in workflows
nak3 Aug 8, 2026
2489ccf
fix double free of lock in pthread_mutex_destroy
sage-mode-hunter Aug 8, 2026
27882f1
cmake: enable SHA assembly on ELF AArch64
nak3 Aug 8, 2026
201688e
ci: run Windows ARM64 tests on native runners
nak3 Aug 8, 2026
b6be4f0
ci: update vmactions/freebsd-vm action to v1.5.3
renovate[bot] Aug 9, 2026
11918d2
Land #1349 - use builtin arc4random on weekly seeded cmake platforms
botovq Aug 10, 2026
d1b412a
Land #1353 - fix pthread_mutex_destroy() for statically initialized n…
botovq Aug 10, 2026
3c71be4
Land #1351 - build emscripten targets in parallel
botovq Aug 10, 2026
e06b2b8
Land #1352 - install CI dependencies in workflows
botovq Aug 10, 2026
084dc32
Land #1354 - enable SHA assembly on ELF Aarch64
botovq Aug 10, 2026
3999803
Land #1355 - run Windows ARM64 tests on native runners
botovq Aug 10, 2026
b43d6e4
Land #1350, #1356 - update codeql, freebsd-vm actions
botovq Aug 10, 2026
2aaf4db
Update man links
botovq Aug 10, 2026
05b343e
merge the ftruncate shim into posix_win.c
sage-mode-hunter Aug 10, 2026
ebdedf6
set cloexec on the socket handle in win32 socketpair setfd
sage-mode-hunter Aug 11, 2026
5c9fab0
ci: use Visual Studio 2026 for Windows ARM64
nak3 Aug 11, 2026
2677aab
update.sh: do not ignore git failures
nak3 Aug 11, 2026
964d952
Land #1360 - reduce scope of set +e in update.sh
botovq Aug 12, 2026
3e403cf
crypto: limit MSVC ARM64 workaround to older compilers
nak3 Aug 12, 2026
c88ca1f
cmake: detect the MSVC ARM64 optimizer bug
nak3 Aug 13, 2026
e0c8f34
Revert windows-11-vs2026-arm in workflow
nak3 Aug 13, 2026
9a3899d
ci: use Visual Studio 2026 for Windows ARM64
nak3 Aug 13, 2026
19455c1
Land #1357 - merge ftruncate shim into posix_win.c and fix it
botovq Aug 13, 2026
cf07b88
Land #1358 - fix setting cloexec in socketpair shim
botovq Aug 13, 2026
8f7caba
Land #1359 - detect and work around MSVC ARM64 optimizer bug
botovq Aug 13, 2026
239c001
Land #1360 - Use VS 2026 for Windows ARM64
botovq Aug 13, 2026
5869837
ci: test RISC-V with QEMU
nak3 Aug 13, 2026
9d9f450
Enable RISC-V BN assembly with autotools
nak3 Aug 13, 2026
5630bae
ci: run CTest in parallel
nak3 Aug 13, 2026
efe89d6
Land #1362 - enable RISC-V BN asm
botovq Aug 14, 2026
0e1a7af
Land #1363 - run ctest in parallel
botovq Aug 14, 2026
e07df6d
zizmor: set persist-credentials
botovq Aug 14, 2026
f30521f
Land #1364 - set persist-credentials: false
botovq Aug 14, 2026
54c75b5
ci: update github/codeql-action action to v4.37.7
renovate[bot] Aug 16, 2026
18d6ee9
Land #1365 - ci: update github/codeql-action action to v4.37.7
botovq Aug 16, 2026
039aab1
cmake: apply the same exploit-mitigation flags as the autotools build
sage-mode-hunter Aug 16, 2026
87c1738
provide a vsyslog fallback in syslog_r instead of the header
sage-mode-hunter Aug 19, 2026
512e87d
Enable MIPS assembly in CI
nak3 Aug 22, 2026
c857e54
Allow explicitly enabling MIPS assembly
nak3 Aug 22, 2026
6ec7b45
Build only for mips64
nak3 Aug 22, 2026
66b2316
cmake: skip relro/now and ssp hardening flags on Emscripten
sage-mode-hunter Aug 24, 2026
5170cfc
ci: update github/codeql-action action to v4.37.8
renovate[bot] Aug 29, 2026
205aff6
ci: update vmactions/freebsd-vm action to v1.5.4
renovate[bot] Aug 29, 2026
529bf42
Land #1372 - codeql-action 4.37.8
botovq Aug 29, 2026
b4f65f7
Land #1373 - freebsd vm 1.5.4
botovq Aug 29, 2026
d8945e5
ci: update vmactions/freebsd-vm action to v1.5.5
renovate[bot] Aug 29, 2026
c1acd93
ci: update vmactions/solaris-vm action to v1.3.9
renovate[bot] Aug 29, 2026
89d3233
Land #1366 - align hardening flags in cmake with autotools build
botovq Aug 29, 2026
f484ff5
Land #1367 - fix vsyslog fallback for AIX
botovq Aug 29, 2026
734804d
Enable MIPS64 asm in CI
botovq Aug 29, 2026
3698f36
Land #1375 - freebsd vm 1.5.5
botovq Aug 29, 2026
0ac0850
Land #1376 - solaris vm 1.3.9
botovq Aug 29, 2026
a764ec9
Enable supported MIPS32 assembly in CI
nak3 Aug 22, 2026
08415b6
Land #1370 - enable supported MIPS32 asm in CI
botovq Aug 29, 2026
144f96d
Update man links
botovq Aug 31, 2026
5118f30
ci: update github/codeql-action action to v4.37.9
renovate[bot] Aug 31, 2026
d63a1f1
Land #1376 - codeql-action 4.37.9
botovq Aug 31, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
extends: [
'config:best-practices',
':configMigration',
':pinVersions',
':rebaseStalePrs',
'schedule:weekends',
'customManagers:githubActionsVersions',
'helpers:pinGitHubActionDigests',
],
commitMessagePrefix: 'ci:',
commitMessageAction: 'update',
commitMessageTopic: '{{depName}}',
labels: [
'dependencies',
],
minimumReleaseAge: '3 days',
packageRules: [
{
matchUpdateTypes: ['pin', 'pinDigest'],
commitMessageAction: 'pin',
},
],
osvVulnerabilityAlerts: true,
vulnerabilityAlerts: {
enabled: true,
addLabels: [
'security',
],
},
}
74 changes: 74 additions & 0 deletions .github/scripts/changelog.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
#!/bin/sh
# Copyright (c) 2023 Joshua Sing <joshua@hypera.dev>
#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

#
# Usage: changelog.sh <version>
# Reads the changelog for the specified version from the changelog file.
# The output will be reformatted for use in GitHub releases.
#
# The changelog file defaults to "ChangeLog", but can be changed by setting
# the environment variable $CHANGELOG_FILE
#

set -e

# Check if the version argument is provided
if [ "$#" -ne 1 ]; then
echo "Usage: $0 <version>" 1>&2
exit 1
fi

version="${1#v}"
changelog_file="${CHANGELOG_FILE:-ChangeLog}"
found_version=false
changelog=""

# Check if the specified changelog file exists
if [ ! -f "$changelog_file" ]; then
echo "Error: Changelog file '$changelog_file' not found" 1>&2
exit 1
fi

# Read the changelog file line by line
while IFS= read -r line; do
# Check for the version line
if echo "$line" | grep -Eq "^${version} - "; then
found_version=true
continue
fi

# Continue reading the changelog until the next version or end of file,
# skipping empty lines
if $found_version; then
echo "$line" | grep -Eq "^\s*$" && continue
echo "$line" | grep -Eq "^[0-9]+\.[0-9]+\.[0-9]+ - " && break
changelog="${changelog}${line}\n"
fi
done < "$changelog_file"

# If the specified version was not found, print an error
if ! $found_version; then
echo "Error: Version $version was not found in changelog" 1>&2
exit 1
fi

# Tidy up the changelog for displaying on GitHub
changelog=$(echo "$changelog" | sed -e 's/^\t\*/###/' -e 's/^\t//')

# Print the changelog for the specified version
echo "$changelog"
echo
echo "Full changelog: https://github.com/libressl/portable/blob/master/ChangeLog"
exit 0
42 changes: 42 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# GitHub Actions workflow to run tests on Android.
name: "Android"

on: [push, pull_request]

concurrency:
group: "${{ github.workflow }}-${{ github.event.number || github.ref }}"
cancel-in-progress: true

jobs:
test:
name: "Test ${{ matrix.name }}"
runs-on: ubuntu-24.04
permissions:
contents: read
strategy:
fail-fast: false
matrix:
include:
- name: "Android 8-9"
min-nal: 26
max-nal: 28
- name: "Android 10-11"
min-nal: 29
max-nal: 30
steps:
- name: "Checkout repository"
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false

- name: "Install build dependencies"
run: |
sudo apt-get update
sudo apt-get install -y cmake ninja-build

- name: "Run CI script"
run: ./scripts/test
env:
ARCH: "android"
MIN_NAL: "${{ matrix.min-nal }}"
MAX_NAL: "${{ matrix.max-nal }}"
30 changes: 0 additions & 30 deletions .github/workflows/android_test.yml

This file was deleted.

46 changes: 46 additions & 0 deletions .github/workflows/cifuzz.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: "CIFuzz"

on:
workflow_dispatch:

concurrency:
group: "${{ github.workflow }}-${{ github.event.number || github.ref }}"
cancel-in-progress: true

jobs:
fuzz:
name: "Fuzz"
runs-on: "ubuntu-24.04"
permissions:
security-events: write
steps:
- name: "Build Fuzzers"
id: build
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@1b73904cfccf3addafb6d599b8e0f32e710790cc
with:
oss-fuzz-project-name: 'libressl'
dry-run: false
language: c++

- name: "Run Fuzzers"
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@1b73904cfccf3addafb6d599b8e0f32e710790cc
with:
oss-fuzz-project-name: 'libressl'
fuzz-seconds: 300
dry-run: false
language: c++
output-sarif: true

- name: "Upload Crash"
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
if: failure() && steps.build.outcome == 'success'
with:
name: "artifacts"
path: "./out/artifacts"

- name: "Upload SARIF"
uses: github/codeql-action/upload-sarif@cdf488f595d80d6e07e03d4674febd5ab45fa938 # v4.37.9
if: always() && steps.build.outcome == 'success'
with:
sarif_file: "cifuzz-sarif/results.sarif"
category: "cifuzz-sarif"
100 changes: 100 additions & 0 deletions .github/workflows/cmake-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
# GitHub Actions workflow to check CMake config.
name: "CMake Check"

on:
push: {}
pull_request: {}

concurrency:
group: "${{ github.workflow }}-${{ github.event.number || github.ref }}"
cancel-in-progress: true

jobs:
check:
name: "${{ matrix.os }}"
runs-on: "${{ matrix.os }}"
strategy:
fail-fast: true
matrix:
os: [ "windows-2022", "macos-14", "ubuntu-24.04" ]
defaults:
run:
shell: "bash"
permissions:
contents: read
steps:
- name: "Checkout repository"
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false

- name: "Setup Windows dependencies"
if: runner.os == 'Windows'
uses: msys2/setup-msys2@66cd2cce69caa17b53920067426061ca1de3a884 # v2.32.0
with:
update: true
install: >-
autoconf
automake
diffutils
libtool
gcc
git
patch
perl

- name: "Setup macOS dependencies"
if: runner.os == 'macOS'
run: brew install automake libtool

- name: "Prepare source tree for build (Windows)"
if: runner.os == 'Windows'
shell: "msys2 {0}"
run: ./autogen.sh

- name: "Prepare source tree for build (Unix)"
if: runner.os != 'Windows'
run: ./autogen.sh

- name: "Configure"
run: |
cmake -S . \
-B build \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_INSTALL_PREFIX=$GITHUB_WORKSPACE/../local

- name: "Build"
run: cmake --build build --config Release --verbose

- name: "Install"
run: cmake --install build --config Release

- name: "Consume from the build directory - Configure"
run: |
cmake -S tests/cmake \
-B consumer-build \
-D CMAKE_BUILD_TYPE=Release \
-D LibreSSL_DIR=$GITHUB_WORKSPACE/build

- name: "Consume from the build directory - Build"
run: cmake --build consumer-build --config Release --verbose

- name: "Consume from the install directory (CMAKE_PREFIX_PATH) - Configure"
run: |
cmake -S tests/cmake \
-B consumer-install-prefix \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_PREFIX_PATH=$GITHUB_WORKSPACE/../local

- name: "Consume from the install directory (CMAKE_PREFIX_PATH) - Build"
run: cmake --build consumer-install-prefix --config Release --verbose

- name: "Consume from the install directory (LibreSSL_DIR) - Configure"
run: |
cmake -S tests/cmake \
-B consumer-install-dir \
-D CMAKE_BUILD_TYPE=Release \
-D LibreSSL_DIR=$GITHUB_WORKSPACE/../local/lib/cmake/LibreSSL

- name: "Consume from the install directory (LibreSSL_DIR) - Build"
run: cmake --build consumer-install-dir --config Release --verbose
Loading