Automattic / Automattic/wordpress-rs

GenericSslError is never constructed by the Kotlin executor

Open
#1,584 0 comments 0 reactions 2 assignees Claimed by @jkmassel View on GitHub
Dominant language
Rust
Stars
36
Forks
5
Avg merge
17h 30m
Merged PRs (30d)
43

Description

The Swift and Kotlin executors classify a degenerate SSL failure differently.

Swift emits `genericSslError` when the leaf certificate cannot be parsed. In the Kotlin tree `GenericSslError` is never constructed — the identifier appears only as fixture text in a bindings-parser unit test. Kotlins degenerate path returns `CertificateNotValidForName` with an empty hostname list instead.

So a caller matching `GenericSslError` gets different behaviour depending on platform.

Reported from an investigation into the 0.7.0 upgrade on Android; the Kotlin-side claim came from a source sweep rather than a runtime check, so worth confirming before acting.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.