Skip to content

Remove the Exportable key storage flag from the ice server templates - #4937

Open
bernardnormier wants to merge 1 commit into
icerpc:mainfrom
bernardnormier:ice-templates-key-storage-flags
Open

Remove the Exportable key storage flag from the ice server templates#4937
bernardnormier wants to merge 1 commit into
icerpc:mainfrom
bernardnormier:ice-templates-key-storage-flags

Conversation

@bernardnormier

Copy link
Copy Markdown
Member

The two ice server templates load the server certificate with X509KeyStorageFlags.Exportable. That flag is only
needed for QUIC on macOS, where .NET hands the certificate to MsQuic as a PKCS#12 blob exported from the loaded
certificate. The ice protocol runs over TCP, and TLS over TCP signs with the key in place without exporting it.

Verified on macOS with .NET 10: the test server certificate loads with the default key set, a TLS handshake over TCP
succeeds with the non-exportable key, and both templates build with warnings as errors and start.

The four icerpc server templates keep the flag, since their default transport is QUIC.

What's Changed

None — project template code only.

🤖 Generated with Claude Code

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@bernardnormier bernardnormier added this to the 0.6.1 milestone Sep 10, 2026
@bernardnormier bernardnormier added the templates The project templates label Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

templates The project templates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants