All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jurr.jsch.bugfix111.JSCH111BugFix Maven / Gradle / Ivy

Go to download

This artifact fixes JSCH bug 111 by providing an alternative implementation of SignatureDSA.java

The newest version!
package org.jurr.jsch.bugfix111;

import com.jcraft.jsch.JSch;

/**
 * This is an alternative implementation of SignatureDSA and SignatureRSA from JSCH with improvements.
 *
 * It contains:
 * 
    *
  • an improved check for detecting the identification string exchange message
  • *
  • a fix for converting from mpint to ASN.1 (fixing bug 111)
  • *
* * @author Jurrie Overgoor <[email protected]> */ public final class JSCH111BugFix { private JSCH111BugFix() { } public static void init() { JSch.setConfig("signature.dss", SignatureDSA.class.getCanonicalName()); JSch.setConfig("signature.rsa", SignatureRSA.class.getCanonicalName()); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy