Commit Graph

75 Commits

Author SHA1 Message Date
Simon Rozman
d945ccac73 Prevent empty credentials
Always require identity (username).

Zero passwords are no security. Prevent zero passwords too.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-04-17 14:56:26 +02:00
Simon Rozman
dedaee0693 UI: Upgrade wxFromBuilder
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-07 13:10:59 +01:00
Simon Rozman
0aab5f2e94 UI touch-up
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-07 13:10:58 +01:00
Simon Rozman
4dad574377 Rename StdAfx.h to PCH.h
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-07 13:10:58 +01:00
Simon Rozman
6e97a04bfe credentials_tls: Keep thumbprint rather than client certificate
By storing the client certificate the certificate became detached from
its private key stored in user certificate store. This rendered client
certificates useless for client TLS authentication.

Now, the client certificate thumbprint is stored instead. The client
certificate is looked up in the user certificate store as required.

This breaks profile XML and BLOB backward compatibility. Since the
client certificate support was broken, nobody probably used those in
the settings before.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-07 13:10:57 +01:00
Simon Rozman
33e765adcd Cleanup
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-07 13:10:56 +01:00
Simon Rozman
b3291ff8b1 Remove excessive UTF-8 BOM marker
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-06 11:53:41 +01:00
Simon Rozman
b49624fc28 Revise _CRT_SECURE_NO_WARNINGS coverage
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-06 11:53:40 +01:00
Simon Rozman
1cc7b1a3a0 Simplify .vcxproj and .props
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-06 11:53:39 +01:00
Simon Rozman
68729cdcd9 Documentation update
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-06 11:53:39 +01:00
Simon Rozman
059710d83c Update Copyright year
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-05 11:45:51 +01:00
Simon Rozman
fac33ee0b1 Remove UTF-8 BOM
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-11-28 17:04:16 +01:00
Simon Rozman
6fb5cb88d2 Address code analysis warnings
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-09-04 13:11:48 +02:00
Simon Rozman
0e69fb175c Upgrade to Visual Studio 2019
Signed-off-by: Simon Rozman <simon@rozman.si>
2019-06-14 10:54:41 +02:00
Simon Rozman
10297c7ab3 Make GUI DPI-aware 2018-09-17 11:43:19 +02:00
Simon Rozman
1879d00bf9 Add support for ARM64 platform 2018-09-07 10:39:20 +02:00
Simon Rozman
0602285220 Switch to Visual Studio 2017 2018-09-05 14:56:08 +02:00
Simon Rozman
352ad4f9d2 Stop using <> parentheses to avoid XML/HTML markup
Transifex treats strings enclosed in <> as HTML.
2018-06-20 14:59:52 +02:00
Simon Rozman
d4cc3053a6 Clean-up 2017-02-23 12:09:00 +01:00
Simon Rozman
60aa513375 Aesthetic modifications 2016-11-03 09:33:25 +01:00
Simon Rozman
d234e55ae4 - Doxygen documentation updated
- Some minor issues stumbled upon fixed
- WIN1250 >> UTF-8
2016-11-02 01:25:38 +01:00
Simon Rozman
c31e019cef eap::metod thorough redesign:
- Support for method stacking introduced
- EAP-TLS method has been discontinued
- ownTLS has been discontinued
2016-10-31 16:58:53 +01:00
Simon Rozman
7557bf784a Excessive c_str() removed 2016-10-17 16:37:27 +02:00
Simon Rozman
ee94756655 Missing type-cast preventing correct CA certificate file import fixed
(broken in 559ffc5ead)
2016-10-17 14:04:21 +02:00
Simon Rozman
e4758faba3 Host name and FQDN validators moved to wxExtend; Incorrect FeatureComponent mappings of EventMonitor localization components fixed 2016-10-07 15:28:47 +02:00
Simon Rozman
c53ed21d55 Code clean-up 2016-10-03 14:54:02 +02:00
Simon Rozman
559ffc5ead ID 3. C style pointer casting from security audit fixed 2016-10-03 14:53:50 +02:00
Simon Rozman
13d84c3c4d Various events are propagated to parent classes now 2016-09-30 11:00:23 +02:00
Simon Rozman
1d4a77b96b Remove CA button enable/disable logic fixed after CA list box switched to single selection in c371187edc commit 2016-09-30 11:00:14 +02:00
Simon Rozman
7d986b82d8 OnUpdateUI events are propagated to parent classes now 2016-09-30 09:58:00 +02:00
Simon Rozman
52c0c82979 wxEAPCredentials title is no longer static for easier disambiguation between outer and inner credential set in EAP-TTLS configuration dialog
(closes #20)
2016-09-26 11:43:40 +02:00
Simon Rozman
a4b9c36242 Over-paranoid Debug Alert with empty certificate list resolved
- The "<empty>" certificate on the list of certificates has now wxCertificateClientData of NULL to declare wxChoice will use client object data;
- wxChoice selection index and availability of client object data are now verified before wxChoice::GetClientObject() call is made
(closes #21)
2016-09-26 11:11:10 +02:00
Simon Rozman
9b14bd023f Synced with credmerge branch 2016-09-23 05:37:38 +02:00
Simon Rozman
1ccfb58af1 Credential prompt panel labels edited 2016-09-22 11:56:21 +02:00
Simon Rozman
c99be50152 wxEAPCredentialsPromptPanel >> wxEAPCredentialsPanel, wxEAPTLSServerTrustConfigPanelBase >> wxTLSServerTrustPanelBase 2016-09-22 11:21:23 +02:00
Simon Rozman
2039936823 TLS credential panel simplified 2016-09-22 11:12:06 +02:00
Simon Rozman
49e3cee12d GUI icons revised 2016-09-22 11:10:01 +02:00
Simon Rozman
10054b0240 wxEAPCredentialsPromptTLSPanel >> wxTLSCredentialsPanel 2016-09-22 11:06:11 +02:00
Simon Rozman
2b232ba443 Checkbox for remembering credential is added dynamically (on demand) now to reduce GUI clutter 2016-09-21 11:44:34 +02:00
Simon Rozman
1acea44cf4 Client certificate selection simplified 2016-09-21 10:48:45 +02:00
Simon Rozman
081b6a6b6f wxEAPCredentialsPanel >> wxEAPCredentialsPromptPanel 2016-09-21 10:17:04 +02:00
Simon Rozman
c6c72bf9f2 wxEAPCredentialsPromptTLSPanelBase is derived from wxEAPCredentialsPanelBase now 2016-09-21 10:05:52 +02:00
Simon Rozman
ed0462e1a4 Credential entry panels renamed 2016-09-21 09:49:34 +02:00
Simon Rozman
0ab18017cd Pre-shared >> Configured credentials, Own >> Stored credentials 2016-09-21 09:43:02 +02:00
Simon Rozman
4f736d8406 GUI text changed 2016-09-20 11:14:31 +02:00
Simon Rozman
5641920537 "*" wildchar in TLS host names allowed now 2016-09-13 12:13:29 +02:00
Simon Rozman
0095ebbff6 Provider identity is now coherent to draft-winter-opsawg-eap-metadata-02 2016-09-02 19:24:47 +02:00
Simon Rozman
145c21682e Support for configuring provider ID using GUI added 2016-08-31 17:41:22 +02:00
Simon Rozman
7c938fe291 OnUpdateUI() event handlers optimized to reduce ridiculous CPU consumption of GUI & Incorrect page-provider mapping in wxEAPConfigDialog<> fixed 2016-08-28 22:58:41 +02:00
Simon Rozman
e66a7eb9ba dePAPization continues to pave the road for seamless MSCHAPv2 integration 2016-08-28 20:04:45 +02:00