BlockchainCommons / did-method-onion

Onion DID Method specification
https://blockchaincommons.github.io/did-method-onion/
Other
5 stars 4 forks source link

Use tor keypair directly? #12

Closed jernst closed 3 years ago

jernst commented 3 years ago

The public key of the onion service is its address. Is it possible to use that key pair for the verification as well, instead of generating a second one? That would be self-authenticating ...

gorazdko commented 3 years ago

Yes, you can find the algo to convert an onion address into pubkey in #10

You can also take a look at the example which uses an 'onion address' (so to speak) for verification:

You can verify the example with didkit, see https://github.com/spruceid/didkit/pull/125

Lmk if this answers your question.

ChristopherA commented 3 years ago

@jernst @gorazdko Is this issue closed?

gorazdko commented 3 years ago

Yes, you can close this.