From 373acefde7be92f86b8294b325519ad916b1e054 Mon Sep 17 00:00:00 2001 From: Mark Haines Date: Thu, 9 Jul 2015 18:35:54 +0100 Subject: Add c bindings for the methods for managing one time keys --- javascript/demo.html | 3 +++ 1 file changed, 3 insertions(+) (limited to 'javascript/demo.html') diff --git a/javascript/demo.html b/javascript/demo.html index c9cad8b..2120f95 100644 --- a/javascript/demo.html +++ b/javascript/demo.html @@ -28,6 +28,9 @@ document.addEventListener("DOMContentLoaded", function (event) { tasks.push(["alice", "Creating account", function() { alice.create() }]); tasks.push(["bob", "Creating account", function() { bob.create() }]); + tasks.push(["bob", "Generate one time keys", function() { + bob.generate_one_time_keys(1); + }]); tasks.push(["alice", "Create outbound session", function() { var bobs_id_keys = JSON.parse(bob.identity_keys("bob", "bob_device", 0, 0)); var bobs_id_key; -- cgit v1.2.3