Changes between Version 4 and Version 5 of Mod_Verification_Process


Ignore:
Timestamp:
Aug 9, 2023, 4:17:39 PM (9 months ago)
Author:
wraitii
Comment:

Hopefully clarify the format of the data in the metadata field of mod.io

Legend:

Unmodified
Added
Removed
Modified
  • Mod_Verification_Process

    v4 v5  
    120120==== Adding Metadata ====
    121121
    122 Using the signature file, we replace all newlines by `\n` and the tab of the third line by a `\t`.
    123 We then add curly braces, and we copy and paste the `dependencies` tag from the `mod.json`. Then we add "minisigs": [""] around the signature ; and we put everything in the metadata field of mod.io.
     122The mod.io metadata blob is used to store a JSON payload containing two fields: the dependencies from `mod.json`, and the signature. It should look like this:
     123
     124`{"dependencies": ["0ad=0.0.XX"],"minisigs": [...signature...]}`
     125
     126The signature should have newlines replaced by `\n` and the tabs of the third line by `\t`.
    124127
    125128==== Sending the signature ====