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

作為使用者可不提供密碼來使用服務(DID Auth) #8

Open
y12studio opened this issue Apr 18, 2018 · 0 comments
Open

作為使用者可不提供密碼來使用服務(DID Auth) #8

y12studio opened this issue Apr 18, 2018 · 0 comments

Comments

@y12studio
Copy link
Contributor

DID Auth

rebooting-the-web-of-trust-spring2018/DID Auth: Scope, Formats, and Protocols.md at master · WebOfTrustInfo/rebooting-the-web-of-trust-spring2018

Example DID Document with authentication and publicKey objects:

{
	"@context": "https://w3id.org/did/v1",
	"id": "did:openhcos:123456789abcdefghi",
	"authentication": [{
		"type": "RsaSignatureAuthentication2018",
		"publicKey": "did:openhcos:123456789abcdefghi#keys-1"
	}, {
		"type": "Ed25519SignatureAuthentication2018",
		"publicKey": "did:openhcos:123456789abcdefghi#keys-2"
	}],
	"publicKey": [{
		"id": "did:openhcos:123456789abcdefghi#keys-1",
		"type": "RsaVerificationKey2018",
		"owner": "did:openhcos:123456789abcdefghi",
		"publicKeyPem": "-----BEGIN PUBLIC KEY...END PUBLIC KEY-----\r\n"
	}, {
		"id": "did:openhcos:123456789abcdefghi#keys-2",
		"type": "Ed25519VerificationKey2018",
		"owner": "did:openhcos:123456789abcdefghi",
		"publicKeyBase58": "H3C2AVvLMv6gmMNam3uVAjZpfkcJCwDwnZn6z3wXmqPV"
	}]
}

bitauth

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

1 participant