Tagging the 0.76.0.6 release of the KiTTY project.

This commit is contained in:
cyd01
2022-01-01 20:17:20 +01:00
parent 1e2876235d
commit 34e6289dd9
11 changed files with 50 additions and 32 deletions
+2 -2
View File
@@ -6,7 +6,7 @@
*/
#define LICENCE_TEXT(parsep) \
"PuTTY is copyright 1997-2021 Simon Tatham." \
"PuTTY is copyright 1997-2022 Simon Tatham." \
parsep \
"Portions copyright Robert de Bath, Joris van Rantwijk, Delian Delchev, Andreas Schultz, Jeroen Massar, Wez Furlong, Nicolas Barry, Justin Bradford, Ben Harris, Malcolm Smith, Ahmad Khalifa, Markus Kuhn, Colin Watson, Christopher Staite, Lorenz Diener, Christian Brabandt, Jeff Smith, Pavel Kryukov, Maxim Kuznetsov, Svyatoslav Kuzmich, Nico Williams, Viktor Dukhovni, Josh Dersch, Lars Brinkhoff, and CORE SDI S.A." \
parsep \
@@ -16,4 +16,4 @@
parsep \
"THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."
#define SHORT_COPYRIGHT_DETAILS "1997-2021 Simon Tatham"
#define SHORT_COPYRIGHT_DETAILS "1997-2022 Simon Tatham"
+40 -22
View File
@@ -375,23 +375,25 @@ static int confirm_key_usage(char* fingerprint, char* comment) {
const char* title = "Confirm SSH Key usage";
char* message = NULL;
int result = IDYES; // successful result is the default
message = dupprintf("Allow authentication with key with fingerprint\n%s\ncomment: %s", fingerprint, comment);
if(comment!=NULL) if( ( GetAskConfirmationFlag()==1 )
||
( (GetAskConfirmationFlag()==2) && (
(NULL != strstr(comment, "needs confirm"))||(NULL != strstr(comment, "need confirm"))||(NULL != strstr(comment, "confirmation"))
)
) ) {
result = MessageBox(NULL, message, title, MB_ICONQUESTION | MB_YESNO | MB_SYSTEMMODAL);
if(comment!=NULL) {
if( ( GetAskConfirmationFlag()==1 )
||
( (GetAskConfirmationFlag()==2) && (
(NULL != strstr(comment, "needs confirm"))||(NULL != strstr(comment, "need confirm"))||(NULL != strstr(comment, "confirmation"))
)
) ) {
message = dupprintf("Allow authentication with key with fingerprint\n%s\ncomment: %s", fingerprint, comment);
result = MessageBox(NULL, message, title, MB_ICONQUESTION | MB_YESNO | MB_SYSTEMMODAL);
}
}
if (result != IDYES) {
sfree(message);
if(message!=NULL) sfree(message);
return 0;
} else {
message = dupprintf("Allow authentication with key with fingerprint\n%s\ncomment: %s", fingerprint, comment);
if( GetShowBalloonOnKeyUsage()==1 ) ShowBalloonTip( trayIcone, "SSH private key usage", message ) ;
sfree(message);
if(message!=NULL) sfree(message);
return 1;
}
}
@@ -909,18 +911,26 @@ static PageantAsyncOp *pageant_make_op(
goto responded;
}
#ifdef MOD_PERSO
void debug_log( const char *fmt, ... ) {
char filename[4096]="" ;
va_list ap;
FILE *fp ;
strcpy(filename,"kitty.log");
va_start( ap, fmt ) ;
//vfprintf( stdout, fmt, ap ) ; // Ecriture a l'ecran
if( ( fp = fopen( filename, "ab" ) ) != NULL ) {
vfprintf( fp, fmt, ap ) ; // ecriture dans un fichier
fclose( fp ) ;
}
va_end( ap ) ;
}
char* confirm_fingerprint;
confirm_fingerprint = ssh2_fingerprint_blob(keyblob, SSH_FPTYPE_DEFAULT);
if( confirm_fingerprint!=NULL ) {
if( pk->rkey->comment != NULL ) {
if (! confirm_key_usage( confirm_fingerprint, pk->rkey->comment)) {
if( confirm_fingerprint!=NULL ) sfree(confirm_fingerprint);
fail("unconfirmed key");
pk=NULL;
goto responded;
//return NULL;
}
} else if( pk->comment != NULL ) {
if( pk->comment != NULL ) {
if (! confirm_key_usage( confirm_fingerprint, pk->comment)) {
if( confirm_fingerprint!=NULL ) sfree(confirm_fingerprint);
fail("unconfirmed key");
@@ -928,9 +938,17 @@ static PageantAsyncOp *pageant_make_op(
goto responded;
//return NULL;
}
}
if( confirm_fingerprint!=NULL ) sfree(confirm_fingerprint);
} /*else if( pk->rkey->comment != NULL ) {
if (! confirm_key_usage( confirm_fingerprint, pk->rkey->comment)) {
if( confirm_fingerprint!=NULL ) sfree(confirm_fingerprint);
fail("unconfirmed key");
pk=NULL;
goto responded;
//return NULL;
}
}*/
}
if( confirm_fingerprint!=NULL ) sfree(confirm_fingerprint);
#endif
if (have_flags)
+1 -1
View File
@@ -1,5 +1,5 @@
#define RELEASE 0.76
#define TEXTVER "Release 0.76"
#define SSHVER "-Release-0.76"
#define BINARY_VERSION 0,76,0,5
#define BINARY_VERSION 0,76,0,6
#define SOURCE_COMMIT "unavailable"
+1 -1
View File
@@ -63,7 +63,7 @@ BEGIN
VALUE "FileVersion", TEXTVER
#endif
#if (defined MOD_PERSO) && (!defined FLJ)
VALUE "ProductVersion", TEXTVER " - Additional features on KiTTY That's all folks! by 9bis.com, 2005-2021"
VALUE "ProductVersion", TEXTVER " - Additional features on KiTTY That's all folks! by 9bis.com, 2005-2022"
#else
VALUE "ProductVersion", TEXTVER
#endif
+1 -1
View File
@@ -1 +1 @@
5
6
+1 -1
View File
@@ -288,7 +288,7 @@ FONT 8, "MS Shell Dlg", 0, 0, 0x0
BEGIN
ICON IDI_MAINICON_0,IDC_STATIC,7,7,30,20
LTEXT "",IDA_VERSION,45,7,198,8
LTEXT "Copyright \251 2005-2021",IDC_STATIC,45,19,78,8
LTEXT "Copyright \251 2005-2022",IDC_STATIC,45,19,78,8
LTEXT "9bis software - https://www.9bis.net/kitty",
IDC_WEBPAGE,45,31,145,8
LTEXT "Contact:",IDC_STATIC,45,43,46,8
+1 -1
View File
@@ -243,7 +243,7 @@ static INT_PTR CALLBACK LicenceProc(HWND hwnd, UINT msg,
#if (defined MOD_PERSO) && (!defined FLJ)
//static const char MESSAGE[] = "";
static const char MESSAGE[] = " KiTTY software is developed by Cyd for 9bis.com, copyright \251 2005-2021, thanks to Leo for bcrypt and mini libraries, thanks to all contributors " ;
static const char MESSAGE[] = " KiTTY software is developed by Cyd for 9bis.com, copyright \251 2005-2022, thanks to Leo for bcrypt and mini libraries, thanks to all contributors " ;
static INT_PTR CALLBACK AboutProc(HWND hwnd, UINT msg,
WPARAM wParam, LPARAM lParam)
Binary file not shown.
+1 -1
View File
@@ -49,5 +49,5 @@ BEGIN
NOTEPAD_FILE_FILTER "Text files, (*.txt, *.ini)|*.txt;*.ini|C/C++ files, (*.c, *.cpp, *.h, *.rc)|*.c;*.cpp;*.h;*.rc|Script files, (*.ksh, *.sh)|*.ksh;*.sh\0SQL files, (*.sql)|*.sql|All files, (*.*)|*.*\0"
NOTEPAD_STR_LICENCE " mNotepad 1.0\nwritten by Cyd, 2021, for the Telnet/SSH client TTY"
NOTEPAD_STR_LICENCE " mNotepad 1.0\nwritten by Cyd, 2022, for the Telnet/SSH client TTY"
END
+1 -1
View File
@@ -1 +1 @@
0.76.0.5
0.76.0.6
+1 -1
View File
@@ -574,7 +574,7 @@ LRESULT CALLBACK Launcher_WndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lP
case WM_COMMAND: {//Commandes du menu
switch( LOWORD(wParam) ) {
case IDM_ABOUT:
MessageBox(hwnd," TTY Launcher\nSession launcher for TTY terminal emulator\n(c), 2009-2021","About", MB_OK ) ;
MessageBox(hwnd," TTY Launcher\nSession launcher for TTY terminal emulator\n(c), 2009-2022","About", MB_OK ) ;
break ;
case IDM_QUIT:
ResShell = Shell_NotifyIcon(NIM_DELETE, &TrayIcone) ;