No description
Find a file
George Barnett 4f885975da
Add 'additionalCertificates' to TransportServices TLS config (#162)
Motivation:

The TransportServices TLS config only accepts a SecIdentity (leaf
certificate + private key) via identityProvider. There is no way to
include intermediate or root certificates in the TLS handshake.

Modifications:

- Add `additionalCertificates: [SecCertificate]` property to both server
and client TransportServices TLS config structs
- When additional certificates are provided, use
`sec_identity_create_with_certificates` instead of `sec_identity_create`
to attach the chain to the identity.

Result:

Users of the TransportServices transports can provide intermediate and
root certs alongside the leaf identity.

---------

Co-authored-by: Raphael <josephnoir@users.noreply.github.com>
2026-03-19 16:39:48 +00:00
.github update actions/checkout from v4 to v6 (#151) 2026-03-02 10:19:38 +00:00
dev Move to grpc-swift-2 (#112) 2025-06-03 10:35:36 +01:00
IntegrationTests More configurability for QPS worker (#160) 2026-03-18 16:09:36 +00:00
Sources Add 'additionalCertificates' to TransportServices TLS config (#162) 2026-03-19 16:39:48 +00:00
Tests Add 'additionalCertificates' to TransportServices TLS config (#162) 2026-03-19 16:39:48 +00:00
.editorconfig Add editorconfig (#1920) 2024-06-11 15:27:21 +00:00
.gitignore Add support for ordo-one/package-benchmark (#1678) 2023-10-19 13:34:36 +01:00
.license_header_template Migrate to common GitHub Actions (#21) 2024-11-05 10:56:06 +00:00
.licenseignore Rename the c zlib module (#58) 2025-01-17 13:52:38 +00:00
.spi.yml Group docs and fix visibility (#57) 2025-01-17 13:39:55 +00:00
.swift-format Switch to swift-format 2023-10-05 13:57:33 +01:00
.swiftformatignore Fixup soundness checks (#24) 2024-11-07 13:00:25 +00:00
.unacceptablelanguageignore Fixup soundness checks (#24) 2024-11-07 13:00:25 +00:00
CODE-OF-CONDUCT.md Update links (#1926) 2024-06-13 11:54:16 +00:00
CONTRIBUTING.md Add README, docs and .spi.yml (#9) 2024-10-03 09:24:33 +01:00
GOVERNANCE.md Update links (#1926) 2024-06-13 11:54:16 +00:00
LICENSE Revert to Apache 2.0 license verbatim [skip ci] (#504) 2019-07-05 09:24:47 +02:00
NOTICES.txt Avoid using accidental public API (#47) 2024-12-12 10:21:30 +00:00
Package.swift Add 'additionalCertificates' to TransportServices TLS config (#162) 2026-03-19 16:39:48 +00:00
README.md Move to grpc-swift-2 (#112) 2025-06-03 10:35:36 +01:00
SECURITY.md Add README, docs and .spi.yml (#9) 2024-10-03 09:24:33 +01:00

gRPC Swift NIO Transport

This repository contains high-performance HTTP/2 client and server transport implementations for gRPC Swift built on top of SwiftNIO.

  • 📚 Documentation is available on the Swift Package Index
  • 🎓 Tutorials are available in the documentation for grpc/grpc-swift on the [Swift Package Index][spi-grpc-swift].
  • 💻 Examples are available in the Examples directory of the grpc/grpc-swift repository
  • 🚀 Contributions are welcome, please see CONTRIBUTING.md
  • 🪪 License is Apache 2.0, repeated in LICENSE
  • 🔒 Security issues should be reported via the process in SECURITY.md