1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 14:26:04 +00:00
Commit graph

27 commits

Author SHA1 Message Date
mat
74288b55c3 auth works! 2022-10-16 22:13:56 -05:00
mat
8e86450947 replace some printlns with log::trace 2022-10-16 21:12:41 -05:00
mat
dedd57838d add refreshing msa token 2022-10-16 21:02:11 -05:00
mat
0598a2909d fix cache 2022-10-16 19:55:15 -05:00
mat
7faee59143 how did i not notice that i had the code duplicated 2022-10-16 19:40:50 -05:00
mat
fe1fb2dbfd caching*
refreshing microsoft auth tokens isn't implemented yet, also i haven't tested it
2022-10-16 19:34:56 -05:00
mat
cb001fa341 add auth in azalea-protocol/client 2022-10-15 16:36:55 -05:00
9dd452b07c sessionserver stuff 2022-10-15 19:58:02 +00:00
0121a6cd48 auth stuff 2022-10-15 19:21:40 +00:00
c88cc8f58e well auth works when i remove the d= so 2022-10-14 18:16:50 +00:00
321e06f1e4 try to do more work on auth signing (untested) 2022-10-13 18:21:09 +00:00
mat
9d5299ccc1 a 2022-10-12 23:44:40 -05:00
mat
0085f8a565 make some stuff publishable on crates.io 2022-08-30 21:42:40 -05:00
mat
5a9fca0ca9
Better errors (#14)
* make reading use thiserror

* finish implementing all the error things

* clippy warnings related to ok_or

* fix some errors in other places

* thiserror in more places

* don't use closures in a couple places

* errors in writing packet

* rip backtraces

* change some BufReadError::Custom to UnexpectedEnumVariant

* Errors say what packet is bad

* error on leftover data and fix

it wasn't reading the properties for gameprofile
2022-08-06 02:22:19 -05:00
mat
b030b0ea33 start adding moving 2022-06-24 23:10:59 -05:00
mat
d8e0457b62 from<ClientboundAddEntityPacket> for Entity 2022-06-18 14:08:34 -05:00
mat
8313952541 Simplify packet macro
Now every packet implements McBufWritable and McBufReadable and uses those so the code doesn't have to be duplicated.
2022-04-30 23:04:18 -05:00
mat
80d49a7607 azalea_auth::encryption -> azalea_crypto 2022-04-30 21:30:45 -05:00
mat
8317b5b281 upgrade aes and cfb8 2022-04-29 20:20:56 -05:00
mat
9c69d7d5f2 finish update recipes packet implementation 2022-04-26 19:38:07 -05:00
mat
f4dd3a9293 ENCRYPTION WORKS!!!!!!!!!!! 2022-04-24 22:46:41 -05:00
mat
4c00bd8865 Add ServerboundKeyPacket 2022-04-24 19:28:29 -05:00
mat
3e507f0db4 Merge branch 'main' into auth 2022-04-24 17:37:57 -05:00
mat
248f752748 simplify error handling 2022-04-22 04:33:58 +00:00
mat
9f576c5600 start work on encryption 2022-01-01 18:59:38 -06:00
mat
1dc56b6f51 fix errors 2021-12-16 17:55:45 -06:00
mat
227ba5511d add a few more login packets 2021-12-16 17:51:05 -06:00