Skip to content

Replace RSAEncrypt with SSHKeyPair supporting Ed25519/ECDSA/RSA#1414

Merged
LadyCailin merged 1 commit intomasterfrom
modernKeyCrypto
Apr 7, 2026
Merged

Replace RSAEncrypt with SSHKeyPair supporting Ed25519/ECDSA/RSA#1414
LadyCailin merged 1 commit intomasterfrom
modernKeyCrypto

Conversation

@LadyCailin
Copy link
Copy Markdown
Member

  • Replace RSAEncrypt with SSHKeyPair, which uses java.security.Signature (sign/verify) instead of Cipher (encrypt/decrypt), enabling support for Ed25519 and ECDSA in addition to RSA
  • Update DebugAuthenticator to use SSHKeyPair.verify()
  • Update key-gen tool with -t flag for key type selection (default: Ed25519), dynamically listing supported types from the KeyType enum
  • Replace RSAEncryptTest with parameterized SSHKeyPairTest covering all three key types
  • Only advertise declaration, definition, and hover LSP capabilities when StaticAnalysis is globally enabled, fixing spurious "error analyzing included file" diagnostics for users with SA off
  • Remove setLocalEnable(true) calls from LangServModel that were forcing SA on regardless of user config

 - Replace RSAEncrypt with SSHKeyPair, which uses java.security.Signature
   (sign/verify) instead of Cipher (encrypt/decrypt), enabling support
   for Ed25519 and ECDSA in addition to RSA
 - Update DebugAuthenticator to use SSHKeyPair.verify()
 - Update key-gen tool with -t flag for key type selection (default: Ed25519),
   dynamically listing supported types from the KeyType enum
 - Replace RSAEncryptTest with parameterized SSHKeyPairTest covering all
   three key types
 - Only advertise declaration, definition, and hover LSP capabilities
   when StaticAnalysis is globally enabled, fixing spurious "error
   analyzing included file" diagnostics for users with SA off
 - Remove setLocalEnable(true) calls from LangServModel that were
   forcing SA on regardless of user config
@LadyCailin LadyCailin merged commit eda1f13 into master Apr 7, 2026
2 of 4 checks passed
@LadyCailin LadyCailin deleted the modernKeyCrypto branch April 7, 2026 13:29
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