This MediaWiki extension includes the Aqua implementation. Turning MediaWiki into a powerful versioned notary service with API's for import and export of Data in JSON format.
GNU General Public License v3.0
6
stars
6
forks
source link
Force inject witness + signature and store them with the newly created revision. #397
witness does not trigger a new revision to be written into the page
the witness data itself is stored alongside the revision which is witnessed
witnessed to a test network, but not if the latest was already witnessed to mainnet).
signature has an option to not inject, and create no new revision
signature data is stored alongside the revision with is signed
New state:
witness always triggers an inject into the page leading to a new revision
witness is stored in the newly created revision
when calculating the verification hash, it takes the witness verification hash as input as well
the witness publisher should not write a new revision if the latest revision already has a witness event for the network the witness event was published to.
Older witness events are always more valuable then new ones.
Mainnet is always more importent then testnet (therefore it writes a new revision if the latest revision was
signature is always injected and always leads to a new revision (remove the option)
signature is stored alongside the new revision which is created by the inject
signature verification hash is used by calculating the verification hash of the newly created revision
For correctness we need that the signature and the witness data is always injected within the content of the page to ensure that we have correctness. This is part of moving towards https://github.com/inblockio/mediawiki-extensions-Aqua/issues/384
Current state:
New state:
witness always triggers an inject into the page leading to a new revision
witness is stored in the newly created revision
when calculating the verification hash, it takes the witness verification hash as input as well
the witness publisher should not write a new revision if the latest revision already has a witness event for the network the witness event was published to.
signature is always injected and always leads to a new revision (remove the option)
signature is stored alongside the new revision which is created by the inject
signature verification hash is used by calculating the verification hash of the newly created revision