Skip to content

Conversation

@kruton
Copy link
Member

@kruton kruton commented Jan 24, 2026

Conscrypt checks that the KeySpec passed in is extending EncodedKeySpec, but XECPrivateKeySpec extends KeySpec directly. To work around that, we can create a PKCS8EncodedKeySpec to allow the X25519 key to be decoded.

Conscrypt checks that the KeySpec passed in is extending EncodedKeySpec, but
XECPrivateKeySpec extends KeySpec directly. To work around that, we can
create a PKCS8EncodedKeySpec to allow the X25519 key to be decoded.
@kruton kruton merged commit 1932e0f into connectbot:main Jan 24, 2026
4 checks passed
@kruton kruton deleted the conscrypt-fix branch January 24, 2026 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant