Merge branch 'remove-unbound-transport-keys' into 'master'

Remove support for unbound transport keys

See merge request akwizgran/briar!791
This commit is contained in:
Torsten Grote
2018-05-15 14:18:58 +00:00
19 changed files with 179 additions and 504 deletions

View File

@@ -453,12 +453,11 @@ class IntroduceeProtocolEngine
.getContact(txn, s.getRemote().author.getId(),
localAuthor.getId());
// bind the keys to the new contact
// add the keys to the new contact
//noinspection ConstantConditions
keys = keyManager
.addUnboundKeys(txn, new SecretKey(s.getMasterKey()),
timestamp, s.getLocal().alice);
keyManager.bindKeys(txn, c.getId(), keys);
.addContact(txn, c.getId(), new SecretKey(s.getMasterKey()),
timestamp, s.getLocal().alice, false);
// add signed transport properties for the contact
//noinspection ConstantConditions