four steps to get a Myzel

  1. admin fills out config generator form, sends link to everyone
  2. everyone fills out the preference setting form and sends their collect link to the others/admin
  3. admin can now collect all filters by clicking on all collect links and send the resulting combined filter
  4. everyone can now see their caregivers by using the combined filter that was collected on the result form

Workings

The System is based on bloomfilters, a way of doing Multi party Computation

We have a filtering list of some length a, filled with entries set to true

every Myzel gets a number up to a assigned to it (hashed)

When choosing preferences, one creates a new filter list

Every possible Myzel arrangement is checked:

If I am not happy with that Myzel out of any reason, I calculate its hash, and set the corresponding entry of my filter to false.

I send my filter to the others

All filters get combined, by, for each entry, checking whether anyone has anything against any Myzel hashed to this index

We now take the first Myzel hashed to an entry not excluded in the filter

To avoid repeats, the ordering in which we try the Myzels is mixed with a different seed with every new generation.

As the amount of different possible myzels is exponential, we might not be able to generate all, but only a pseudorandom subset depending on the seed.

Security

Everything happens client-side, nothing is sent to the server.

A lot of unencrypted cookies are saved for convenience

The config is unencrypted and contains all names

The protocol is not authenticated, you could set filter entries having nothing to do with you. You can, however not override any wishes of others

A full Myzel is generated, not only one persons carers, so who else cares for who else is not private (just not shown in the ui)

As the search space for possible wishes anyone could have is very limited, brute-forcing the wishes given a certain filter is very possible