git ssb

1+

Dominic / ssb-private-groups



Commit 9e251a0ec3bb0d48caf9ec19c7e8d4552cd44e4a

oops, too much tidying

Dominic Tarr committed on 12/27/2018, 8:37:23 PM
Parent: f8b540f929cf4de61e694622166b3a1e1505f22a

Files changed

test/index.jschanged
test/index.jsView
@@ -59,8 +59,9 @@
5959 var nonce = u.id2Buffer(data.key)
6060 var keys = [bob_keys, alice_keys].map(function (key) {
6161 return scalarmult(bob_keys.private, key.public)
6262 })
63 + var ctxt = group_box.box(ptxt, nonce, keys)
6364 var _key = group_box.unboxKey(ctxt, nonce, keys, 8)
6465 t.ok(_key, 'message can be decrypted')
6566 bob.publish(
6667 ctxt.toString('base64')+'.box2',

Built with git-ssb-web