Commit Graph

135 Commits

Author SHA1 Message Date
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
8c295cf973 add gitattributes file to enforce LF line endings 2023-06-06 13:26:27 -07:00
Neo
fcaa449ead
use webchat for irc badge 2023-06-05 17:29:39 -07:00
Neo
42c24b57a1
Update README.md
add irc channel
2023-06-05 17:13:01 -07:00
CONIGUERO
0204d8486b
Added chat link 2023-06-05 17:21:23 -03:00
Neo
6d3fd0031d add 55, 58, 59, 5b, 68, 69, 6c, 6d and product information to keys.json 2023-06-05 08:47:13 -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
974695b178 Add product entry for "PLUS! for Windows XP" 2023-06-04 12:28:16 -07: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
Neo
166a0b5df7 transition products object in keys.json to add additional information later
confirm windows server 2003 as bink 0x5A
add BINK information for 0x54
2023-06-04 00:47:21 -07:00
WitherOrNot
e9a10e2882
add confirmation ID generator, fix server.cpp (#14)
* add confirmation ID generator, fix server.cpp

* made an oopsie

* Update README.md

* Remove unused platform-dependent code
2023-06-03 07:14:11 -07:00
Neo
728bf2a781 Add BINK data for VS.net (2001), VS.net 2003, Win CE Platform Builder 3, 4, and 5 2023-06-03 07:06:00 -07:00
Neo
7c62596aa5 fix syntax error in keys.json 2023-06-02 07:21:17 -07:00
Andrew
574b7b3b32 Merge remote-tracking branch 'origin/master' 2023-06-02 17:14:03 +03:00
Andrew
7944a9b15f Server Algorithm uplift 2023-06-02 17:13:57 +03:00
Neo
6b85db12c9 disable static building for now (causing more headaches than it should)
update keys.json with new info
2023-06-02 07:09:40 -07:00
Neo
19cce11bc2
Merge pull request #13 from WitherOrNot/newkeys
Add new keys from @WitherOrNot
2023-06-02 06:38:42 -07:00
Andrew
475241e608 Get rid of PkgConfig 2023-06-02 15:39:11 +03:00
Andrew
a14d44cdca FindOpenSSL (Crossplatform solution) 2023-06-02 15:36:34 +03:00
WitherOrNot
d930648230 Add new keys 2023-06-02 03:14:53 -04:00
Neo
72d441b539 Fix datatypes to use platform independent values, Add command line switch scaffolding
Allow users to chose which bink/channelid they'd like to generate with
Add rudimentary help system, Sanitize user input
2023-06-01 21:25:43 -07:00
Andrew
e437cc548a Folder refactor 2023-06-01 23:09:44 +03:00
Andrew
cc009d0ad4 Fix garbage keys being generated, abstract elliptic curves out 2023-06-01 22:19:35 +03:00
Neo
96639bbaf7 remove bink generation script
add runtime json parsing
add cmake.cpm
update cmake to reflect this
fix compilation errors

** breaks 2k3 key generation, work in progress
2023-06-01 10:55:36 -07:00
Andrew
1f30ff762d Fix logic 2023-06-01 19:47:07 +03:00