painless-security / trust-router

Moonshot Trust Router
0 stars 0 forks source link

Handle APC correctly when a realm is discovered from an APC community update #74

Closed jennifer-richards closed 6 years ago

jennifer-richards commented 6 years ago

This sets the "apcs" list for realms discovered from community updates for APC communities. Previously, the empty "apcs" list for that community was used.

Also, the trust router previously accepted any realm/community pairs for routing. That should have been APC communities only.

Finally, this also prevents configuring multiple communities with the same ID.

Note - ignore the second commit (9caf4a7). That will be removed in a later pull request, but is unfortunately in the history for this branch.