Closed relaxbao closed 4 years ago
Correct. If an ethereum address has no activity on the registry then the default DID document is returned, which contains only the address itself under the public key entries. This can be used to verify signatures but not for encryption. To use it for encryption you need to add an attribute that sets an encryption public key. This requires an ethereum transaction.
Please see this section of the registry regarding key types: https://github.com/uport-project/ethr-did-resolver/blob/develop/README.md#non-ethereum-attributes
I believe this was answered. I'm closing it. Please reopen if necessary.
I believe this was answered. I'm closing it. Please reopen if necessary.
yes , thank you very much for your answering .
hi ,
I have deeply read the
ERC1056
, but there is something I can't understand , can you help me ?for example : I have an ethereum account ,as mentioned in the
ERC1056
, I have naturally have an identity right ? I don't need to register on the registry contract .but if I don't register on the registry contract ,how can I get the public Key ? because an important feature of DID is to get the
public Key
from theDID
, so we can use thepublic Key
to encrypted something .