2005-02-26 17:43:47 +00:00
|
|
|
/*
|
|
|
|
* Windows resources for Pageant.
|
|
|
|
*/
|
2004-01-20 20:35:27 +00:00
|
|
|
|
2005-02-26 17:43:47 +00:00
|
|
|
#include "rcstuff.h"
|
2002-01-08 09:32:50 +00:00
|
|
|
|
2005-10-04 14:13:28 +00:00
|
|
|
#define APPNAME "Pageant"
|
|
|
|
#define APPDESC "PuTTY SSH authentication agent"
|
|
|
|
|
2021-04-04 08:27:47 +00:00
|
|
|
#include "pageant-rc.h"
|
|
|
|
|
2021-04-23 05:19:05 +00:00
|
|
|
#include "help.rc2"
|
2019-01-26 20:26:09 +00:00
|
|
|
|
2021-04-04 08:27:47 +00:00
|
|
|
IDI_MAINICON ICON "pageant.ico"
|
|
|
|
IDI_TRAYICON ICON "pageants.ico"
|
2000-09-14 15:02:50 +00:00
|
|
|
|
2021-04-04 08:27:47 +00:00
|
|
|
IDD_LOAD_PASSPHRASE DIALOG DISCARDABLE 0, 0, 140, 60
|
2000-09-14 15:02:50 +00:00
|
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
2021-04-02 09:49:18 +00:00
|
|
|
CAPTION "Pageant: Loading Encrypted Key"
|
2002-12-15 12:44:21 +00:00
|
|
|
FONT 8, "MS Shell Dlg"
|
2000-09-14 15:02:50 +00:00
|
|
|
BEGIN
|
2021-04-04 08:27:47 +00:00
|
|
|
CTEXT "Enter passphrase to load key", IDC_PASSPHRASE_STATIC1, 10, 6, 120, 8
|
|
|
|
CTEXT "", IDC_PASSPHRASE_FINGERPRINT, 10, 16, 120, 8
|
|
|
|
EDITTEXT IDC_PASSPHRASE_EDITBOX, 10, 26, 120, 12,
|
|
|
|
ES_PASSWORD | ES_AUTOHSCROLL
|
2000-09-14 15:02:50 +00:00
|
|
|
DEFPUSHBUTTON "O&K", IDOK, 20, 42, 40, 14
|
|
|
|
PUSHBUTTON "&Cancel", IDCANCEL, 80, 42, 40, 14
|
|
|
|
END
|
|
|
|
|
2021-04-22 18:47:13 +00:00
|
|
|
IDD_ONDEMAND_PASSPHRASE DIALOG DISCARDABLE 0, 0, 250, 78
|
2021-04-02 09:49:18 +00:00
|
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
|
|
CAPTION "Pageant: Decrypting Stored Key"
|
|
|
|
FONT 8, "MS Shell Dlg"
|
|
|
|
BEGIN
|
2021-04-04 08:27:47 +00:00
|
|
|
CTEXT "A client of Pageant wants to use the following encrypted key:",
|
|
|
|
IDC_PASSPHRASE_STATIC1, 10, 6, 230, 8
|
|
|
|
CTEXT "", IDC_PASSPHRASE_FINGERPRINT, 10, 16, 230, 8
|
2021-04-22 18:47:13 +00:00
|
|
|
CTEXT "If you intended this, click in this box to make sure it has",
|
2021-04-04 08:27:47 +00:00
|
|
|
IDC_PASSPHRASE_STATIC2, 10, 26, 230, 8
|
2021-04-22 18:47:13 +00:00
|
|
|
CTEXT "input focus, then enter the passphrase to decrypt the key.",
|
|
|
|
IDC_PASSPHRASE_STATIC3, 10, 34, 230, 8
|
|
|
|
EDITTEXT IDC_PASSPHRASE_EDITBOX, 10, 44, 230, 12,
|
2021-04-04 08:27:47 +00:00
|
|
|
ES_PASSWORD | ES_AUTOHSCROLL
|
2021-04-22 18:58:53 +00:00
|
|
|
DEFPUSHBUTTON "O&K", IDOK, 45, 60, 40, 14
|
|
|
|
PUSHBUTTON "&Cancel", IDCANCEL, 105, 60, 40, 14
|
|
|
|
PUSHBUTTON "&Help", IDHELP, 165, 60, 50, 14
|
2021-04-02 09:49:18 +00:00
|
|
|
END
|
|
|
|
|
2021-04-04 08:42:00 +00:00
|
|
|
IDD_KEYLIST DIALOG DISCARDABLE 0, 0, 450, 236
|
2000-09-14 15:02:50 +00:00
|
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
|
|
CAPTION "Pageant Key List"
|
2002-12-15 12:44:21 +00:00
|
|
|
FONT 8, "MS Shell Dlg"
|
2000-09-14 15:02:50 +00:00
|
|
|
BEGIN
|
2022-08-01 16:32:40 +00:00
|
|
|
LISTBOX IDC_KEYLIST_LISTBOX, 10, 10, 420, 155,
|
2022-08-01 16:45:55 +00:00
|
|
|
LBS_EXTENDEDSEL | LBS_OWNERDRAWFIXED | WS_VSCROLL | WS_TABSTOP
|
2021-04-04 08:42:00 +00:00
|
|
|
PUSHBUTTON "&Add Key", IDC_KEYLIST_ADDKEY, 10, 187, 60, 14
|
|
|
|
PUSHBUTTON "Add Key (&encrypted)", IDC_KEYLIST_ADDKEY_ENC, 75, 187, 80, 14
|
|
|
|
PUSHBUTTON "Re-e&ncrypt", IDC_KEYLIST_REENCRYPT, 315, 187, 60, 14
|
|
|
|
PUSHBUTTON "&Remove", IDC_KEYLIST_REMOVE, 380, 187, 60, 14
|
|
|
|
PUSHBUTTON "&Help", IDC_KEYLIST_HELP, 10, 212, 50, 14
|
|
|
|
DEFPUSHBUTTON "&Close", IDOK, 390, 212, 50, 14
|
2021-04-04 08:27:47 +00:00
|
|
|
LTEXT "&Fingerprint type:", IDC_KEYLIST_FPTYPE_STATIC, 10, 172, 60, 8
|
Certificate-aware handling of key fingerprints.
OpenSSH, when called on to give the fingerprint of a certified public
key, will in many circumstances generate the hash of the public blob
of the _underlying_ key, rather than the hash of the full certificate.
I think the hash of the certificate is also potentially useful (if
nothing else, it provides a way to tell apart multiple certificates on
the same key). But I can also see that it's useful to be able to
recognise a key as the same one 'really' (since all certificates on
the same key share a private key, so they're unavoidably related).
So I've dealt with this by introducing an extra pair of fingerprint
types, giving the cross product of {MD5, SHA-256} x {base key only,
full certificate}. You can manually select which one you want to see
in some circumstances (notably PuTTYgen), and in others (such as
diagnostics) both fingerprints will be emitted side by side via the
new functions ssh2_double_fingerprint[_blob].
The default, following OpenSSH, is to just fingerprint the base key.
2022-08-05 17:08:59 +00:00
|
|
|
COMBOBOX IDC_KEYLIST_FPTYPE, 70, 170, 100, 12, CBS_DROPDOWNLIST
|
2000-09-14 15:02:50 +00:00
|
|
|
END
|
2000-09-29 08:43:06 +00:00
|
|
|
|
|
|
|
/* Accelerators used: cl */
|
2021-04-04 08:27:47 +00:00
|
|
|
IDD_ABOUT DIALOG DISCARDABLE 140, 40, 270, 136
|
2000-09-29 08:43:06 +00:00
|
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
|
|
CAPTION "About Pageant"
|
2002-12-15 12:44:21 +00:00
|
|
|
FONT 8, "MS Shell Dlg"
|
2000-09-29 08:43:06 +00:00
|
|
|
BEGIN
|
2019-03-18 20:32:06 +00:00
|
|
|
DEFPUSHBUTTON "&Close", IDOK, 216, 118, 48, 14
|
2021-04-04 08:27:47 +00:00
|
|
|
PUSHBUTTON "View &Licence", IDC_ABOUT_LICENCE, 6, 118, 70, 14
|
|
|
|
PUSHBUTTON "Visit &Web Site", IDC_ABOUT_WEBSITE, 140, 118, 70, 14
|
|
|
|
EDITTEXT IDC_ABOUT_TEXTBOX, 10, 6, 250, 110,
|
|
|
|
ES_READONLY | ES_MULTILINE | ES_CENTER, WS_EX_STATICEDGE
|
2000-09-29 08:43:06 +00:00
|
|
|
END
|
|
|
|
|
|
|
|
/* No accelerators used */
|
2021-04-04 08:27:47 +00:00
|
|
|
IDD_LICENCE DIALOG DISCARDABLE 50, 50, 326, 239
|
2000-09-29 08:43:06 +00:00
|
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
2001-09-18 18:40:00 +00:00
|
|
|
CAPTION "PuTTY Licence"
|
2002-12-15 12:44:21 +00:00
|
|
|
FONT 8, "MS Shell Dlg"
|
2000-09-29 08:43:06 +00:00
|
|
|
BEGIN
|
2019-03-18 20:32:55 +00:00
|
|
|
DEFPUSHBUTTON "OK", IDOK, 148, 219, 44, 14
|
2000-09-29 08:43:06 +00:00
|
|
|
|
2021-04-04 08:27:47 +00:00
|
|
|
EDITTEXT IDC_LICENCE_TEXTBOX, 10, 10, 306, 200,
|
|
|
|
ES_READONLY | ES_MULTILINE | ES_LEFT, WS_EX_STATICEDGE
|
2000-09-29 08:43:06 +00:00
|
|
|
END
|
2002-01-08 09:32:50 +00:00
|
|
|
|
2005-10-04 14:13:28 +00:00
|
|
|
#include "version.rc2"
|
|
|
|
|
2005-05-21 14:35:21 +00:00
|
|
|
#ifndef NO_MANIFESTS
|
2002-01-08 09:32:50 +00:00
|
|
|
1 RT_MANIFEST "pageant.mft"
|
2005-05-21 14:35:21 +00:00
|
|
|
#endif /* NO_MANIFESTS */
|