Graham
f833285fa6
Rename in/out to input/output to avoid use of backticks
5 years ago
Graham
06de9d1449
Replace if/throw with check() in the Rsa object
5 years ago
Graham
89b274077f
Use infix union operator
5 years ago
Graham
b82518ec0b
Remove comments from Kotlin new method templates
5 years ago
Graham
40702d9c35
Reduce Manifest duplication
5 years ago
Graham
11ef4b0227
Sign loaders
5 years ago
Graham
33955e76c7
Add DeterministicJarOutputStream.repack() function
...
I'm going to use this to make jarsigner's output deterministic.
5 years ago
Graham
b8af6c0c90
Write public RSA key to disk
...
I think it's useful even though we don't read it.
5 years ago
Graham
d9762d65bc
Fix Kotlin inspections
5 years ago
Graham
8f991ad772
Add scope for excluding non-free code
5 years ago
Graham
4ff64c95e5
Rename compress<x>Resources to compress<x>Natives
5 years ago
Graham
575632413a
Add missing private modifier
5 years ago
Graham
1d0bcfd88f
Add PublicKeyTransformer to Bundler
5 years ago
Graham
97a11ba765
Inject RSAPrivateCrtKeyParameters in PublicKeyTransformer
5 years ago
Graham
65f0cc0f6e
Add GameServer skeleton
5 years ago
Graham
84b384156f
Add RsaKeyProvider
5 years ago
Graham
0bb0d1a5b6
Return RSAPrivateCrtKeyParameters from readPrivateKey
5 years ago
Graham
c8af2288c6
Format RsaTest
5 years ago
Graham
e82f575695
Update jar/pack200/js5 resources in ResourceTransformer
5 years ago
Graham
dc75b05429
Switch back to the native Pack200 implementation for the moment
...
This isn't ideal as it's deprecated. However, while Apache Harmony's
unpack200 implementation seems fine, its pack200 implementation doesn't
work with the client and produces invalid output.
I've fixed some of the easy to fix bugs, but tracking down any remaining
bugs will be difficult - it'll involve tracing through the native
unpack200 code.
When Pack200 is removed from the JDK, hopefully someone will take up the
mantle of maintaining it outside of the JDK. If that doesn't happen,
we'll have to consider writing our own Pack200 implementation,
extracting OpenJDK's implementation out of the tree or fixing the bugs
in Apache Harmony.
5 years ago
Graham
97a8ada0d4
Add manifests to the unsigned client and loaders
5 years ago
Graham
c769feab3e
Add manifest support to writeJar
5 years ago
Graham
c6cf9a4d94
Add initial client bundler
5 years ago
Graham
a032e3d472
Exclude CRC from the path used by Resource::write
5 years ago
Graham
d03d1c3bb5
Rename overloaded compress method to compressNative
5 years ago
Graham
3a4085c680
Make compress private
5 years ago
Graham
5d51415baf
Add write method to Resource
5 years ago
Graham
47f4cc060a
Add compress{Jar,Pack,Js5} to Resource
5 years ago
Graham
3ae85d50ef
Add skeleton writeJs5 method
5 years ago
Graham
02ed6d7455
Make writeJar and writePack accept an OutputStream
5 years ago
Graham
c65087ad35
Update dependencies
5 years ago
Graham
a79dfd6f32
Implement jaggl and jagmisc resource transformation
5 years ago
Graham
2b82451b96
Remove isInterface argument from MethodInsnNode constructors
...
It's optional.
5 years ago
Graham
015de5d39b
Rename PLATFORM_DETECT to PLATFORM_DETECTION
5 years ago
Graham
c2fe02a3f3
Rename PLATFORM_DETECT_MATCHER to GL_PLATFORM_DETECT_MATCHER
5 years ago
Graham
531db3159e
Replace hasArray() and array() logic with ByteBufUtil.getBytes()
5 years ago
Graham
db11c5536d
Add publicKey property test
5 years ago
Graham
1cdf67e182
Add RSA key I/O tests
5 years ago
Graham
dcfaedcd2f
Improve opaque predicate regex in PlatformDetectionTransformer
5 years ago
Graham
c692a17bc9
Set Netty leak detection level to PARANOID when running the GameServer
5 years ago
Graham
d155f99ffb
Set Netty leak detection level to PARANOID in unit tests
5 years ago
Graham
6b247cb0e1
Add ByteBuf extension methods for RSA encryption and decryption
5 years ago
Graham
e64dbe1a0e
Add generateKeyPair() test
5 years ago
Graham
0f767c86eb
Add textbook RSA encryption and decryption
5 years ago
Graham
808c80e896
Add initial public key transformer
5 years ago
Graham
101548e5b7
Add RSA key generation and I/O
5 years ago
Graham
353b8f0834
Add thread-local secureRandom property
5 years ago
Graham
1a19c24dcd
Mention semver in the README
5 years ago
Graham
a684c0212d
Load natives from new location below dev.openrs2
5 years ago
Graham
b05ce1e96f
Add ResouceTransformer skeleton
5 years ago