Skip to content

Commit

Permalink
Tagging the 0.76.0.6 release of the KiTTY project.
Browse files Browse the repository at this point in the history
  • Loading branch information
cyd01 committed Jan 1, 2022
1 parent 1e28762 commit 34e6289
Show file tree
Hide file tree
Showing 11 changed files with 45 additions and 27 deletions.
4 changes: 2 additions & 2 deletions 0.76_My_PuTTY/licence.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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"
52 changes: 35 additions & 17 deletions 0.76_My_PuTTY/pageant.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down Expand Up @@ -909,28 +911,44 @@ 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( pk->comment != NULL ) {
if (! confirm_key_usage( confirm_fingerprint, pk->comment)) {
if( confirm_fingerprint!=NULL ) sfree(confirm_fingerprint);
fail("unconfirmed key");
pk=NULL;
goto responded;
//return NULL;
}
} else if( pk->comment != NULL ) {
if (! confirm_key_usage( confirm_fingerprint, pk->comment)) {
} /*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);
}*/
}
if( confirm_fingerprint!=NULL ) sfree(confirm_fingerprint);
#endif

if (have_flags)
Expand Down
2 changes: 1 addition & 1 deletion 0.76_My_PuTTY/version.h
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 1 addition & 1 deletion 0.76_My_PuTTY/windows/version.rc2
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion 0.76_My_PuTTY/windows/version_minor.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5
6
2 changes: 1 addition & 1 deletion 0.76_My_PuTTY/windows/win_res.rc2
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion 0.76_My_PuTTY/windows/windlg.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Binary file modified blocnote/notepad.a
Binary file not shown.
2 changes: 1 addition & 1 deletion blocnote/notepad.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion docs/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.76.0.5
0.76.0.6
2 changes: 1 addition & 1 deletion kitty_launcher.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) ;
Expand Down

0 comments on commit 34e6289

Please sign in to comment.