cabal-club / cabal-core

Core database and replication for cabal.
GNU Affero General Public License v3.0
303 stars 43 forks source link

password-protected cabals #64

Open cblgh opened 4 years ago

cblgh commented 4 years ago

from irc:

14:07:44 < cblgh> password protected cabals would be interesting
14:07:56 < cblgh> it could allow for having a known cabal address, that you can connect to from anywhere
14:08:11 < cblgh> (e.g. a dns-pinned address like cabal.chat)
14:09:04 < cblgh> it would allow for doing npx cabal cabal://cabal.chat from anywhere
14:09:21 < cblgh> but only allowing allowed people to read its contents / post to it
17:55:17 <@noffle> actually that kinda sounds equivalent to an encrypted cabal /w a blind peer, right? blind peers get the sync-only key, and members get the decryption-key as well
17:55:20 <@noffle> which is kinda like a password
17:55:32 <@noffle> but maybe you want something short enough to remember, is your idea?
18:16:41 < cblgh> noffle: yeah basically
18:16:59 < cblgh> something that you could use while at a friends computer and you need to send a message or check something
18:17:14 <@noffle> yeah!
cblgh commented 4 years ago

could also use something like https://github.com/Frando/hypercore-peer-auth and an allowlist of preshared public keys for peers