SecConNet / mahiru

A proof-of-concept digital data exchange
Apache License 2.0
8 stars 0 forks source link

Policy exchange should be secured #3

Open LourensVeen opened 4 years ago

LourensVeen commented 4 years ago

This depends on issue #4, which needs to be completed first.

LourensVeen commented 4 years ago

Eventually, we'll have every party have an X.509 certificate, register those with the central registry, then use them for signing rules as well as securing HTTPS REST APIs from both ends. For now, the central registry stores a public key, which others can use to verify that a rule is valid.

LourensVeen commented 4 years ago

We're verifying the rules now when they are received by our Replica, but PolicyManager doesn't check them on the fly yet. So we're protected from someone intercepting our connection to the ReplicationServer, but we're not protected from someone hacking our local database and inserting rules.