Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wearesimbol/simbol-identity-manager
Decentralized identity system for VR and AR. It builds on top of DIDs and IPFS focusing on carrying avatars across virtual worlds
https://github.com/wearesimbol/simbol-identity-manager
Last synced: 1 day ago
JSON representation
Decentralized identity system for VR and AR. It builds on top of DIDs and IPFS focusing on carrying avatars across virtual worlds
- Host: GitHub
- URL: https://github.com/wearesimbol/simbol-identity-manager
- Owner: wearesimbol
- Created: 2023-02-07T16:20:49.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-07T16:28:29.000Z (almost 2 years ago)
- Last Synced: 2024-11-09T18:30:35.392Z (about 2 months ago)
- Language: JavaScript
- Homepage:
- Size: 7.38 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Simbol Identity Manager
Unfinished prototype of a DID identity manager. The DID protocol is IPFS based, and focuses on managing credentials for avatars that can be carried between virtual worlds. *Doesn't currently run as is*
#### Dev notes
Running localhost in Windows 10 with a domain:
```bash
openssl req -x509 -out localhost.crt -keyout localhost.key \
-newkey rsa:2048 -nodes -sha256 \
-subj '/CN=local.domain.com' -extensions EXT -config <( \
printf "[dn]\nCN=local.domain.com\n[req]\ndistinguished_name = dn\n[EXT]\nsubjectAltName=DNS:local.domain.com\nkeyUsage=digitalSignature\nextendedKeyUsage=serverAuth")
```save keys in folder above this root
Add `127.0.0.1 local.identity.io` to `C:\Windows\System32\drivers\etc\hosts`
https://www.thewindowsclub.com/manage-trusted-root-certificates-windows// async function register() {
// const key = await getKey(Math.random())
// const keyInstance = await getKeyInstance(key.id)
// // Figure out how to make eliptic curve keys
// const didDoc = await generateDidDoc(keyInstance);
// console.log(didDoc)
// const initialFiles = await node.files.add(new node.types.Buffer(JSON.stringify(didDoc)))
// const initialHashes = await node.name.publish(initialFiles[0].hash, {key: 'did-key-' + key.id})
// console.log(initialHashes)
// const did = generateDid(initialHashes.name)
// const completedDidDoc = completeDidDoc(didDoc, did)
// const didDocString = JSON.stringify(completedDidDoc)
// localStorage.setItem('did-doc-' + key.id, didDocString)// const files = await node.files.add(new node.types.Buffer(didDocString))
// const hashes = await node.name.publish(files[0].hash, {key: 'did-key-' + key.id})
// return did
// }