Commit Graph

1005 Commits

Author SHA1 Message Date
Simon Rozman
b96ebfbce4 Switch to SPDX license notice
Signed-off-by: Simon Rozman <simon@rozman.si>
2021-11-22 15:20:57 +01:00
Simon Rozman
0b7b16396a Include full event source registration in Event Monitor MSI too
Should user install EAP methods other than using GÉANTLink provided MSI
files, the event source was only partially registered causing incomplete
event display.

Signed-off-by: Simon Rozman <simon@rozman.si>
2021-11-22 15:20:56 +01:00
Simon Rozman
12ef3059e9 Backport EAPSup code changes
This introduces some PEAP/EAP-TTLS split code, but helps maintain shared
code base.

Signed-off-by: Simon Rozman <simon@rozman.si>
2021-11-22 15:20:56 +01:00
Simon Rozman
1994da974a Backport EAPSup project changes
Signed-off-by: Simon Rozman <simon@rozman.si>
2021-11-20 08:17:12 +01:00
Simon Rozman
2862faba73 Fix UTF-8 encoding
Signed-off-by: Simon Rozman <simon@rozman.si>
2021-11-20 08:14:44 +01:00
Simon Rozman
ddf6ce6997 Update translations from Transifex
Signed-off-by: Simon Rozman <simon@rozman.si>
2021-11-19 16:18:16 +01:00
Simon Rozman
e1707cfb01 Use environment to detect MSI tools path
Signed-off-by: Simon Rozman <simon@rozman.si>
2021-11-19 15:58:57 +01:00
Simon Rozman
b00f379655 Resolve charset .idtx/.idt confusion
NMake inline files are always created using ACP. The "1252" in the .idtx
header has no effect on this. However, we must encode the .idt files
using correct charset/codepage regardless the ACP being used on the
building machine.

Signed-off-by: Simon Rozman <simon@rozman.si>
2021-11-19 15:55:31 +01:00
Simon Rozman
44e02e51e3 Remove excessive semicolon 2021-11-19 15:48:48 +01:00
Simon Rozman
1f6716b279 Cleanup WINSTD_NOVTABLE/__declspec(novtable)
This was originally intended as a compiler hint.

Signed-off-by: Simon Rozman <simon@rozman.si>
2021-11-19 15:48:06 +01:00
Simon Rozman
71976a8a0b wxExtend: bump
Signed-off-by: Simon Rozman <simon@rozman.si>
2021-11-19 15:46:04 +01:00
Simon Rozman
78478a203f Delegate memory leak detection to CRT
_CrtDumpMemoryLeaks() direct call misreports heap allocations owned by
globally initialized objects.

Using _CRTDBG_LEAK_CHECK_DF delays the memory leak check until after
globally initialized objects are destroyed.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-06-29 15:46:00 +02:00
Simon Rozman
682dc048e9 Migrate manual DLL registration to DllRegisterServer()
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-06-29 15:45:44 +02:00
Simon Rozman
51fa08cc71 wxExtend: bump
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-06-29 15:40:15 +02:00
Simon Rozman
2e9f073e94 Fix Events project and move .rc to res
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-06-29 15:40:15 +02:00
Simon Rozman
dd9cd83400 Output error text when event information retrieval fails
In some cases Event Monitor reported blank event text. I am suspecting
the TdhGetEventInformation() fails for some reason resulting in a silent
failure to return event text.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-06-29 15:40:15 +02:00
Simon Rozman
d113388a69 Remove TortoiseGit settings
Git client choice is not a thing of the repository, but individual
developer.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-06-29 15:40:14 +02:00
Simon Rozman
d62089d5bd Fix initial keyboard focus
After rearranging the configuration dialog panels, the inner
authentication (PAP) is no longer the topmost panel/control.

Signed-off-by: Simon Rozman <simon@rozman.si>
1.3b
2020-05-13 09:07:54 +02:00
Simon Rozman
a6bdb42ece Deprecate encrypted BLOB checksum
The MD5 checksum was calculated on unencrypted data. This offered a
possibility for a dictionary attack.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-05-13 08:26:07 +02:00
Simon Rozman
7897d0716c MSIBuild: Bump
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-05-13 07:33:42 +02:00
Simon Rozman
842f46dac8 Pre-set version to 1.3b
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-04-20 16:38:53 +02:00
Simon Rozman
b2373c10c7 Import translations from Transifex
Signed-off-by: Simon Rozman <simon@rozman.si>
1.3a
2020-04-20 16:17:27 +02:00
Simon Rozman
3f4afdcb9a Add support for Romanian
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-04-20 16:17:27 +02:00
Simon Rozman
45ee84f9ac Hide GTC response while typing
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-04-20 11:28:49 +02:00
Simon Rozman
96b104f0a6 Prevent empty GTC responses
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-04-20 11:28:49 +02:00
Simon Rozman
8b8690c71a Touch-up radio button and checkbox spacing
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-04-17 15:48:41 +02:00
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
63db62453a Add TortoiseGit settings
This unifies language (spell-checking), Signed-off-by requirement and
icon branding across all clones and working copies.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-04-17 14:45:47 +02:00
Simon Rozman
a7dc7d2525 Make Wingdings icons non-localizable
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-04-17 07:01:11 +02:00
Simon Rozman
ae0085cfdf Update documentation
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-04-14 11:19:52 +02:00
Simon Rozman
fdc1e5cb73 Resolve C5205 warning
Reference: https://developercommunity.visualstudio.com/content/problem/893960/compiling-atlsecurityh-raises-several-c5205-warnin.html
Reference: https://developercommunity.visualstudio.com/idea/937938/msvc-version-1650-preview-20-introduces-a-new-c-wa.html
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-04-14 08:51:34 +02:00
Simon Rozman
9671daecf4 Update documentation
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-03-16 10:12:55 +01:00
Simon Rozman
7d53ec52b7 Makefile: PackageGUID.mak moved to %TEMP%
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-03-03 13:48:31 +01:00
Simon Rozman
709a9e8709 Makefile: Stop digitally signing intermediate packaging files
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-03-03 13:48:31 +01:00
Simon Rozman
e8ff739ca5 Makefile: Simplify intermediate packaging filenames
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-03-03 13:30:54 +01:00
Simon Rozman
5b452a25fe Makefile: Optimize cleaning
NMAKE invocations are costly (slow, no-parallel support).

Rather than pinpoint cleaning of each combination of $(LANG), $(PLAT)
and $(CFG) related files, we do the wildcard cleaning of all packaging
files.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-03-03 13:28:14 +01:00
Simon Rozman
90e21bd6e6 Makefile: Optimize building
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-03-03 13:28:13 +01:00
Simon Rozman
8b9d99a944 Pre-set version to 1.3a
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-03-03 12:47:15 +01:00
Simon Rozman
c81af549bf Set version to 1.3
Signed-off-by: Simon Rozman <simon@rozman.si>
1.3
2020-02-28 14:12:59 +01:00
Simon Rozman
1286bd0b87 Automate source publishing
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-28 14:12:59 +01:00
Simon Rozman
f0e2d2d40d Revert back to "x64" platform designation of deliverables
Renaming MSI and other output files just to unify platform designation
doesn't justify the cause. Not to break other people's installers, the
"AMD64" was renamed back to "x64" in output filenames.

This partially reverts 152e3a9176.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-28 13:37:19 +01:00
Simon Rozman
3fc0f89291 wxExtend: Bump
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-28 10:39:48 +01:00
Simon Rozman
96fede14ed Pull translations from Transifex
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-28 10:14:30 +01:00
Simon Rozman
aadd1c8472 MSI: Change upgrade GUID and perform major upgrade
As component GUIDs changed, but the component path remained, the minor
update will no longer work correctly.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-28 09:50:34 +01:00
Simon Rozman
14726b14d4 Makefile: Revise language list
To speed up building, remove untranslated and severly undertranslated
languages: Bulgarian, Czech, Welsh, Basque, Finnish, French, Gaelish,
Icelandic, Korean, Lithuanian, Dutch, Russian, Slovak, Swedish,
Vietnamese

Enable already translated, but overlooked languages: Hungarian,
Portuguese (Portugal), Turkish

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-28 09:33:38 +01:00
Simon Rozman
9c50c949b1 wxExtend: Bump
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-28 08:22:21 +01:00
Simon Rozman
61d3ef43ad WinStd: Bump
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-28 08:22:03 +01:00
Simon Rozman
152e3a9176 Unify platform designations
- .sln uses the same as .vcxproj and Makefile
- Output MSI files use the same as %PROCESSOR_ARCHITECTURE%

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-08 08:23:08 +01:00
Simon Rozman
ddaf4cc598 EAPMethods: Move build and src files one folder up
Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-07 15:44:47 +01:00
Simon Rozman
8c2225992e TLS: Revise Schannel flags
- SCH_USE_STRONG_CRYPTO is now declared in the Windows SDK included with
  Visual Studio 2019. No need to enter this flag numerically any more.

- m_sc_ctx.initialize() and m_sc_ctx.process() should use same flags.
  They are actually. Rather than copy&paste them, declare them in a
  single place.

- Add ISC_REQ_USE_SUPPLIED_CREDS flag. Use the client certificate we
  supply or none at all.

- Add ISC_REQ_MANUAL_CRED_VALIDATION flag. We validate the server
  certificate.

Signed-off-by: Simon Rozman <simon@rozman.si>
2020-02-07 13:10:59 +01:00