Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to register DID with Endorser #273

Open
MakTom opened this issue Jul 28, 2023 · 16 comments
Open

Unable to register DID with Endorser #273

MakTom opened this issue Jul 28, 2023 · 16 comments

Comments

@MakTom
Copy link

MakTom commented Jul 28, 2023

While registering a DID with Endorser role, I am getting following error.
Error

This has started happening after today noon. It was working fine before that.

@swcurran
Copy link
Contributor

BCovrin Test is currently in a bad state — hence this error. Someone demoted the Trustee DID. We’re checking on recovery or reset as the solution, so hold tight. Sorry for the inconvenience.

To be clear, this is not an issue with Indy — just that we set up a sandbox that anyone could use and someone abused the privilege. Now that we realize someone might do this, we’ll take steps to prevent a repeat...

@MakTom
Copy link
Author

MakTom commented Jul 28, 2023

Thanks @swcurran, can you please share a timeline if you have any, by which we can expect BCovrin test to be working again?

@swcurran
Copy link
Contributor

Plan is for today. A recovery attempt is being tried (not sure of the status) and if that is too complicated or deemed not possible, we’ll reset the network and relaunch — with better protections.

@MakTom MakTom changed the title Unable to register DID with Endord Unable to register DID with Endorser Jul 28, 2023
@WadeBarnes
Copy link
Member

BCovrin Test was reset and was back online at just before 12pm Pacific Friday, July 28th.

@lenrepo
Copy link

lenrepo commented Sep 21, 2023

I am currently getting thesame error ("Identity not registered") also happening with my local Von-network

@WadeBarnes
Copy link
Member

@lenrepo, I just tested DID registration on BCovrin Test and it's working for me. Could you provide additional details? For your local instance of von-network, ensure all the nodes are actually running.

@lenrepo
Copy link

lenrepo commented Sep 22, 2023 via email

@WadeBarnes
Copy link
Member

The usual documentation “says enter your name on the seed textbox“ this is misleading as this whole operation assumes you had pre-generated a seed  and a key probably in base 64

Can you provide a link to this documentation please?

@darapich92
Copy link

Hello @WadeBarnes, since a trustee can be demoted by another trustee, so can we modify the permission of a trustee, which one can do this while another cannot do this? because a trustee has many permissions to combat each other.

@WadeBarnes
Copy link
Member

Hello @WadeBarnes, since a trustee can be demoted by another trustee, so can we modify the permission of a trustee, which one can do this while another cannot do this? because a trustee has many permissions to combat each other.

Hey @darapich92, I think this question is off topic for this particular issue. Also, your question is not specific to von-network, it's more of an indy-node related question. Are you on the Hyperledger Discord server? I think it would be better to discuss on the Indy channel there.

@darapich92
Copy link

@WadeBarnes , swcurran said "Someone demoted the Trustee DID". So, based on the Auth_list, it is only a trustee role can demote another trustee so that I think it is a point to improve over the permission of a trustee. Anyway, I am not on the Hyperledger Discord server. I will search for that channel.

@WadeBarnes
Copy link
Member

WadeBarnes commented Apr 22, 2024

The auth_rules for the networks were updated so a single Trustee could not demote another trustee DID. You can find the script for the updated rules here; https://github.com/bcgov/von-network/blob/main/BCovrin/auth_rules

@darapich92
Copy link

@WadeBarnes thank you so much for this information. I am sorry to ask you outside this topic. I want to find where is the permission policies of the Hyperledger Indy-node. But I could not find. Could you guide me?

@WadeBarnes
Copy link
Member

@darapich92, I provided a link over here this morning; #253 (comment)

@darapich92
Copy link

@WadeBarnes, thank you. So, the code will check the permission of each rule based on this policy rule.

@WadeBarnes
Copy link
Member

@WadeBarnes, thank you. So, the code will check the permission of each rule based on this policy rule.

Correct

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants