From 243d40cfd84d14cba581c7dcc65303b1c0e818dc Mon Sep 17 00:00:00 2001 From: beerpsi Date: Tue, 18 Jun 2024 09:39:14 +0700 Subject: [PATCH] Add changelog and docs --- changelog.md | 4 ++++ docs/game_specific_info.md | 8 +++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/changelog.md b/changelog.md index 3f8c6ba..a2447e3 100644 --- a/changelog.md +++ b/changelog.md @@ -1,6 +1,10 @@ # Changelog Documenting updates to ARTEMiS, to be updated every time the master branch is pushed to. +## 20240616 +### CHUNITHM ++ Support network encryption for Export/International versions + ## 20240530 ### DIVA + Fix reader for when dificulty is not a int diff --git a/docs/game_specific_info.md b/docs/game_specific_info.md index a8e63c5..8e56322 100644 --- a/docs/game_specific_info.md +++ b/docs/game_specific_info.md @@ -87,13 +87,19 @@ Config file is located in `config/chuni.yaml`. | `crypto` | This option is used to enable the TLS Encryption | -**If you would like to use network encryption, the following will be required underneath but key, iv and hash are required:** +If you would like to use network encryption, add the keys to the `keys` section under `crypto`, where the key +is the version ID for Japanese (SDHD) versions and `"{versionID}_int"` for Export (SDGS) versions, and the value +is an array containing `[key, iv, salt, iter_count]` in order. + +`iter_count` is optional for all Japanese (SDHD) versions but may be required for some Export (SDGS) versions. +You will receive an error in the logs if it needs to be specified. ```yaml crypto: encrypted_only: False keys: 13: ["0000000000000000000000000000000000000000000000000000000000000000", "00000000000000000000000000000000", "0000000000000000"] + "13_int": ["0000000000000000000000000000000000000000000000000000000000000000", "00000000000000000000000000000000", "0000000000000000", 42] ``` ### Database upgrade