Commit graph

68 commits

Author SHA1 Message Date
8c17e3a11a Remove keys.json from repo 2023-06-28 03:59:28 -04:00
b9067599d4 Completely remove OpenSSL 2023-06-28 03:49:35 -04:00
2ffa34e673 Actually use result of mod_sqrt 2023-06-28 03:38:10 -04:00
eebd026565 Only subtract private_key from gen_order for bink1998 2023-06-28 03:37:53 -04:00
2f1d410423 Remove b
Turns out we don't need it
2023-06-28 02:30:57 -04:00
ae2a253a13 WIP: Limit auth_info to 10 bits 2023-06-28 02:24:36 -04:00
32fa85636a WIP: Fix msg_buffer 2023-06-28 01:44:03 -04:00
c2995d9399 WIP: Replace OpenSSL with custom implementations 2023-06-28 00:47:48 -04:00
8dc063e4e5 Make KEY_CHARSET only public to crate 2023-06-24 18:14:31 -04:00
b2609ecda4 List products for given BINK ID 2023-06-24 18:07:48 -04:00
d59d78664a Make confirmation_id args consistent 2023-06-24 17:43:17 -04:00
c3102882a9 Use log crate to filter verbose messages 2023-06-24 17:42:09 -04:00
860c0ebcac Fix path to keys.json in tests 2023-06-24 17:23:49 -04:00
89bf419067 Use official rust-openssl repo
The change I need is merged, but not released
2023-06-24 17:14:33 -04:00
fe08910831 Restructure into a workspace 2023-06-24 17:12:11 -04:00
589f0bb52b Clean up verbose logging 2023-06-24 16:54:58 -04:00
9029d35a6b Small improvements to CLI 2023-06-24 16:31:23 -04:00
2bed0f88d1 Clean up xpkey 2023-06-24 16:30:13 -04:00
8510eb367d Move clap types to their own module 2023-06-24 16:04:57 -04:00
fe98c451f0 Use name for confid 2023-06-24 15:54:01 -04:00
53bbc022a3 Optimize for filesize in release mode 2023-06-24 15:52:32 -04:00
c01e23adc3 Remove commented code 2023-06-24 03:59:25 -04:00
b6707e34b8 Restructure CLI to use subcommands 2023-06-24 03:49:50 -04:00
42f2fa5f80 Pare down xpkey 2023-06-24 01:01:40 -04:00
72d4db7af6 Re-add verbose logging of key fields 2023-06-24 00:28:18 -04:00
c380be1eae Separate channel_id and sequence in bink1998 2023-06-23 20:44:46 -04:00
49ce9a47f3 Use correct channel_id for bink2002 2023-06-23 20:36:45 -04:00
b73401cefb Cleanup 2023-06-23 20:29:13 -04:00
7bd191e6be Add tests to confid 2023-06-23 17:04:34 -04:00
d00fbb9882 Add upfront length checks to confid 2023-06-23 16:59:02 -04:00
61d875757d Redesign lib public interface 2023-06-23 16:57:12 -04:00
83bfa98a38 Reorganize crate as lib 2023-06-23 02:24:40 -04:00
1129212b23 Remove unnecessary muts 2023-06-22 17:34:03 -04:00
b95d46293c Print key validation results in verbose mode 2023-06-22 03:39:24 -04:00
e001afdaed Add validate command line option 2023-06-22 02:59:19 -04:00
78b45cf929 More confid cleanup 2023-06-22 02:18:09 -04:00
ce9442e9b8 Run clippy --fix 2023-06-22 02:11:57 -04:00
5cd13fb03a Fix types and symbol names 2023-06-22 02:10:52 -04:00
3c55eaadbc Move converted code to its own submodule 2023-06-22 01:49:34 -04:00
6d27106e35 Narrow the scope of unsafe in confid::generate 2023-06-22 01:44:38 -04:00
2c41fe6c21 Run clippy --fix 2023-06-22 01:40:31 -04:00
932a11679d Fix TDivisor type
Hooray! It works!
2023-06-22 01:39:58 -04:00
ecce5e797f Remove C-style types 2023-06-22 01:17:52 -04:00
ede990ae44 Add missing comments from original code 2023-06-21 22:12:12 -04:00
063b4b5dc7 Remove unnecessary unsafes 2023-06-21 21:57:09 -04:00
43caccc8b7 Fix up two functions with tested code 2023-06-21 21:52:52 -04:00
7d35fe36fe Remove libc dependency 2023-06-21 21:45:34 -04:00
69faa5626e Remove usage of libc functions 2023-06-21 21:40:58 -04:00
a0657d2652 Remove unnecessary function decorators
(and an unused function)
2023-06-21 21:10:41 -04:00
cac0235f2c Eliminate remaining warnings 2023-06-21 21:08:16 -04:00