verifiablesoftware / vsw

Core project of VerifiableSoftware
Apache License 2.0
1 stars 0 forks source link

Software cetificate schema in the ledger #59

Closed wenjing closed 3 years ago

wenjing commented 3 years ago

As a prior, we need the software credential schema be published in the ledger before anyone can issue credential definition or issue credentials.

If any arbitrary user can read the schema back successfully, this is working.

tervoju commented 3 years ago

"mz3AM33qVp54eYYJRp9tw:2:software-certificate:0.1" worked, so I assume that is done? or is that 2384 relevant information? at least the admin portal does not accept that format.

wenjing commented 3 years ago

You are right. I found documentation here describing that field as "SchemaMarker", as a TYPE info for parser/searcher. "2" means SchemaMarker, "3" means CredDefMarker, ... and so on. See more: https://github.com/hyperledger/indy-node/blob/master/design/anoncreds.md.

So the correct schemaID is : "mz3AM33qVp54eYYJRp9tw:2:software-certificate:0.1".

wenjing commented 3 years ago

Completed