Graham
177376f47e
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
b003e02ef4
De-duplicate key validation code in KeyBruteForcer
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
5e6afb88f6
Improve RSA method naming
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
2c7cb5e054
Minimise code in the NotImplementedError catch block
...
I think this is slightly more readable.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
0016b8ab7d
Replace AssertionError with IllegalStateException
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
2ff0ccc137
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
8b1880cf09
Add heading to download links column
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
12e3a0eed2
Remove extraneous newline
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
eae9a3e2f4
Remove master index digest column from the web page
...
It isn't really necessary now we have the download links.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
98d25539b9
Combine RSA encrypt and decrypt methods into a single crypt method
...
This allows us to speed up master index signing with the CRT.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
619424321f
Add index version consistency check
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
97640774f9
Store index protocol, version and flags in the database
...
Although it isn't necessary, we might as well as it doesn't take up much
extra space and we already store all the properties for all groups and
files.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
1c061c0f66
Store master index format in the database
...
We can't reliably infer it based on the contents of the container.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
5d7bd5b5c7
Add support for signed master indexes
...
This commit also changes the way the master index format detection
works, as the previous scheme could not distinguish VERSIONED from
WHIRLPOOL.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
ed7eb10411
Relax isPrivate checks in the encrypt/decrypt methods
...
The master index uses RSA signatures in some builds. As such, we need to
be able to encrypt with a private key and decrypt with a public key.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
e9e7b7848d
Add constant for the RSA magic byte
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
7b6c0cf1fd
Use block comments for multi-line comments
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
4ccebc7ef8
Replace assertThrows with assertFailsWith
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
8fcf7cae46
Test the master index length validation code
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
4126abfaad
Add support for unversioned master indexes
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
4154e4fdb4
Store non-truncated versions in the archiving service if available
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
cbeb9a3a67
Add mapsquare key for compatibility with Polar's XTEA key files
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
5cfb234cc7
Use Ktor's Content-Disposition builder
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
412d6f4c1f
Add XTEA key export endpoint
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
936968363b
Add CacheModule
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
46b311c5ad
Add XteaKey Jackson serializer
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
98dcbedeaf
Sort install() calls in ArchiveModule
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
a5ac7b0b28
Fix heading case
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
2577eeb6a4
Update Gradle
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
11bd7e4fc7
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
fd914ba3d3
Add note about the AArch64 patch to the JAGGRAB documentation
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
4fa67c37fc
Improve code for merging an old and new master index together
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
b410b69771
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
a19a69b21e
Add name and description to the master_indexes table
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
dc9852e77c
Indent all tags in the HTML code style
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
47127113f4
Add initial archiving service web interface
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
6e9ba80d0c
Rename dev.openrs2.net to org.openrs2.net
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
a3593e9326
Rename master_index_entries to master_index_archives
...
This naming is a bit more consistent with the index_groups and
index_files tables.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
0b00c8452a
Update loader.yaml to account for the removed @Pc annotation
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
16523ec3de
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
4ba78e26b9
Create .idx files for empty indexes
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
273f7eddf8
Use a CTE to reduce duplication in CacheExporter
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
9834dccfdd
Add indexes to the groups table
...
This will reduce the impact of checksum/version collisions, as a
collision would have to happen between two indexes of the same archive
rather than any two indexes.
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
723bd42a8e
Simplify encrypted flag in the Container class
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
885fa3d0ed
Add AArch64 macOS support
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
3091409f82
Add arch/OS enums to avoid hard-coding the platform detection patch
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
80957aeca0
Add InsnList.clone() extension function
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
d5d76f9301
Add DiskStoreZipWriter
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
b61992a20f
Replace Paths.get() with Path.of()
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago
Graham
64e85a43de
Update dependencies
...
Signed-off-by: Graham <gpe@openrs2.org>
4 years ago