add support for curve message signing and curve validateKeys
This commit is contained in:
1 parent
852b2eaf1d
commit
4b23ef74d7
3 files changed
+73
-22
No files matched your search
+2
-3
@@ -28,11 +28,10 @@ define([
|
||||
var proxy = Cryptpad.getProxy();
|
||||
var mySecret = proxy.curvePrivate;
|
||||
|
||||
var encryptor = Curve.createEncryptor(info.pubkey, mySecret);
|
||||
var keys = Curve.deriveKeys(info.pubkey, mySecret);
|
||||
var encryptor = Curve.createEncryptor(keys);
|
||||
|
||||
Cryptpad.removeLoadingScreen();
|
||||
var message = 'hello!';
|
||||
Cryptpad.alert(message);
|
||||
|
||||
var listmapConfig = {
|
||||
data: {},
|
||||
|
||||
Reference in new issue
Block a user