• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

FinalCrypt - The No¹ One-Time Pad Encryption


Commit MetaInfo

Révisionba0ec5a3b4b472b247425156383379f439b4119d (tree)
l'heure2020-07-08 01:10:27
Auteurron <ronuitzaandam@gmai...>
Commiterron

Message de Log

Date: 2020-07-07 Version: 6.3.9

Added 3 Sec HTTP Timeout to speedup HTTP(S) connect
This also improves all other HTTP Connect Responses
General, Support, Update, Download or Share Webpage

Change Summary

Modification

--- a/changelog.txt
+++ b/changelog.txt
@@ -1,3 +1,9 @@
1+Date: 2020-07-07 Version: 6.3.9
2+
3+Added 3 Sec HTTP Timeout to speedup HTTP(S) connect
4+This also improves all other HTTP Connect Responses
5+General, Support, Update, Download or Share Webpage
6+
17 Date: 2020-06-20 Version: 6.3.8
28
39 Added new backup mirror to support & check updates
--- a/manpage.txt
+++ b/manpage.txt
@@ -62,4 +62,4 @@ Parameters:
6262 <[-t "file/dir"]> Target items (files or directories) you want to encrypt (recursive).
6363 <[-b "batchfile"]> Batchfile with targetfiles you want to encrypt (only files).
6464
65-FinalCrypt 6.3.8 - Author: Ron de Jong <info@finalcrypt.org> - CC BY-NC-ND 4.0: License 2017-2020
\ No newline at end of file
65+FinalCrypt 6.3.9 - Author: Ron de Jong <info@finalcrypt.org> - CC BY-NC-ND 4.0: License 2017-2020
\ No newline at end of file
--- a/manpage_examples.txt
+++ b/manpage_examples.txt
@@ -76,4 +76,4 @@ Key Device Examples (Linux):
7676 java -cp finalcrypt.jar rdj/CLUI --encrypt -k /dev/sdc1 -t myfile
7777 java -cp finalcrypt.jar rdj/CLUI --decrypt -k /dev/sdc1 -t myfile
7878
79-FinalCrypt 6.3.8 - Author: Ron de Jong <info@finalcrypt.org> - Copyright: © 2017-2020
\ No newline at end of file
79+FinalCrypt 6.3.9 - Author: Ron de Jong <info@finalcrypt.org> - Copyright: © 2017-2020
\ No newline at end of file
--- a/nbproject/project.properties
+++ b/nbproject/project.properties
@@ -8,7 +8,7 @@ application.homepage=http://www.finalcrypt.org/
88 application.splash=finalcrypt-splash.png
99 application.title=FinalCrypt
1010 application.vendor=FinalCrypt
11-application.implementation.version=6.3.8
11+application.implementation.version=6.3.9
1212 auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.expand-tabs=false
1313 auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.indent-shift-width=4
1414 auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.spaces-per-tab=4
--- a/src/rdj/CLUI.java
+++ b/src/rdj/CLUI.java
@@ -200,7 +200,7 @@ public class CLUI implements UI
200200 // else if ( args[paramCnt].equals("--chr")) { finalCrypt.setChr(true); }
201201 else if ( args[paramCnt].equals("--version")) { log(version.getProductName() + " " + version.getCurrentlyInstalledOverallVersionString() + "\r\n", false, true, true, false, false); System.exit(0); }
202202 else if ( args[paramCnt].equals("--license")) { log(version.getProductName() + " " + Version.getLicense() + "\r\n", false, true, true, false, false); System.exit(0); }
203- else if ( args[paramCnt].equals("--check-update")) { version.checkLatestOnlineVersion(this); String[] lines = version.getUpdateStatus().split("\r\n"); for (String line: lines) { log(line + "\r\n", false, true, true, false, false); } System.exit(0); }
203+ else if ( args[paramCnt].equals("--check-update")) { version.checkLatestOnlineVersion(this); String[] lines = version.getUpdateStatus().split("\r\n"); for (String line: lines) { log(line + "\r\n", false, true, true, false, false); } System.exit(0); }
204204 else if (( args[paramCnt].equals("-s")) && (!args[paramCnt+1].isEmpty()) ) { if ( validateIntegerString(args[paramCnt + 1]) ) { finalCrypt.setBufferSize(Integer.valueOf( args[paramCnt + 1] ) * 1024 ); paramCnt++; } else { log("\r\nWarning: Invalid Option Value [-b size]" + "\r\n", false, true, true, false, false); usagePrompt(true); }}
205205 else if (( args[paramCnt].equals("-S")) && (!args[paramCnt+1].isEmpty()) ) { if ( validateIntegerString(args[paramCnt + 1]) ) { filesizeInBytes = Long.valueOf( args[paramCnt + 1] ); paramCnt++; } else { log("\r\nWarning: Invalid Option Value [-S size]" + "\r\n", false, true, true, false, false); usagePrompt(true); }}
206206
--- a/src/rdj/VERSION
+++ b/src/rdj/VERSION
@@ -1 +1 @@
1-6.3.8
\ No newline at end of file
1+6.3.9
\ No newline at end of file
--- a/src/rdj/VERSION2
+++ b/src/rdj/VERSION2
@@ -1,4 +1,4 @@
1-[Version] = {6.3.8}
1+[Version] = {6.3.9}
22 [] = {} ================================================================
33 [Release Notes] = {You are using a very old version of FinalCrypt}
44 [Release Message] = {Please visit the website & download the latest}
@@ -26,10 +26,11 @@
2626 [Upgrade Notes] = {FinalCrypt now supports 75 languages (homepage FAQ)}
2727 [Upgrade Notes] = {}
2828 [] = {} ----------------------------------------------------------------
29-[Update Notes] = {Update 8}
29+[Update Notes] = {Update 9}
3030 [Update Notes] = {}
31-[Update Notes] = {Added new backup mirror to support & check updates}
32-[Update Notes] = {Improved open "Download Software" pages on updates}
31+[Update Notes] = {Added 3 Sec HTTP Timeout to speedup HTTP(S) connect}
32+[Update Notes] = {This also improves all other HTTP Connect Responses}
33+[Update Notes] = {General, Support, Update, Download or Share Webpage}
3334 [] = {} --------------------------------------------------------------------------------------------------------
3435 [Alert Subject_] = {}
3536 [Alert Notes_] = {}
--- a/src/rdj/Version.java
+++ b/src/rdj/Version.java
@@ -70,6 +70,7 @@ public class Version
7070 private static final String USER_NAME = System.getProperty("user.name");
7171 private static final String USER_HOME = System.getProperty("user.home");
7272 private static final String USER_DIR = System.getProperty("user.dir");
73+ private static final int HTTP_CONNECT_TIMEOUT = 3000;
7374
7475 private static String currentOverallVersionString = "";
7576 private static String latestOverallVersionString = "";
@@ -335,7 +336,7 @@ public class Version
335336 try { url = new URL(urlString); } catch (MalformedURLException ex) { checkOnlineFailed = true; ui.log("Error: httpGetRequest MalformedURLException: new URL(" + urlString +") (URL Typo?)\r\n", false, true, true, true, false); return null; }
336337 if (url == null) { checkOnlineFailed = true; ui.log("Error: httpGetRequest InvalidURL: url = new URL(" + urlString +"); (URL Typo?)\r\n", false, true, true, true, false); return null; }
337338 HttpURLConnection httpConnection = null;
338- try { httpConnection = (HttpURLConnection) url.openConnection(); } catch (IOException ex){ checkOnlineFailed = true; ui.log("Error: httpGetRequest IOException: url.openConnection()" + ex.getCause() + "\r\n", false, true, true, true, false); return null; }
339+ try { httpConnection = (HttpURLConnection) url.openConnection(); httpConnection.setConnectTimeout(HTTP_CONNECT_TIMEOUT); } catch (IOException ex){ checkOnlineFailed = true; ui.log("Error: httpGetRequest IOException: url.openConnection()" + ex.getCause() + "\r\n", false, true, true, true, false); return null; }
339340 try { httpConnection.setRequestMethod("GET"); } catch (ProtocolException ex) { checkOnlineFailed = true; ui.log("Error: httpGetRequest ProtocolException: httpConnection.setRequestMethod(\"GET\")" + ex.getCause() + "\r\n", false, true, true, true, false); return null; }
340341 httpConnection.setRequestProperty("User-Agent", userAgent);
341342 int responseCode = 0;
@@ -368,8 +369,8 @@ public class Version
368369 URL url = null;
369370 try { url = new URL(urlString); } catch (MalformedURLException ex) { checkOnlineFailed = true; ui.log("Error: httpsGetRequest MalformedURLException: new URL(" + urlString +") (URL Typo?)\r\n", false, true, true, true, false); }
370371 if (url == null) { checkOnlineFailed = true; ui.log("Error: httpsGetRequest InvalidURL: url = new URL(" + urlString +"); (URL Typo?)\r\n", false, true, true, true, false); return null; }
371- HttpsURLConnection httpConnection = null;
372- try { httpConnection = (HttpsURLConnection) url.openConnection(); } catch (IOException ex){ checkOnlineFailed = true; ui.log("Error: httpsGetRequest IOException: url.openConnection()" + ex.getCause() + "\r\n", false, true, true, true, false); }
372+ HttpsURLConnection httpConnection = null;
373+ try { httpConnection = (HttpsURLConnection) url.openConnection(); httpConnection.setConnectTimeout(HTTP_CONNECT_TIMEOUT); } catch (IOException ex){ checkOnlineFailed = true; ui.log("Error: httpsGetRequest IOException: url.openConnection()" + ex.getCause() + "\r\n", false, true, true, true, false); }
373374 try { httpConnection.setRequestMethod("GET"); } catch (ProtocolException ex) { checkOnlineFailed = true; ui.log("Error: httpsGetRequest ProtocolException: httpConnection.setRequestMethod(\"GET\")" + ex.getCause() + "\r\n", false, true, true, true, false); }
374375 httpConnection.setRequestProperty("User-Agent", userAgent);
375376 httpConnection.setRequestProperty("Referer", Version.WEBSITEURISTRING);
--- a/src/rdj/todo_doing_done.txt
+++ b/src/rdj/todo_doing_done.txt
@@ -15,8 +15,8 @@ User Action Wizzard
1515 Disable test messages UI.test()
1616 Update Languages on FAQ GUIFX line 1070
1717 Set version nbproject/project.properties application.implementation.version=1.2.3
18-Set version on file: Version
19-Set version on file: Version2
18+Set version on file: VERSION
19+Set version on file: VERSION2
2020 Update file: changelog
2121 Update file: manpage
2222 Update file: build.xml