mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 01:18:00 +00:00
b66c56f441
When PuTTYgen is holding a certified key, I don't think there's any sensible use for pasting around the full public key in authorized_keys format, because the whole point is that what you put in authorized_keys is 'please trust this CA' rather than the specific key. So instead I've reused the space in the dialog box to indicate that it's a certificate, and provide a 'more info' sub-dialog.
100 lines
3.2 KiB
Plaintext
100 lines
3.2 KiB
Plaintext
/*
|
|
* Windows resources for PuTTYgen.
|
|
*/
|
|
|
|
#include "rcstuff.h"
|
|
|
|
#define APPNAME "PuTTYgen"
|
|
#define APPDESC "PuTTY SSH key generation utility"
|
|
|
|
#include "help.rc2"
|
|
#include "puttygen-rc.h"
|
|
|
|
200 ICON "puttygen.ico"
|
|
|
|
201 DIALOG DISCARDABLE 0, 0, 400, 270
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "PuTTY Key Generator"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
END
|
|
|
|
210 DIALOG DISCARDABLE 0, 0, 140, 60
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "PuTTYgen: Enter Passphrase"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
CTEXT "Enter passphrase for key", 100, 10, 6, 120, 8
|
|
CTEXT "", 101, 10, 16, 120, 8
|
|
EDITTEXT 102, 10, 26, 120, 12, ES_PASSWORD | ES_AUTOHSCROLL
|
|
DEFPUSHBUTTON "O&K", IDOK, 20, 42, 40, 14
|
|
PUSHBUTTON "&Cancel", IDCANCEL, 80, 42, 40, 14
|
|
END
|
|
|
|
/* Accelerators used: cl */
|
|
213 DIALOG DISCARDABLE 140, 40, 270, 136
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "About PuTTYgen"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
DEFPUSHBUTTON "&Close", IDOK, 216, 118, 48, 14
|
|
PUSHBUTTON "View &Licence", 101, 6, 118, 70, 14
|
|
PUSHBUTTON "Visit &Web Site", 102, 140, 118, 70, 14
|
|
EDITTEXT 1000, 10, 6, 250, 110, ES_READONLY | ES_MULTILINE | ES_CENTER, WS_EX_STATICEDGE
|
|
END
|
|
|
|
/* No accelerators used */
|
|
214 DIALOG DISCARDABLE 50, 50, 326, 239
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "PuTTY Licence"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
DEFPUSHBUTTON "OK", IDOK, 148, 219, 44, 14
|
|
|
|
EDITTEXT 1000, 10, 10, 306, 200, ES_READONLY | ES_MULTILINE | ES_LEFT, WS_EX_STATICEDGE
|
|
END
|
|
|
|
215 DIALOG DISCARDABLE 0, 0, 259, 98
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "PuTTYgen: Private Key File Parameters"
|
|
FONT 8, "MS Shell Dlg"
|
|
BEGIN
|
|
LTEXT "PPK file version:", IDC_PPKVER_STATIC, 5, 6, 119, 8
|
|
AUTORADIOBUTTON "2", IDC_PPKVER_2, 124, 5, 30, 10, WS_GROUP
|
|
AUTORADIOBUTTON "3", IDC_PPKVER_3, 154, 5, 30, 10
|
|
LTEXT "Key derivation function:", IDC_KDF_STATIC, 5, 22, 119, 8
|
|
AUTORADIOBUTTON "Argon2id", IDC_KDF_ARGON2ID, 124, 21, 45, 10, WS_GROUP
|
|
AUTORADIOBUTTON "Argon2i", IDC_KDF_ARGON2I, 169, 21, 45, 10, WS_GROUP
|
|
AUTORADIOBUTTON "Argon2d", IDC_KDF_ARGON2D, 214, 21, 45, 10
|
|
LTEXT "Memory to use for passphrase hash:", IDC_ARGON2_MEM_STATIC,
|
|
5, 36, 119, 8
|
|
EDITTEXT IDC_ARGON2_MEM, 124, 34, 40, 12
|
|
LTEXT "Kbyte", IDC_ARGON2_MEM_STATIC2, 174, 36, 34, 8
|
|
LTEXT "Time to use for passphrase hash:", IDC_ARGON2_TIME_STATIC,
|
|
5, 50, 119, 8
|
|
EDITTEXT IDC_ARGON2_TIME, 124, 48, 40, 12
|
|
AUTORADIOBUTTON "ms", IDC_PPK_AUTO_YES, 174, 49, 20, 10, WS_GROUP
|
|
AUTORADIOBUTTON "passes", IDC_PPK_AUTO_NO, 204, 49, 40, 10
|
|
LTEXT "Parallelism for passphrase hash:", IDC_ARGON2_PARALLEL_STATIC,
|
|
5, 64, 119, 8
|
|
EDITTEXT IDC_ARGON2_PARALLEL, 124, 62, 60, 12
|
|
DEFPUSHBUTTON "O&K", IDOK, 70, 80, 40, 14
|
|
PUSHBUTTON "&Cancel", IDCANCEL, 134, 80, 40, 14
|
|
END
|
|
|
|
/* Accelerators used: clw */
|
|
216 DIALOG DISCARDABLE 140, 40, 450, 300
|
|
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
|
|
CAPTION "PuTTYgen: certificate information"
|
|
FONT 8, "MS Shell Dlg"
|
|
CLASS "PuTTYgenCertInfo"
|
|
BEGIN
|
|
DEFPUSHBUTTON "&Close", IDOK, 201, 130, 48, 14
|
|
END
|
|
|
|
#include "version.rc2"
|
|
|
|
#ifndef NO_MANIFESTS
|
|
1 RT_MANIFEST "puttygen.mft"
|
|
#endif /* NO_MANIFESTS */
|