Skip to content

Remove dependency on bc spec org.bouncycastle.jce.spec and use directly java.security.spec #973

Open
@uttamgupta

Description

@uttamgupta

If we remove dependency on bouncycastle spec and start using standard java security spec then it would help to support bc-fips 2.0 library. Other libraries like Jsch and Mina SSHD don't use bouncycastle spec so I can use bc-fips2.0 but I am not able to use Sshj due to this issue.
Currently these three files used bouncycastle spec by importing ECNamedCurveSpec.

  • src/main/java/net/schmizz/sshj/common/ECDSAVariationsAdapter.java
  • src/main/java/net/schmizz/sshj/userauth/keyprovider/PuTTYKeyFile.java
  • src/main/java/com/hierynomus/sshj/userauth/keyprovider/OpenSSHKeyV1KeyFile.java

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions