Skip to content

Separate public/private keys and signatures into protocol conformances - #158

Open
Joannis wants to merge 3 commits into
apple:mainfrom
Joannis:feature/jo/public-private-key-protocols
Open

Separate public/private keys and signatures into protocol conformances#158
Joannis wants to merge 3 commits into
apple:mainfrom
Joannis:feature/jo/public-private-key-protocols

Conversation

@Joannis

@Joannis Joannis commented Sep 11, 2023

Copy link
Copy Markdown
Contributor

As it stands, all the supported public/private key implementations are deeply integrated with NIOSSH through the internal enums that NIOSSH relies on. This PR moves that responsibility into a protocol conformance, paving the way towards custom public/private key types - and therefore moving towards supporting older/insecure standards such as RSA.

@Joannis

Joannis commented Sep 11, 2023

Copy link
Copy Markdown
Contributor Author

As it's currently intended, this PR is regarded a precursor to a PR that allows users to register their own public/private key types. I intend to follow up with that shortly.

Comment thread Sources/NIOSSH/Keys And Signatures/CryptoKit+PublicKeyProtocols.swift Outdated
@Joannis
Joannis force-pushed the feature/jo/public-private-key-protocols branch from 3adb0aa to 8bd14e5 Compare April 9, 2024 14:29
@Joannis
Joannis requested a review from Lukasa April 9, 2024 14:48
@tkrajacic

Copy link
Copy Markdown

Is there anything blocking this? I'd love to have this 😀

@m-barthelemy

Copy link
Copy Markdown

Is there anything blocking that PR?

@Lukasa

Lukasa commented Feb 26, 2025

Copy link
Copy Markdown
Contributor

Just me getting time to review it, sadly.

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.

4 participants