Graham
03e6c3dd81
Annotate crypto methods with @Jvm{Overloads,Static}
...
Signed-off-by: Graham <gpe@openrs2.org>
2 years ago
Graham
f143eef142
Move Kotlin files from src/{main,test}/java to src/{main,test}/kotlin
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
ce5b76ef0f
Rename dev.openrs2 package to org.openrs2
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
232ba32bbd
Enable explicit API mode
...
This already caught some cases of public members that should have been
private and one case where the inferred type was too specific.
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
8370ad104e
Write files atomically
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
2f3cdca12d
Reduce use of temporary files
...
The Resource::compress method already holds entire files in memory at
once, as does the client-side loader. We might as well do the same on
the server-side.
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
ed052c783b
Use cache path and signer name from the config file
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
177326221f
Move cryptographic code to a separate module
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
0b51e998cf
Increase VALIDITY_PERIOD to 10 years
...
It was changed to 1 year by accident in a previous commit.
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
8e0b480cfb
Replace jarsigner with the jdk.security.jarsigner API
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
efa9c90f57
Replace shelling out to keytool with Bouncy Castle and the security API
...
Signed-off-by: Graham <gpe@openrs2.dev>
4 years ago
Graham
11ef4b0227
Sign loaders
4 years ago