FinalCrypt - The No¹ One-Time Pad Encryption
Révision | ba0ec5a3b4b472b247425156383379f439b4119d (tree) |
---|---|
l'heure | 2020-07-08 01:10:27 |
Auteur | ron <ronuitzaandam@gmai...> |
Commiter | ron |
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
@@ -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 | + | |
1 | 7 | Date: 2020-06-20 Version: 6.3.8 |
2 | 8 | |
3 | 9 | Added new backup mirror to support & check updates |
@@ -62,4 +62,4 @@ Parameters: | ||
62 | 62 | <[-t "file/dir"]> Target items (files or directories) you want to encrypt (recursive). |
63 | 63 | <[-b "batchfile"]> Batchfile with targetfiles you want to encrypt (only files). |
64 | 64 | |
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 |
@@ -76,4 +76,4 @@ Key Device Examples (Linux): | ||
76 | 76 | java -cp finalcrypt.jar rdj/CLUI --encrypt -k /dev/sdc1 -t myfile |
77 | 77 | java -cp finalcrypt.jar rdj/CLUI --decrypt -k /dev/sdc1 -t myfile |
78 | 78 | |
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 |
@@ -8,7 +8,7 @@ application.homepage=http://www.finalcrypt.org/ | ||
8 | 8 | application.splash=finalcrypt-splash.png |
9 | 9 | application.title=FinalCrypt |
10 | 10 | application.vendor=FinalCrypt |
11 | -application.implementation.version=6.3.8 | |
11 | +application.implementation.version=6.3.9 | |
12 | 12 | auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.expand-tabs=false |
13 | 13 | auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.indent-shift-width=4 |
14 | 14 | auxiliary.org-netbeans-modules-editor-indent.CodeStyle.project.spaces-per-tab=4 |
@@ -200,7 +200,7 @@ public class CLUI implements UI | ||
200 | 200 | // else if ( args[paramCnt].equals("--chr")) { finalCrypt.setChr(true); } |
201 | 201 | else if ( args[paramCnt].equals("--version")) { log(version.getProductName() + " " + version.getCurrentlyInstalledOverallVersionString() + "\r\n", false, true, true, false, false); System.exit(0); } |
202 | 202 | 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); } | |
204 | 204 | 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); }} |
205 | 205 | 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); }} |
206 | 206 |
@@ -1 +1 @@ | ||
1 | -6.3.8 | |
\ No newline at end of file | ||
1 | +6.3.9 | |
\ No newline at end of file |
@@ -1,4 +1,4 @@ | ||
1 | -[Version] = {6.3.8} | |
1 | +[Version] = {6.3.9} | |
2 | 2 | [] = {} ================================================================ |
3 | 3 | [Release Notes] = {You are using a very old version of FinalCrypt} |
4 | 4 | [Release Message] = {Please visit the website & download the latest} |
@@ -26,10 +26,11 @@ | ||
26 | 26 | [Upgrade Notes] = {FinalCrypt now supports 75 languages (homepage FAQ)} |
27 | 27 | [Upgrade Notes] = {} |
28 | 28 | [] = {} ---------------------------------------------------------------- |
29 | -[Update Notes] = {Update 8} | |
29 | +[Update Notes] = {Update 9} | |
30 | 30 | [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} | |
33 | 34 | [] = {} -------------------------------------------------------------------------------------------------------- |
34 | 35 | [Alert Subject_] = {} |
35 | 36 | [Alert Notes_] = {} |
@@ -70,6 +70,7 @@ public class Version | ||
70 | 70 | private static final String USER_NAME = System.getProperty("user.name"); |
71 | 71 | private static final String USER_HOME = System.getProperty("user.home"); |
72 | 72 | private static final String USER_DIR = System.getProperty("user.dir"); |
73 | + private static final int HTTP_CONNECT_TIMEOUT = 3000; | |
73 | 74 | |
74 | 75 | private static String currentOverallVersionString = ""; |
75 | 76 | private static String latestOverallVersionString = ""; |
@@ -335,7 +336,7 @@ public class Version | ||
335 | 336 | 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; } |
336 | 337 | 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; } |
337 | 338 | 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; } | |
339 | 340 | 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; } |
340 | 341 | httpConnection.setRequestProperty("User-Agent", userAgent); |
341 | 342 | int responseCode = 0; |
@@ -368,8 +369,8 @@ public class Version | ||
368 | 369 | URL url = null; |
369 | 370 | 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); } |
370 | 371 | 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); } | |
373 | 374 | 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); } |
374 | 375 | httpConnection.setRequestProperty("User-Agent", userAgent); |
375 | 376 | httpConnection.setRequestProperty("Referer", Version.WEBSITEURISTRING); |
@@ -15,8 +15,8 @@ User Action Wizzard | ||
15 | 15 | Disable test messages UI.test() |
16 | 16 | Update Languages on FAQ GUIFX line 1070 |
17 | 17 | 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 | |
20 | 20 | Update file: changelog |
21 | 21 | Update file: manpage |
22 | 22 | Update file: build.xml |