-
Notifications
You must be signed in to change notification settings - Fork 3
dynamic_repo_secure
AdamCalculator edited this page Mar 16, 2024
·
1 revision
ONLY FOR remote.type=="dynamic_repo"
To confirm that the update in your resource pack was released by you, the mod supports OpenPGP Verify (mainly for hosts where you are not the owner.)
Enable this flag.
dynamicmapack.json
{
[...]
"remote": {
[...]
"sign_no_required": true
},
"formatVersion": 1
}
dynamicmapack.json
{
"current": {"build": 10},
"remote": {
"type": "dynamic_repo",
"url": "https://raw.githubusercontent.com/.......",
"public_key": "mQINBGX1HNIBEACnBGMXslyy4jYlFVyHEY......."
},
"formatVersion": 1
}
You need to generate a key pair using the gpg program. And insert the public key without headers and footers
-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: ......
.....
mQGNBGXvaiABDA.... <----- ALL THIS BASE64 TEXT
-----END PGP PUBLIC KEY BLOCK-----
Sign dynamicmcpack.repo.json
with this key pair, the signature file should be nearby and called dynamicmcpack.repo.json.sig
(is a binary file
Good look!