willneedit / Arteranos

VR social app in a decentralized server-client model
Mozilla Public License 2.0
2 stars 1 forks source link

More remodeling together with IPFS's inclusion #98

Closed willneedit closed 6 months ago

willneedit commented 9 months ago

With Unity IPFS package's inclusion, there could be a lot of windfall, too.

For example, including but maybe not limited to...

  1. BouncyCastle provides (or rather, is) a crypto stack - more features with the stock .NET packages, for example ECC or Ed25519 keys. Smaller, faster and more secure compared to RSA keys.
  2. Crypto operations themselves should be migrated to BouncyCastle, away from stock .NET because of its differing implementations.
  3. ProtoBuf or Protobut-Net provides smaller serialization than ASN.1
willneedit commented 8 months ago
  1. The IPFS node serves a file repository and a receptacle for avatar files (own and other's alike) and the world files. Tho node will run permanently, even if you're in the client mode.
  2. PeerID as the user public key? Keeping them separate would pose some added workload, but the node's presence disconnects the user's presence and online status.
  3. The user data could include the node's PeerID as a 'home node'. The 'home node' could pose as the message post office. Once connected, (text) messages could be delivered to the targeted user. OTOH, it would defeat the purpose of keeping them separate.
willneedit commented 8 months ago
  1. An online user could broadcast a hello message with his user's Public Key, And, a digested user public key can be delivered as a file, ready to be spotted with FindProviders() to find friends.

In some cases, I need the means to compute the CID without delivering a file's content, to have it as a handle to find and connect to a particular node (or server).