Commit Graph

55 Commits

Author SHA1 Message Date
CONIGUERO
15cbe19006
Refactor/Overhaul (#40)
* major refactor/overhaul
move generation implementation to libumskt/*
decouple CLI/Options (and JSON) from generation implementation
set groundwork for future shared library
use standardized PIDGEN2/PIDGEN3 naming convention
create a Windows Docker file for quick compilation
add Windows resouce file/header so we have an application icon on windows
use icon from @Endermanch (used with permission)
add support for fully-static linux/muslc-based compilation
add support for a dos/windows (i486+) binary using djgpp
add Dockerfile to compile gcc/djgpp/watt32/openssl to provide DOS (DPMI) binaries
add @Endermanch 's Vista+ documentation
update Readme for recent credits

* begin work on C linkage and emscripten buildpath

* Update CMake to include and build Crypto++

* move dllmain.cpp to the correct directory

* add rust port info to README.md

* re-add dropped changes from rebase

* update build config, specify windows XP version number for crypto++

* update dos-djgpp action to use new cmake builder and options

* update dos-djgpp to use UMSKT hosted forks

* update other workflows to include standard header

* remove crypto++ from build config for now

* use the new `shell` parameter in `threeal/cmake-action`
TODO: move to a stable version (v1.3.0) when ready

* use full commit hash because a shortened hash is unsupported

* add the required {0} parameter?

* add openssl 3.1.1 to windows github runners

* ensure linux matrix build compiles on the correct arch

---------

Co-authored-by: Neo <321592+Neo-Desktop@users.noreply.github.com>
2023-07-08 20:08:43 -07:00
Emma
de04746c5e
Command line option to specify serial for generating BINK1998 keys (#33)
* specify pre-set serial on CLI for BINK1998

* fix CLI::printID
2023-07-04 03:20:17 -07:00
Emma
4b60737bb4
Add -V/--validate command line switch (#31)
* add -V/--validate command line switch

* Return success/failure bool on CLI::stripKey

---------

Co-authored-by: Neo <321592+Neo-Desktop@users.noreply.github.com>
2023-06-19 12:41:27 -07:00
TheTank20
bc23fc5233
Hide more things behind --verbose + error correction (#27)
---------

Co-authored-by: WitherOrNot <damemem@gmail.com>
2023-06-18 01:28:20 -07:00
Neo
ca9ccc43ee rebrand WindowsXPKg to UMSKT 2023-06-16 14:58:22 -07:00
Neo
57b2477e44 As per contributor quorum on 17/06/2023 - update license to AGPL
Add known history to files
2023-06-16 12:41:16 -07:00
Andrew
62ab8caf87 [Server] Comment Fix 2 2023-06-14 15:01:56 +03:00
Andrew
7ea57ed136 [Server] Comment Fix 2023-06-14 15:00:56 +03:00
Andrew
529543ceef [XP] Comment Fix 2023-06-14 15:00:12 +03:00
Neo
fa0f832919 ensure values in CLI object are initalized before using them 2023-06-11 07:03:24 -07:00
Andrew
88640191e8 get_rid_of_snake_case() 2023-06-10 20:52:32 +03:00
Andrew
e3b4485aa2 BINK2002 Upgrade Bit 2023-06-10 20:17:18 +03:00
Andrew
34619a2202 Remove a debug oopsie 2023-06-10 19:40:18 +03:00
Andrew
d4d50d9885 BINK1998 Upgrade Bit 2023-06-10 19:38:22 +03:00
Andrew
f11552509a OWORD 2023-06-09 21:07:40 +03:00
WitherOrNot
eed869981b fix installation ID generation 2023-06-08 14:40:11 -04:00
WitherOrNot
947fd48f38 initialize options in CLI 2023-06-07 15:43:45 -04:00
Neo
0b94791ee1
refactor project to use classes (#19) 2023-06-07 12:23:59 -07:00
Andrew
f6755b0c22 [Server] Update comments to make sense at all 2023-06-07 12:27:45 +03:00
Andrew
aa8e5ff8e7 Slight logic tweak for better understanding 2023-06-07 02:34:01 +03:00
Andrew
4f7fb772a5 Further readability improvement 2023-06-07 02:22:36 +03:00
Andrew
cc3900d4d0 Readability uplift 2023-06-07 01:37:42 +03:00
Neo
726be7da20 Revert line 144 of cli.cpp 2023-06-06 15:31:31 -07:00
WitherOrNot
98c8db7e02
merge server and confid with xpkey, add LH keys (#18)
* merge server and confid with xpkey, add LH keys

* improve error handling

* update README.md

* fix line endings

* reorder products section of keys.json

* use options as global variable

* rename genServer to isBink2002

* small refactor

* handle unknown error codepath on confirmation id
remove redundant else for BINK1998 generation

* finish conversion from std::cout -> fmt::print();

---------

Co-authored-by: Neo <321592+Neo-Desktop@users.noreply.github.com>
2023-06-06 15:04:39 -07:00
Neo
cd3cc31cd6 use fmt.dev's fmt::print functions, factor out command line functions from main to cli.cpp 2023-06-05 08:45:06 -07:00
Andrew
29465ffb37 [Server] Fixed validation mechanism, QWORD update 2023-06-05 18:25:46 +03:00
Andrew
11dedcbd5f [Server] Readability improvement 2023-06-05 16:13:20 +03:00
Andrew
b69dbd541c [Server] Last refactor before RPK QWORD update 2023-06-05 16:07:37 +03:00
Andrew
530e5cdc21 [Server] Successful generation refactor, more to come 2023-06-05 15:26:51 +03:00
Andrew
da7e88b970 Fix BYDWORD (implementation mistake) 2023-06-05 15:07:31 +03:00
Andrew
04e6362d7e Revert DWORD for newHash (calculation mistake) 2023-06-05 14:17:26 +03:00
Andrew
1603dbd6e2 Header improvements, refactor continues 2023-06-05 12:29:54 +03:00
Andrew
150f7433dc [Server] Connect JSON library 2023-06-05 12:19:47 +03:00
Andrew
79d62a3b1b Slight refactor 2023-06-05 12:13:15 +03:00
Andrew
35c18d473b QWORD upgrade 2/3 2023-06-05 01:24:20 +03:00
Andrew
632c84249c QWORD upgrade 1/3 2023-06-05 00:52:10 +03:00
Andrew
d20cb1fa49 Verification procedure cleanup 2023-06-05 00:27:50 +03:00
Andrew
983acba760 Fix pack functions 2023-06-04 23:39:02 +03:00
Neo
9b3abe7fb9 fix server2k3 compile error 2023-06-04 12:26:58 -07:00
Andrew
9812529903 Complete rewrite of XP Algorithm (w/ comments). Now fully optimized and readable 2023-06-04 22:01:09 +03:00
Andrew
21e31fd1b6 BOOL type, slight refactor, cleanup 2023-06-04 16:44:22 +03:00
Andrew
799fee5a68 QWORD upgrade, abstract NEXTNBITS() 2023-06-04 16:32:05 +03:00
Andrew
1c5f93b687 Slight refactor, prepare for QWORD upgrade 2023-06-04 15:40:08 +03:00
Andrew
3922223b9f QWORD upgrade for Schnorr's Signature 2023-06-04 15:17:41 +03:00
Andrew
9302ebd751 Abstract FIRSTNBITS(), fix logic 2023-06-04 15:06:51 +03:00
Andrew
08ec7cb9bb Simplify pointer arithmetics 2023-06-04 14:54:22 +03:00
Andrew
8e4285c960 Remove unnecessary pointer arithmetic 2023-06-04 13:38:05 +03:00
Andrew
63bc103384 Add pack/extract consistency 2023-06-04 13:35:26 +03:00
Andrew
06920ede2a Data type consistency uplift 2023-06-04 13:31:24 +03:00
Neo
3f95974e61 disable asserts globally unless DEBUG is defined 2023-06-04 00:50:41 -07:00