Commit graph

81 commits

Author SHA1 Message Date
369b8b04bc Add documentation for confid 2023-06-28 21:11:05 -04:00
0c17e706ba confid: Clean up structs 2023-06-28 20:48:03 -04:00
11cd3e137d confid: Completely remove all unsafe 2023-06-28 20:44:33 -04:00
c696803702 confid: Remove more unsafe from generate 2023-06-28 20:18:20 -04:00
3070732ab5 confid: Partially remove unsafe from generate 2023-06-28 19:58:49 -04:00
7684957ada confid: Remove unsafe from mix and unmix 2023-06-28 19:04:01 -04:00
77d347b51f confid: Remove unsafe from sha1_single_block 2023-06-28 18:37:09 -04:00
4671819397 confid: Remove unsafe from divisor_mul128 2023-06-28 18:32:27 -04:00
c310018847 confid: Remove unsafe from divisor_add 2023-06-28 18:32:09 -04:00
4e25f1080e confid: Remove unsafe from u2poly 2023-06-28 18:30:08 -04:00
6f4cd8ecf5 confid: Remove unsafe from polynomial_xgcd 2023-06-28 18:14:46 -04:00
171e913138 confid: Remove unsafe from polynomial_div_monic 2023-06-28 17:56:06 -04:00
280e1c7d5f confid: Remove some unsafe 2023-06-28 17:04:18 -04:00
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