inblockio / mediawiki-extensions-Aqua

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
7 stars 6 forks source link

[Guardian Session Token] Guardian User is not created during setup / should use wallet address #387

Closed FantasticoFox closed 4 months ago

FantasticoFox commented 4 months ago
Database was successfully set up
MediaWiki has been successfully installed. You can now visit <http://localhost:9352> to view your wiki. If you have questions, check out our frequently asked questions list: <https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ> or use one of the support forums linked on that page.
Could not open input file: extensions/DataAccounting/maintenance/createSysopUser.php
Guardian security token is: aVk4NmpLUXpFWFFlYnhJcDI1MU90QkxkODFtNGpIUk4=
Set guardian token in LocalSettings.php

I belief this is the case because the OIDC connect is already configured therefor the context to create the User is not available anymore.

This is related to this commit: https://github.com/inblockio/aqua-PKC/commit/5f8b48870da5cebcf09ba24d61c18f80065b8032

the file inquestion is in aqua-PKC/aqua/install_pkc.sh

FantasticoFox commented 4 months ago

In this branch, I generate an ethereum wallet, and removed the token generation logic as we managed to login into the SIWE-OIDC.

https://github.com/inblockio/aqua-PKC/pull/new/guardian_wallet_gen

The code is not functional but should illustrate the required changes. image

Please provide us with a way to continue to use the create and promote user scripts if possible as we also used them for automated demo-generation and user deployment based on their public keys (random passwords) as login is later done via SIWE-OIDC anyways.

danielriedmueller commented 4 months ago

Script was in wrong folder. Should work now.