You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
load unencrypted RSA PKCS#1/PKCS#8 identities and PEM certificate chains for Apple TLS servers and mTLS clients
explicitly verify peer chains, hostnames, system roots, and exclusive custom CA file/directory roots
preserve libhv fd/event-loop ownership while fixing nonblocking handshake direction and containing Secure Transport deprecation warnings
add strict bounded PEM/DER parsing, Apple TLS regression tests, deterministic fixtures, and Chinese TLS documentation
Compatibility
public hssl API is unchanged
local Apple identities require macOS 10.12+ or iOS 11.2+
client-only Apple TLS remains availability-safe for older deployment targets
EC and encrypted private keys remain unsupported by this backend
Verification
make clean && ./configure && make libhv && make unittest
bin/appletls_pem_test
bin/appletls_test
CMake shared/static library build
strict Apple TLS compile with -Wall -Wextra -Werror
iOS 9.0 and iOS 11.2 syntax/availability checks
Clang static analyzer on ssl/appletls.c and ssl/appletls_pem.c
bits-code-guard review: no unresolved P0-P2 findings
Notes
Network.framework was evaluated but cannot adopt libhv-owned connected file descriptors, so Secure Transport remains the compatibility backend and its deprecation warning is suppressed only inside ssl/appletls.c.
Allow session resumption without optional client certificate
ssl/appletls.c:1287
This makes a client without a local identity abort whenever a server merely requests an optional client certificate. A client is allowed to resume without sending one; a server configured to require mTLS will then reject it itself. The previous implementation resumed here, and retaining that behavior preserves connections to servers using optional client authentication.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Compatibility
hsslAPI is unchangedVerification
make clean && ./configure && make libhv && make unittestbin/appletls_pem_testbin/appletls_test-Wall -Wextra -Werrorssl/appletls.candssl/appletls_pem.cNotes
Network.framework was evaluated but cannot adopt libhv-owned connected file descriptors, so Secure Transport remains the compatibility backend and its deprecation warning is suppressed only inside
ssl/appletls.c.