aboutsummaryrefslogtreecommitdiffhomepage
path: root/resources/assets/js/chat.js
diff options
context:
space:
mode:
Diffstat (limited to 'resources/assets/js/chat.js')
-rw-r--r--resources/assets/js/chat.js24
1 files changed, 12 insertions, 12 deletions
diff --git a/resources/assets/js/chat.js b/resources/assets/js/chat.js
index f2a8cb2..60563aa 100644
--- a/resources/assets/js/chat.js
+++ b/resources/assets/js/chat.js
@@ -1,18 +1,18 @@
-var openpgp = window.openpgp;
+// var openpgp = window.openpgp;
-var options = {
- userIds: [{ name:'Marvin Borner', email:'test@test.de' }], // multiple user IDs
- numBits: 4096, // RSA key size
- passphrase: 'cool password of private key'
-};
+// var options = {
+// userIds: [{ name:'Marvin Borner', email:'test@test.de' }], // multiple user IDs
+// numBits: 4096, // RSA key size
+// passphrase: 'cool password of private key'
+// };
-openpgp.generateKey(options).then(function(key) {
- var privateKey = key.privateKeyArmored; // '-----BEGIN PGP PRIVATE KEY BLOCK ... '
- var publicKey = key.publicKeyArmored; // '-----BEGIN PGP PUBLIC KEY BLOCK ... '
+// openpgp.generateKey(options).then(function(key) {
+// var privateKey = key.privateKeyArmored; // '-----BEGIN PGP PRIVATE KEY BLOCK ... '
+// var publicKey = key.publicKeyArmored; // '-----BEGIN PGP PUBLIC KEY BLOCK ... '
- console.log(publicKey);
- console.log(privateKey);
-});
+// console.log(publicKey);
+// console.log(privateKey);
+// });