Commit e08486b1 authored by Dr. Michael Petter's avatar Dr. Michael Petter

More recent jsch included; keysize now an experimental parameter

parent 6fa79877
Pipeline #1851 failed with stage
in 9 seconds
......@@ -5,7 +5,6 @@
<classpathentry kind="con" path="bin"/>
<classpathentry kind="con" path="lib"/>
<classpathentry kind="lib" path="lib/itext-1.4.8.jar"/>
<classpathentry kind="lib" path="lib/jsch-0.1.32-patched.jar"/>
<classpathentry kind="lib" path="lib/jmf-2.1.1e.jar"/>
<classpathentry kind="lib" path="lib/mp3plugin.jar"/>
<classpathentry kind="lib" path="lib/v4l4j.jar">
......@@ -15,5 +14,6 @@
</classpathentry>
<classpathentry kind="lib" path="lib/lti-civil.jar"/>
<classpathentry kind="lib" path="lib/base64coder.jar"/>
<classpathentry kind="lib" path="lib/jsch-0.1.55.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
......@@ -67,7 +67,7 @@
<jar jarfile="${dist}/ttt.jar" basedir="${classes}">
<manifest>
<attribute name="Main-Class" value="ttt/TTT" />
<attribute name="Class-Path" value="itext-1.4.8.jar jsch-0.1.49.jar swing-layout-1.0.2.jar jmf-2.1.1e.jar mp3plugin.jar lti-civil.jar v4l4j.jar base64coder.jar highresicons.jar" />
<attribute name="Class-Path" value="itext-1.4.8.jar jsch-0.1.55.jar swing-layout-1.0.2.jar jmf-2.1.1e.jar mp3plugin.jar lti-civil.jar v4l4j.jar base64coder.jar highresicons.jar" />
</manifest>
</jar>
<jar jarfile="${dist}/highresicons.jar" basedir="highres">
......
......@@ -23,6 +23,7 @@ public class Experimental {
static Preferences experimentalRoot = TTT.userPrefs.node("experimental");
public static enum Code {
SSHKEYSIZE("keysize","2048"),
MICTHRESHOLD("micthreshold","0.00000001"),
THUMBNAILATSTART("thumbnail at start","true");
......
......@@ -105,7 +105,7 @@ import ttt.record.LectureProfileDialog;
import ttt.record.Recording;
public class TTT extends JFrame {
static final String version = "16.05.2019";
static final String version = "21.05.2019";
public static void debug(Object out) {
if (debug) System.out.println(out);
}
......
// TeleTeachingTool - Presentation Recording With Automated Indexing
//
// Copyright (C) 2003-2008 Peter Ziewer - Technische Universitt Mnchen
// Copyright (C) 2003-2008 Peter Ziewer - Technische Universit�t M�nchen
//
// This file is part of TeleTeachingTool.
//
......@@ -73,9 +73,8 @@ public class KeyGen {
}
try {
KeyPair kpair = KeyPair.genKeyPair(jsch, type);
kpair.setPassphrase(passphrase);
kpair.writePrivateKey(filename);
KeyPair kpair = KeyPair.genKeyPair(jsch, type,Integer.parseInt(ttt.Experimental.Code.SSHKEYSIZE.get()));
kpair.writePrivateKey(filename,passphrase.getBytes());
kpair.writePublicKey(filename + ".pub", comment);
System.out.println("Finger print: " + kpair.getFingerPrint());
kpair.dispose();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment