diff --git a/sea.js b/sea.js index 75c15d36..280847b5 100644 --- a/sea.js +++ b/sea.js @@ -659,7 +659,7 @@ SEA.verify = USE('./verify'); SEA.encrypt = USE('./encrypt'); SEA.decrypt = USE('./decrypt'); - SEA.opt.aeskey = USE('./aeskey'); // not official! + //SEA.opt.aeskey = USE('./aeskey'); // not official! // this causes problems in latest WebCrypto. SEA.random = SEA.random || shim.random; diff --git a/test/sea/sea.js b/test/sea/sea.js index 4984ec89..0f5979bd 100755 --- a/test/sea/sea.js +++ b/test/sea/sea.js @@ -37,14 +37,14 @@ describe('SEA', function(){ var gun; var pub; describe('Utility', function(){ - it('generates aeskey from jwk', function(done) { + /*it('generates aeskey from jwk', function(done) { // DEPRECATED!!! console.log("WARNING: THIS DOES NOT WORK IN BROWSER!!!! NEEDS FIX"); SEA.opt.aeskey('x','x').then(k => { //console.log("DATA", k.data); expect(k.data.toString('base64')).to.be('Xd6JaIf2dUybFb/jpEGuSAbfL96UABMR4IvxEGIuC74=') done() }) - }) + })*/ it('quickstart', function(done){ SEA.pair(function(pair){ SEA.encrypt('hello self', pair, function(enc){