-
Notifications
You must be signed in to change notification settings - Fork 515
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
Failed to Register Public DID: did:sov:CkkrKzWFycQuwL3gjmF1NM Not Posted to Ledger #3444
Comments
You'll see in the response for creating a DID, it shows To register the DID on the ledger: see the After registering the DID on the ledger, you can set it as the wallet's public did, with |
I executed the corresponding command, but it was not successful.
The response :
I reviewed the logs from aca-py (issuer agent), and it appears to be a connection issue. However, I’m unsure whether the problem lies with the endorser or Indy. Below are the relevant log excerpts:
|
In the above request, you specified |
Do you actually want to use an endorser? If yes.
I don't think you have the endorser <--> author connection setup right. There should be information in the logs on author startup or when you try and post a did to the ledger. |
It has failed again. I think I still have misconceptions about this role and its permission structure. I need to further study this aspect. On the other hand, I will dive deeper into the code to understand the logic behind this method. |
My initial goal was to build various roles from scratch, progressing from generating DIDs to providing verifiable credentials. Regarding the necessity of an endorser, I’ve learned that for a standard ACA-Py agent to become an issuer, a public DID is required. There are several ways to generate a public DID: In practical scenarios, issuers need to write schemas and verifiable presentations (VPs) to the ledger, making it reasonable for an issuer to require an endorser. Finally, I need more resources and research to better understand the implementation of multi-role setups in ACA-Py and their permission structures. |
After multiple attempts and deeper understanding, I found that within the mechanism involving endorsing nodes, the endorser needs to first register the DID on the ledger by calling http://test.bcovrin.vonx.io/register, and then make the DID public. For issuers, when using the nym interface to register a DID, they are required to provide the signature of the public DID identity. This is to establish a trust chain, as all core operations need to be signed by relevant parties and recorded on the ledger. In subsequent calls to the /ledger/register-nym interface, both the signature of the issuer’s public DID and the endorser’s signature are needed to complete the trust verification process. |
Description
I’m encountering an issue while attempting to register a public DID for the IssuerAgent in a von-network setup. Despite following the standard procedure, the DID registration fails with a 404 Not Found error indicating that the DID has not been posted to the ledger.
Steps to Reproduce
• Error Encountered:
404: DID did:sov:CkkrKzWFycQuwL3gjmF1NM is not posted to the ledger
Expected Behavior
The IssuerAgent’s DID (did:sov:CkkrKzWFycQuwL3gjmF1NM) should be successfully registered as a public DID on the ledger without any errors.
Actual Behavior
Attempting to register the DID as a public DID results in a 404 Not Found error, indicating that the DID has not been posted to the ledger.
Error Message
404: DID did:sov:CkkrKzWFycQuwL3gjmF1NM is not posted to the ledger
Environment
If the entire process is incorrect, please let me know. I primarily want to manually complete the creation of the Issuer. According to the guidelines, a public DID is required, and I am currently stuck at this step.
The text was updated successfully, but these errors were encountered: