Compare commits
7 Commits
1.0-alpha1
...
1.0-alpha1
Author | SHA1 | Date | |
---|---|---|---|
5483368640 | |||
6077063599 | |||
2857b2edd2 | |||
6760287f0d | |||
7973a8d59b | |||
f5d8f653af | |||
e1600e5aba |
Binary file not shown.
@@ -2,7 +2,7 @@
|
|||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: EAPMethods\n"
|
"Project-Id-Version: EAPMethods\n"
|
||||||
"POT-Creation-Date: 2016-06-10 12:06+0200\n"
|
"POT-Creation-Date: 2016-08-25 10:43+0200\n"
|
||||||
"PO-Revision-Date: 2016-06-02 12:27+0200\n"
|
"PO-Revision-Date: 2016-06-02 12:27+0200\n"
|
||||||
"Last-Translator: Simon Rozman <simon.rozman@amebis.si>\n"
|
"Last-Translator: Simon Rozman <simon.rozman@amebis.si>\n"
|
||||||
"Language-Team: Amebis, d. o. o., Kamnik <info@amebis.si>\n"
|
"Language-Team: Amebis, d. o. o., Kamnik <info@amebis.si>\n"
|
||||||
@@ -11,8 +11,6 @@ msgstr ""
|
|||||||
"Content-Transfer-Encoding: 8bit\n"
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
"X-Generator: Poedit 1.8.8\n"
|
"X-Generator: Poedit 1.8.8\n"
|
||||||
"X-Poedit-Basepath: ../..\n"
|
"X-Poedit-Basepath: ../..\n"
|
||||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
||||||
"Language: en_US\n"
|
|
||||||
"X-Poedit-SourceCharset: UTF-8\n"
|
"X-Poedit-SourceCharset: UTF-8\n"
|
||||||
"X-Poedit-KeywordsList: _\n"
|
"X-Poedit-KeywordsList: _\n"
|
||||||
"X-Poedit-SearchPath-0: lib/EAPBase_UI\n"
|
"X-Poedit-SearchPath-0: lib/EAPBase_UI\n"
|
||||||
@@ -21,70 +19,203 @@ msgstr ""
|
|||||||
"X-Poedit-SearchPath-3: lib/TTLS_UI\n"
|
"X-Poedit-SearchPath-3: lib/TTLS_UI\n"
|
||||||
"X-Poedit-SearchPath-4: EAPMethods\n"
|
"X-Poedit-SearchPath-4: EAPMethods\n"
|
||||||
|
|
||||||
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:123 lib/EAPBase_UI/res/wxEAP_UI.cpp:200
|
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:37
|
||||||
|
msgid "Advanced..."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:38
|
||||||
|
msgid "Opens dialog with provider settings"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:174 lib/EAPBase_UI/res/wxEAP_UI.cpp:296
|
||||||
msgid "Client Credentials"
|
msgid "Client Credentials"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:134
|
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:185
|
||||||
msgid "Manage your credentials stored in Windows Credential Manager."
|
msgid "Manage credentials used to connect."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:144
|
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:198
|
||||||
msgid "Identity:"
|
msgid "Use &own credentials:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:149
|
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:199
|
||||||
msgid "Enter your user name here (user@domain.org, DOMAINUser, etc.)"
|
msgid "Select this option if you have your unique credentials to connect"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:159
|
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:204
|
||||||
msgid "&Set Credentials..."
|
msgid "Your credentials loaded from Windows Credential Manager"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:160
|
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:214
|
||||||
msgid "Click here to set or modify your credentials"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:164
|
|
||||||
msgid "&Clear Credentials"
|
msgid "&Clear Credentials"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:165
|
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:215
|
||||||
msgid ""
|
msgid ""
|
||||||
"Click to clear your credentials from Credential Manager.\n"
|
"Click to clear your credentials from Credential Manager.\n"
|
||||||
"Note: You will be prompted to enter credentials when connecting."
|
"Note: You will be prompted to enter credentials when connecting."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:211
|
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:219 lib/EAPBase_UI/res/wxEAP_UI.cpp:252
|
||||||
|
msgid "&Set Credentials..."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:220 lib/EAPBase_UI/res/wxEAP_UI.cpp:253
|
||||||
|
msgid "Click here to set or modify your credentials"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:236
|
||||||
|
msgid "Use &pre-shared credentials:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:237
|
||||||
|
msgid "Select this options if all clients connect using the same credentials"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:242
|
||||||
|
msgid "Common (pre-shared) credentials"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:307
|
||||||
msgid "Please provide your user ID and password."
|
msgid "Please provide your user ID and password."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:221
|
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:317
|
||||||
msgid "User ID:"
|
msgid "User ID:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:226
|
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:322
|
||||||
msgid "Enter your user name here (user@domain.org, DOMAIN\\User, etc.)"
|
msgid "Enter your user name here (user@domain.org, DOMAIN\\User, etc.)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:230
|
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:326
|
||||||
msgid "Password:"
|
msgid "Password:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:235
|
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:331
|
||||||
msgid "Enter your password here"
|
msgid "Enter your password here"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:242 lib/TLS_UI/res/wxTLS_UI.cpp:164
|
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:338 lib/TLS_UI/res/wxTLS_UI.cpp:183
|
||||||
msgid "&Remember"
|
msgid "&Remember"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:243
|
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:339
|
||||||
msgid "Check if you would like to save username and password"
|
msgid "Check if you would like to save username and password"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/PAP_UI/src/PAP_UI.cpp:41
|
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:361
|
||||||
msgid "This method requires no additional settings."
|
msgid "Your Organization"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:372
|
||||||
|
msgid "Describe your organization to customize user prompts. When organization is introduced, end-users find program messages easier to understand and act."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:379
|
||||||
|
msgid "Your organization &name:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:384
|
||||||
|
msgid "Your organization name as it will appear on helpdesk contact notifications"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:388
|
||||||
|
msgid "(Keep it short, please)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:398
|
||||||
|
msgid "Helpdesk contact &information:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:408
|
||||||
|
msgid "¶"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:415
|
||||||
|
msgid "Your helpdesk website address"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:419
|
||||||
|
msgid "*"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:426
|
||||||
|
msgid "Your helpdesk e-mail address"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:430
|
||||||
|
msgid ")"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:437
|
||||||
|
msgid "Your helpdesk phone number"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:471
|
||||||
|
msgid "Configuration Lock"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:482
|
||||||
|
msgid "Your configuration can be locked to prevent accidental modification by end-users. Users will only be allowed to enter credentials."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:489
|
||||||
|
msgid "&Lock this configuration and prevent any further modification via user interface."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/res/wxEAP_UI.cpp:492
|
||||||
|
msgid "(Warning: Once locked, you can not revert using this dialog!)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/src/EAP_UI.cpp:88
|
||||||
|
#, c-format
|
||||||
|
msgid "%s Credentials"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/src/EAP_UI.cpp:118
|
||||||
|
#, c-format
|
||||||
|
msgid "For additional help and instructions, please contact %s at:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/src/EAP_UI.cpp:120
|
||||||
|
#, c-format
|
||||||
|
msgid "your %ls provider"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/src/EAP_UI.cpp:120
|
||||||
|
msgid "your provider"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/src/EAP_UI.cpp:139
|
||||||
|
msgid "Open the default web browser"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/src/EAP_UI.cpp:150
|
||||||
|
msgid "Open your e-mail program"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/src/EAP_UI.cpp:161
|
||||||
|
msgid "Dial the phone number"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/src/EAP_UI.cpp:180
|
||||||
|
#, c-format
|
||||||
|
msgid "%s has pre-set parts of this configuration. Those parts are locked to prevent accidental modification."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/src/EAP_UI.cpp:182
|
||||||
|
#, c-format
|
||||||
|
msgid "Your %ls provider"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/src/EAP_UI.cpp:182
|
||||||
|
msgid "Your provider"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/src/EAP_UI.cpp:201
|
||||||
|
msgid "Previous attempt to connect failed. Please, make sure your credentials are correct, or try again later."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/TLS_UI/res/wxTLS_UI.cpp:17
|
#: lib/TLS_UI/res/wxTLS_UI.cpp:17
|
||||||
@@ -132,11 +263,11 @@ msgid "Acceptable server &names:"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/TLS_UI/res/wxTLS_UI.cpp:77
|
#: lib/TLS_UI/res/wxTLS_UI.cpp:77
|
||||||
msgid "A semicolon delimited list of acceptable server FQDN names; blank to skip name check; \"*\" wildchar allowed"
|
msgid "A semicolon delimited list of acceptable server FQDN names; blank to skip name check; Unicode characters allowed"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/TLS_UI/res/wxTLS_UI.cpp:81
|
#: lib/TLS_UI/res/wxTLS_UI.cpp:81
|
||||||
msgid "(Example: foo.bar.com;*.domain.org)"
|
msgid "(Example: foo.bar.com;server2.bar.com)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/TLS_UI/res/wxTLS_UI.cpp:120
|
#: lib/TLS_UI/res/wxTLS_UI.cpp:120
|
||||||
@@ -167,48 +298,59 @@ msgstr ""
|
|||||||
msgid "Client certificate to use for authentication"
|
msgid "Client certificate to use for authentication"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/TLS_UI/res/wxTLS_UI.cpp:165
|
#: lib/TLS_UI/res/wxTLS_UI.cpp:167
|
||||||
|
msgid "Custom &identity:"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/TLS_UI/res/wxTLS_UI.cpp:172
|
||||||
|
msgid "Your identity (username@domain) to override one from certificate; or blank to use one provided in certificate"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/TLS_UI/res/wxTLS_UI.cpp:176
|
||||||
|
msgid "(Example: user@contoso.com)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/TLS_UI/res/wxTLS_UI.cpp:184
|
||||||
msgid "Check if you would like to save certificate selection"
|
msgid "Check if you would like to save certificate selection"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/TLS_UI/src/TLS_UI.cpp:199
|
#: lib/TLS_UI/src/TLS_UI.cpp:118
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Invalid character in host name found: %c"
|
msgid "Invalid character in host name found: %c"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/TLS_UI/src/TLS_UI.cpp:199
|
#: lib/TLS_UI/src/TLS_UI.cpp:118
|
||||||
msgid "Validation conflict"
|
msgid "Validation conflict"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/TLS_UI/src/TLS_UI.cpp:551
|
#: lib/TLS_UI/src/TLS_UI.cpp:514
|
||||||
msgid "Add Certificate"
|
msgid "Add Certificate"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/TLS_UI/src/TLS_UI.cpp:552
|
#: lib/TLS_UI/src/TLS_UI.cpp:515
|
||||||
msgid "Certificate Files (*.cer;*.crt;*.der;*.p7b;*.pem)"
|
msgid "Certificate Files (*.cer;*.crt;*.der;*.p7b;*.pem)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/TLS_UI/src/TLS_UI.cpp:553
|
#: lib/TLS_UI/src/TLS_UI.cpp:516
|
||||||
msgid "X.509 Certificate Files (*.cer;*.crt;*.der;*.pem)"
|
msgid "X.509 Certificate Files (*.cer;*.crt;*.der;*.pem)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/TLS_UI/src/TLS_UI.cpp:554
|
#: lib/TLS_UI/src/TLS_UI.cpp:517
|
||||||
msgid "PKCS #7 Certificate Files (*.p7b)"
|
msgid "PKCS #7 Certificate Files (*.p7b)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/TLS_UI/src/TLS_UI.cpp:555
|
#: lib/TLS_UI/src/TLS_UI.cpp:518
|
||||||
msgid "All Files (*.*)"
|
msgid "All Files (*.*)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/TLS_UI/src/TLS_UI.cpp:571
|
#: lib/TLS_UI/src/TLS_UI.cpp:534
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Invalid or unsupported certificate file %s"
|
msgid "Invalid or unsupported certificate file %s"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/TLS_UI/src/TLS_UI.cpp:571
|
#: lib/TLS_UI/src/TLS_UI.cpp:534
|
||||||
#, fuzzy
|
|
||||||
msgid "Error"
|
msgid "Error"
|
||||||
msgstr "Napaka pri nalaganju knjižnice MSI.DLL (%1!ld!)."
|
msgstr ""
|
||||||
|
|
||||||
#: lib/TTLS_UI/res/wxTTLS_UI.cpp:17
|
#: lib/TTLS_UI/res/wxTTLS_UI.cpp:17
|
||||||
msgid "Outer Identity"
|
msgid "Outer Identity"
|
||||||
@@ -219,7 +361,7 @@ msgid "Select the user ID supplicant introduces itself as to authenticator:"
|
|||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/TTLS_UI/res/wxTTLS_UI.cpp:35
|
#: lib/TTLS_UI/res/wxTTLS_UI.cpp:35
|
||||||
msgid "&Same as inner identity"
|
msgid "&True identity"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/TTLS_UI/res/wxTTLS_UI.cpp:36
|
#: lib/TTLS_UI/res/wxTTLS_UI.cpp:36
|
||||||
@@ -246,96 +388,93 @@ msgstr ""
|
|||||||
msgid "Custom outer identity to use"
|
msgid "Custom outer identity to use"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/TTLS_UI/src/TTLS_UI.cpp:92
|
#: lib/TTLS_UI/src/Module.cpp:231 lib/TTLS_UI/src/Module.cpp:241
|
||||||
msgid "Outer Authentication"
|
#: lib/EAPBase_UI/include/EAP_UI.h:582
|
||||||
|
#, c-format
|
||||||
|
msgid "Error writing credentials to Credential Manager: %hs (error %u)"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/TTLS_UI/src/TTLS_UI.cpp:105
|
#: lib/TTLS_UI/src/Module.cpp:233 lib/TTLS_UI/src/Module.cpp:243
|
||||||
|
#: lib/EAPBase_UI/include/EAP_UI.h:584
|
||||||
|
msgid "Writing credentials failed."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/TTLS_UI/src/TTLS_UI.cpp:108 lib/TTLS_UI/src/TTLS_UI.cpp:215
|
||||||
msgid "Inner Authentication"
|
msgid "Inner Authentication"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/TTLS_UI/src/TTLS_UI.cpp:111
|
#: lib/TTLS_UI/src/TTLS_UI.cpp:114
|
||||||
msgid "Select inner authentication method from the list"
|
msgid "Select inner authentication method from the list"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/TTLS_UI/src/TTLS_UI.cpp:112
|
#: lib/TTLS_UI/src/TTLS_UI.cpp:116
|
||||||
msgid "PAP"
|
msgid "PAP"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/EAPBase_UI/include/EAP_UI.h:217
|
#: lib/TTLS_UI/src/TTLS_UI.cpp:121 lib/TTLS_UI/src/TTLS_UI.cpp:236
|
||||||
|
msgid "Outer Authentication"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/include/EAP_UI.h:253
|
||||||
|
msgid "EAP Credentials"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/include/EAP_UI.h:422
|
||||||
|
msgid "Provider Settings"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/include/EAP_UI.h:502 lib/EAPBase_UI/include/EAP_UI.h:529
|
||||||
msgid "<blank>"
|
msgid "<blank>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/EAPBase_UI/include/EAP_UI.h:223
|
#: lib/EAPBase_UI/include/EAP_UI.h:508
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "<error %u>"
|
msgid "<error %u>"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/EAPBase_UI/include/EAP_UI.h:246
|
#: lib/EAPBase_UI/include/EAP_UI.h:568
|
||||||
|
#, c-format
|
||||||
|
msgid "Error reading credentials from Credential Manager: %hs (error %u)"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/include/EAP_UI.h:570
|
||||||
|
msgid "Reading credentials failed."
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: lib/EAPBase_UI/include/EAP_UI.h:595
|
||||||
#, c-format
|
#, c-format
|
||||||
msgid "Deleting credentials failed (error %u)."
|
msgid "Deleting credentials failed (error %u)."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/EAPBase_UI/include/EAP_UI.h:300
|
#: lib/EAPBase_UI/include/EAP_UI.h:817
|
||||||
#, c-format
|
msgid "<Your Organization>"
|
||||||
msgid "Error reading credentials from Credential Manager: %ls (error %u)"
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/EAPBase_UI/include/EAP_UI.h:303
|
#: lib/EAPBase_UI/res/wxEAP_UI.h:60
|
||||||
#, c-format
|
|
||||||
msgid "Reading credentials failed (error %u)."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/EAPBase_UI/include/EAP_UI.h:318
|
|
||||||
#, c-format
|
|
||||||
msgid "Error writing credentials to Credential Manager: %ls (error %u)"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/EAPBase_UI/include/EAP_UI.h:321
|
|
||||||
#, c-format
|
|
||||||
msgid "Writing credentials failed (error %u)."
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: lib/EAPBase_UI/res/wxEAP_UI.h:56
|
|
||||||
msgid "EAP Method Configuration"
|
msgid "EAP Method Configuration"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: lib/EAPBase_UI/res/wxEAP_UI.h:81
|
|
||||||
msgid "EAP Credentials"
|
|
||||||
msgstr ""
|
|
||||||
|
|
||||||
#: EAPMethods/MSIBuild/En.Win32.Debug.Feature-2.idtx:3
|
|
||||||
#: EAPMethods/MSIBuild/En.Win32.Release.Feature-2.idtx:3
|
#: EAPMethods/MSIBuild/En.Win32.Release.Feature-2.idtx:3
|
||||||
#: EAPMethods/MSIBuild/En.x64.Debug.Feature-2.idtx:3
|
|
||||||
#: EAPMethods/MSIBuild/En.x64.Release.Feature-2.idtx:3
|
#: EAPMethods/MSIBuild/En.x64.Release.Feature-2.idtx:3
|
||||||
#, fuzzy
|
|
||||||
msgid "1252"
|
msgid "1252"
|
||||||
msgstr "1250"
|
|
||||||
|
|
||||||
#: EAPMethods/MSIBuild/En.Win32.Debug.Feature-2.idtx:4
|
|
||||||
#: EAPMethods/MSIBuild/En.Win32.Release.Feature-2.idtx:4
|
|
||||||
#: EAPMethods/MSIBuild/En.x64.Debug.Feature-2.idtx:4
|
|
||||||
#: EAPMethods/MSIBuild/En.x64.Release.Feature-2.idtx:4
|
|
||||||
msgid "EAP Peer Methods"
|
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: EAPMethods/MSIBuild/En.Win32.Debug.Feature-2.idtx:4
|
|
||||||
#: EAPMethods/MSIBuild/En.Win32.Release.Feature-2.idtx:4
|
#: EAPMethods/MSIBuild/En.Win32.Release.Feature-2.idtx:4
|
||||||
#: EAPMethods/MSIBuild/En.x64.Debug.Feature-2.idtx:4
|
#: EAPMethods/MSIBuild/En.x64.Release.Feature-2.idtx:4
|
||||||
|
msgid "EAP Methods"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#: EAPMethods/MSIBuild/En.Win32.Release.Feature-2.idtx:4
|
||||||
#: EAPMethods/MSIBuild/En.x64.Release.Feature-2.idtx:4
|
#: EAPMethods/MSIBuild/En.x64.Release.Feature-2.idtx:4
|
||||||
msgid "Modules to support individual EAP methods"
|
msgid "Modules to support individual EAP methods"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: EAPMethods/MSIBuild/En.Win32.Debug.Feature-2.idtx:5
|
|
||||||
#: EAPMethods/MSIBuild/En.Win32.Release.Feature-2.idtx:5
|
#: EAPMethods/MSIBuild/En.Win32.Release.Feature-2.idtx:5
|
||||||
#: EAPMethods/MSIBuild/En.x64.Debug.Feature-2.idtx:5
|
|
||||||
#: EAPMethods/MSIBuild/En.x64.Release.Feature-2.idtx:5
|
#: EAPMethods/MSIBuild/En.x64.Release.Feature-2.idtx:5
|
||||||
msgid "TTLS"
|
msgid "TTLS"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: EAPMethods/MSIBuild/En.Win32.Debug.Feature-2.idtx:5
|
|
||||||
#: EAPMethods/MSIBuild/En.Win32.Release.Feature-2.idtx:5
|
#: EAPMethods/MSIBuild/En.Win32.Release.Feature-2.idtx:5
|
||||||
#: EAPMethods/MSIBuild/En.x64.Debug.Feature-2.idtx:5
|
|
||||||
#: EAPMethods/MSIBuild/En.x64.Release.Feature-2.idtx:5
|
#: EAPMethods/MSIBuild/En.x64.Release.Feature-2.idtx:5
|
||||||
msgid "Tunneled Transport Layer Security"
|
msgid "Tunneled Transport Layer Security"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@@ -29,7 +29,7 @@
|
|||||||
// Product version as a single DWORD
|
// Product version as a single DWORD
|
||||||
// Note: Used for version comparison within C/C++ code.
|
// Note: Used for version comparison within C/C++ code.
|
||||||
//
|
//
|
||||||
#define PRODUCT_VERSION 0x00ff0b00
|
#define PRODUCT_VERSION 0x00ff0c00
|
||||||
|
|
||||||
//
|
//
|
||||||
// Product version by components
|
// Product version by components
|
||||||
@@ -39,26 +39,26 @@
|
|||||||
//
|
//
|
||||||
#define PRODUCT_VERSION_MAJ 0
|
#define PRODUCT_VERSION_MAJ 0
|
||||||
#define PRODUCT_VERSION_MIN 255
|
#define PRODUCT_VERSION_MIN 255
|
||||||
#define PRODUCT_VERSION_REV 11
|
#define PRODUCT_VERSION_REV 12
|
||||||
#define PRODUCT_VERSION_BUILD 0
|
#define PRODUCT_VERSION_BUILD 0
|
||||||
|
|
||||||
//
|
//
|
||||||
// Human readable product version and build year for UI
|
// Human readable product version and build year for UI
|
||||||
//
|
//
|
||||||
#define PRODUCT_VERSION_STR "1.0-alpha11"
|
#define PRODUCT_VERSION_STR "1.0-alpha12"
|
||||||
#define PRODUCT_BUILD_YEAR_STR "2016"
|
#define PRODUCT_BUILD_YEAR_STR "2016"
|
||||||
|
|
||||||
//
|
//
|
||||||
// Numerical version presentation for ProductVersion propery in
|
// Numerical version presentation for ProductVersion propery in
|
||||||
// MSI packages (syntax: N.N[.N[.N]])
|
// MSI packages (syntax: N.N[.N[.N]])
|
||||||
//
|
//
|
||||||
#define PRODUCT_VERSION_INST "0.255.11"
|
#define PRODUCT_VERSION_INST "0.255.12"
|
||||||
|
|
||||||
//
|
//
|
||||||
// The product code for ProductCode property in MSI packages
|
// The product code for ProductCode property in MSI packages
|
||||||
// Replace with new on every version change, regardless how minor it is.
|
// Replace with new on every version change, regardless how minor it is.
|
||||||
//
|
//
|
||||||
#define PRODUCT_VERSION_GUID "{C6CA6AA8-33A4-4867-BB0A-B5F82655D611}"
|
#define PRODUCT_VERSION_GUID "{6F5B0B97-B6BB-4D3E-9FEC-41E6CDC3868F}"
|
||||||
|
|
||||||
//
|
//
|
||||||
// Since the product name is not finally confirmed at the time of
|
// Since the product name is not finally confirmed at the time of
|
||||||
|
@@ -550,7 +550,6 @@ namespace eap
|
|||||||
/// @}
|
/// @}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
GUID m_connection_id; ///< Unique connection ID
|
|
||||||
std::vector<eap::config_provider> m_providers; ///< Array of provider configurations
|
std::vector<eap::config_provider> m_providers; ///< Array of provider configurations
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@@ -614,12 +614,10 @@ void eap::config_provider::operator>>(_Inout_ cursor_in &cursor)
|
|||||||
|
|
||||||
eap::config_connection::config_connection(_In_ module &mod) : config(mod)
|
eap::config_connection::config_connection(_In_ module &mod) : config(mod)
|
||||||
{
|
{
|
||||||
memset(&m_connection_id, 0, sizeof(m_connection_id));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
eap::config_connection::config_connection(_In_ const config_connection &other) :
|
eap::config_connection::config_connection(_In_ const config_connection &other) :
|
||||||
m_connection_id(other.m_connection_id),
|
|
||||||
m_providers(other.m_providers),
|
m_providers(other.m_providers),
|
||||||
config(other)
|
config(other)
|
||||||
{
|
{
|
||||||
@@ -627,7 +625,6 @@ eap::config_connection::config_connection(_In_ const config_connection &other) :
|
|||||||
|
|
||||||
|
|
||||||
eap::config_connection::config_connection(_Inout_ config_connection &&other) :
|
eap::config_connection::config_connection(_Inout_ config_connection &&other) :
|
||||||
m_connection_id(std::move(other.m_connection_id)),
|
|
||||||
m_providers(std::move(other.m_providers)),
|
m_providers(std::move(other.m_providers)),
|
||||||
config(std::move(other))
|
config(std::move(other))
|
||||||
{
|
{
|
||||||
@@ -637,9 +634,8 @@ eap::config_connection::config_connection(_Inout_ config_connection &&other) :
|
|||||||
eap::config_connection& eap::config_connection::operator=(_In_ const config_connection &other)
|
eap::config_connection& eap::config_connection::operator=(_In_ const config_connection &other)
|
||||||
{
|
{
|
||||||
if (this != &other) {
|
if (this != &other) {
|
||||||
(config&)*this = other;
|
(config&)*this = other;
|
||||||
m_connection_id = other.m_connection_id;
|
m_providers = other.m_providers;
|
||||||
m_providers = other.m_providers;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return *this;
|
return *this;
|
||||||
@@ -650,7 +646,6 @@ eap::config_connection& eap::config_connection::operator=(_Inout_ config_connect
|
|||||||
{
|
{
|
||||||
if (this != &other) {
|
if (this != &other) {
|
||||||
(config&&)*this = std::move(other);
|
(config&&)*this = std::move(other);
|
||||||
m_connection_id = std::move(other.m_connection_id);
|
|
||||||
m_providers = std::move(other.m_providers);
|
m_providers = std::move(other.m_providers);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -698,9 +693,6 @@ void eap::config_connection::load(_In_ IXMLDOMNode *pConfigRoot)
|
|||||||
|
|
||||||
config::load(pConfigRoot);
|
config::load(pConfigRoot);
|
||||||
|
|
||||||
// On each configuration import reset ID.
|
|
||||||
CoCreateGuid(&m_connection_id);
|
|
||||||
|
|
||||||
// Iterate authentication providers (<EAPIdentityProvider>).
|
// Iterate authentication providers (<EAPIdentityProvider>).
|
||||||
com_obj<IXMLDOMNodeList> pXmlListProviders;
|
com_obj<IXMLDOMNodeList> pXmlListProviders;
|
||||||
if (FAILED(hr = eapxml::select_nodes(pConfigRoot, bstr(L"eap-metadata:EAPIdentityProviderList/eap-metadata:EAPIdentityProvider"), &pXmlListProviders)))
|
if (FAILED(hr = eapxml::select_nodes(pConfigRoot, bstr(L"eap-metadata:EAPIdentityProviderList/eap-metadata:EAPIdentityProvider"), &pXmlListProviders)))
|
||||||
@@ -725,7 +717,6 @@ void eap::config_connection::load(_In_ IXMLDOMNode *pConfigRoot)
|
|||||||
void eap::config_connection::operator<<(_Inout_ cursor_out &cursor) const
|
void eap::config_connection::operator<<(_Inout_ cursor_out &cursor) const
|
||||||
{
|
{
|
||||||
config::operator<<(cursor);
|
config::operator<<(cursor);
|
||||||
cursor << m_connection_id;
|
|
||||||
cursor << m_providers;
|
cursor << m_providers;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -734,8 +725,7 @@ size_t eap::config_connection::get_pk_size() const
|
|||||||
{
|
{
|
||||||
return
|
return
|
||||||
config::get_pk_size() +
|
config::get_pk_size() +
|
||||||
pksizeof(m_connection_id) +
|
pksizeof(m_providers);
|
||||||
pksizeof(m_providers );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -743,8 +733,6 @@ void eap::config_connection::operator>>(_Inout_ cursor_in &cursor)
|
|||||||
{
|
{
|
||||||
config::operator>>(cursor);
|
config::operator>>(cursor);
|
||||||
|
|
||||||
cursor >> m_connection_id;
|
|
||||||
|
|
||||||
list<config_provider>::size_type count;
|
list<config_provider>::size_type count;
|
||||||
cursor >> count;
|
cursor >> count;
|
||||||
m_providers.clear();
|
m_providers.clear();
|
||||||
|
@@ -412,7 +412,7 @@ wxEAPProviderIdentityPanelBase::wxEAPProviderIdentityPanelBase( wxWindow* parent
|
|||||||
sb_provider_helpdesk_inner->Add( m_provider_web_icon, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT, 5 );
|
sb_provider_helpdesk_inner->Add( m_provider_web_icon, 0, wxALIGN_CENTER_VERTICAL|wxBOTTOM|wxRIGHT, 5 );
|
||||||
|
|
||||||
m_provider_web = new wxTextCtrl( sb_provider_id->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
m_provider_web = new wxTextCtrl( sb_provider_id->GetStaticBox(), wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
|
||||||
m_provider_web->SetToolTip( _("Your helpdesk website") );
|
m_provider_web->SetToolTip( _("Your helpdesk website address") );
|
||||||
|
|
||||||
sb_provider_helpdesk_inner->Add( m_provider_web, 1, wxEXPAND|wxALIGN_CENTER_VERTICAL|wxBOTTOM, 5 );
|
sb_provider_helpdesk_inner->Add( m_provider_web, 1, wxEXPAND|wxALIGN_CENTER_VERTICAL|wxBOTTOM, 5 );
|
||||||
|
|
||||||
|
@@ -3370,7 +3370,7 @@
|
|||||||
<property name="style"></property>
|
<property name="style"></property>
|
||||||
<property name="subclass"></property>
|
<property name="subclass"></property>
|
||||||
<property name="toolbar_pane">0</property>
|
<property name="toolbar_pane">0</property>
|
||||||
<property name="tooltip">Your helpdesk website</property>
|
<property name="tooltip">Your helpdesk website address</property>
|
||||||
<property name="validator_data_type"></property>
|
<property name="validator_data_type"></property>
|
||||||
<property name="validator_style">wxFILTER_NONE</property>
|
<property name="validator_style">wxFILTER_NONE</property>
|
||||||
<property name="validator_type">wxDefaultValidator</property>
|
<property name="validator_type">wxDefaultValidator</property>
|
||||||
|
Binary file not shown.
@@ -549,7 +549,7 @@ namespace eap
|
|||||||
phase_handshake_cont, ///< Handshake continue
|
phase_handshake_cont, ///< Handshake continue
|
||||||
phase_application_data, ///< Exchange application data
|
phase_application_data, ///< Exchange application data
|
||||||
phase_shutdown, ///< Connection shut down
|
phase_shutdown, ///< Connection shut down
|
||||||
} m_phase; ///< What phase is our communication at?
|
} m_phase, m_phase_prev; ///< What phase is our communication at?
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// The following members are required to avoid memory leakage in get_result()
|
// The following members are required to avoid memory leakage in get_result()
|
||||||
|
@@ -134,6 +134,7 @@ eap::method_tls::method_tls(_In_ module &module, _In_ config_connection &cfg, _I
|
|||||||
m_seq_num_server(0),
|
m_seq_num_server(0),
|
||||||
#else
|
#else
|
||||||
m_phase(phase_unknown),
|
m_phase(phase_unknown),
|
||||||
|
m_phase_prev(phase_unknown),
|
||||||
#endif
|
#endif
|
||||||
m_blob_cfg(NULL),
|
m_blob_cfg(NULL),
|
||||||
#ifdef EAP_USE_NATIVE_CREDENTIAL_CACHE
|
#ifdef EAP_USE_NATIVE_CREDENTIAL_CACHE
|
||||||
@@ -185,6 +186,7 @@ eap::method_tls::method_tls(_Inout_ method_tls &&other) :
|
|||||||
m_sc_queue (std::move(other.m_sc_queue )),
|
m_sc_queue (std::move(other.m_sc_queue )),
|
||||||
m_sc_ctx (std::move(other.m_sc_ctx )),
|
m_sc_ctx (std::move(other.m_sc_ctx )),
|
||||||
m_phase (std::move(other.m_phase )),
|
m_phase (std::move(other.m_phase )),
|
||||||
|
m_phase_prev (std::move(other.m_phase_prev )),
|
||||||
#endif
|
#endif
|
||||||
method (std::move(other ))
|
method (std::move(other ))
|
||||||
{
|
{
|
||||||
@@ -252,6 +254,7 @@ eap::method_tls& eap::method_tls::operator=(_Inout_ method_tls &&other)
|
|||||||
m_sc_queue = std::move(other.m_sc_queue );
|
m_sc_queue = std::move(other.m_sc_queue );
|
||||||
m_sc_ctx = std::move(other.m_sc_ctx );
|
m_sc_ctx = std::move(other.m_sc_ctx );
|
||||||
m_phase = std::move(other.m_phase );
|
m_phase = std::move(other.m_phase );
|
||||||
|
m_phase_prev = std::move(other.m_phase_prev );
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -585,6 +588,7 @@ void eap::method_tls::process_request_packet(
|
|||||||
} else
|
} else
|
||||||
m_sc_queue.insert(m_sc_queue.end(), m_packet_req.m_data.begin(), m_packet_req.m_data.end());
|
m_sc_queue.insert(m_sc_queue.end(), m_packet_req.m_data.begin(), m_packet_req.m_data.end());
|
||||||
|
|
||||||
|
m_phase_prev = m_phase;
|
||||||
switch (m_phase) {
|
switch (m_phase) {
|
||||||
case phase_handshake_init:
|
case phase_handshake_init:
|
||||||
case phase_handshake_cont:
|
case phase_handshake_cont:
|
||||||
@@ -729,7 +733,10 @@ void eap::method_tls::get_result(
|
|||||||
}
|
}
|
||||||
|
|
||||||
case EapPeerMethodResultFailure:
|
case EapPeerMethodResultFailure:
|
||||||
m_module.log_event(&EAPMETHOD_TLS_FAILURE, event_data((unsigned int)eap_type_tls), event_data::blank);
|
m_module.log_event(
|
||||||
|
m_phase_prev < phase_handshake_cont ? &EAPMETHOD_TLS_FAILURE_INIT :
|
||||||
|
m_phase_prev < phase_application_data ? &EAPMETHOD_TLS_FAILURE_HANDSHAKE : &EAPMETHOD_TLS_FAILURE,
|
||||||
|
event_data((unsigned int)eap_type_tls), event_data::blank);
|
||||||
|
|
||||||
#if EAP_TLS < EAP_TLS_SCHANNEL
|
#if EAP_TLS < EAP_TLS_SCHANNEL
|
||||||
// Clear session resumption data.
|
// Clear session resumption data.
|
||||||
@@ -738,7 +745,8 @@ void eap::method_tls::get_result(
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Mark credentials as failed, so GUI can re-prompt user.
|
// Mark credentials as failed, so GUI can re-prompt user.
|
||||||
cfg_method->m_auth_failed = true;
|
// But be careful: do so only if this happened after transition from handshake to application data phase.
|
||||||
|
cfg_method->m_auth_failed = m_phase_prev < phase_application_data && m_phase >= phase_application_data;
|
||||||
|
|
||||||
// Do not report failure to EAPHost, as it will not save updated configuration then. But we need it to save it, to alert user on next connection attempt.
|
// Do not report failure to EAPHost, as it will not save updated configuration then. But we need it to save it, to alert user on next connection attempt.
|
||||||
// EAPHost is well aware of the failed condition.
|
// EAPHost is well aware of the failed condition.
|
||||||
@@ -1319,7 +1327,6 @@ void eap::method_tls::process_handshake()
|
|||||||
|
|
||||||
SECURITY_STATUS status;
|
SECURITY_STATUS status;
|
||||||
if (m_phase == phase_handshake_init) {
|
if (m_phase == phase_handshake_init) {
|
||||||
m_module.log_event(&EAPMETHOD_TLS_HANDSHAKE_START2, event_data((unsigned int)eap_type_tls), event_data::blank);
|
|
||||||
status = m_sc_ctx.initialize(
|
status = m_sc_ctx.initialize(
|
||||||
m_sc_cred,
|
m_sc_cred,
|
||||||
!m_sc_target_name.empty() ? m_sc_target_name.c_str() : NULL,
|
!m_sc_target_name.empty() ? m_sc_target_name.c_str() : NULL,
|
||||||
@@ -1348,10 +1355,10 @@ void eap::method_tls::process_handshake()
|
|||||||
assert(m_sc_ctx.m_attrib & ISC_RET_ALLOCATED_MEMORY);
|
assert(m_sc_ctx.m_attrib & ISC_RET_ALLOCATED_MEMORY);
|
||||||
m_packet_res.m_data.assign((const unsigned char*)buf_out[0].pvBuffer, (const unsigned char*)buf_out[0].pvBuffer + buf_out[0].cbBuffer);
|
m_packet_res.m_data.assign((const unsigned char*)buf_out[0].pvBuffer, (const unsigned char*)buf_out[0].pvBuffer + buf_out[0].cbBuffer);
|
||||||
if (buf_in[1].BufferType == SECBUFFER_EXTRA) {
|
if (buf_in[1].BufferType == SECBUFFER_EXTRA) {
|
||||||
// Server appended extra data. Process it.
|
// Server appended extra data.
|
||||||
process_application_data(&*(m_sc_queue.end() - buf_in[1].cbBuffer), buf_in[1].cbBuffer);
|
m_sc_queue.erase(m_sc_queue.begin(), m_sc_queue.end() - buf_in[1].cbBuffer);
|
||||||
}
|
} else
|
||||||
m_sc_queue.clear();
|
m_sc_queue.clear();
|
||||||
|
|
||||||
if (status == SEC_E_OK) {
|
if (status == SEC_E_OK) {
|
||||||
SecPkgContext_Authority auth;
|
SecPkgContext_Authority auth;
|
||||||
@@ -1377,6 +1384,7 @@ void eap::method_tls::process_handshake()
|
|||||||
m_module.log_event(&EAPMETHOD_TLS_QUERY_FAILED, event_data((unsigned int)SECPKG_ATTR_CONNECTION_INFO), event_data(status), event_data::blank);
|
m_module.log_event(&EAPMETHOD_TLS_QUERY_FAILED, event_data((unsigned int)SECPKG_ATTR_CONNECTION_INFO), event_data(status), event_data::blank);
|
||||||
|
|
||||||
m_phase = phase_application_data;
|
m_phase = phase_application_data;
|
||||||
|
process_application_data(m_sc_queue.data(), m_sc_queue.size());
|
||||||
} else
|
} else
|
||||||
m_phase = phase_handshake_cont;
|
m_phase = phase_handshake_cont;
|
||||||
} else if (status == SEC_E_INCOMPLETE_MESSAGE) {
|
} else if (status == SEC_E_INCOMPLETE_MESSAGE) {
|
||||||
|
@@ -125,7 +125,10 @@ void eap::method_ttls::get_result(
|
|||||||
|
|
||||||
case EapPeerMethodResultFailure:
|
case EapPeerMethodResultFailure:
|
||||||
m_module.log_event(&EAPMETHOD_TTLS_INNER_FAILURE, event_data((unsigned int)eap_type_ttls), event_data::blank);
|
m_module.log_event(&EAPMETHOD_TTLS_INNER_FAILURE, event_data((unsigned int)eap_type_ttls), event_data::blank);
|
||||||
cfg_method->m_inner->m_auth_failed = true;
|
|
||||||
|
// Mark credentials as failed, so GUI can re-prompt user.
|
||||||
|
// But be careful: do so only if this happened after transition from handshake to application data phase.
|
||||||
|
cfg_method->m_inner->m_auth_failed = m_phase_prev < phase_application_data;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
@@ -88,7 +88,6 @@ void eap::peer_ttls_ui::invoke_config_ui(
|
|||||||
unpack(cfg, pConnectionDataIn, dwConnectionDataInSize);
|
unpack(cfg, pConnectionDataIn, dwConnectionDataInSize);
|
||||||
} else {
|
} else {
|
||||||
// This is a blank network profile. Create default configuraton.
|
// This is a blank network profile. Create default configuraton.
|
||||||
CoCreateGuid(&(cfg.m_connection_id));
|
|
||||||
|
|
||||||
// Start with PAP inner configuration.
|
// Start with PAP inner configuration.
|
||||||
unique_ptr<config_method_ttls> cfg_method(new config_method_ttls(*this));
|
unique_ptr<config_method_ttls> cfg_method(new config_method_ttls(*this));
|
||||||
|
Reference in New Issue
Block a user