diff --git a/README.md b/README.md index bd8e129..61bfcb2 100644 --- a/README.md +++ b/README.md @@ -25,11 +25,14 @@ cd mailiverse/install && sudo ./setup-java.remote 6. Have ant installed: sudo apt-get install ant --yes -7. Add lines to the hosts file for the target machine: +7. Add the line to the hosts file for the target machine: + +So let's say your target machine was named: joesmail.com +And it's IP was: 192.168.1.243 + sudo nano /etc/hosts add the lines: -SOME-IP-ADDRESS mail.whateverthenameofyourdomainis -SOME-IP-ADDRESS whateverthenameofyourdomainis +192.168.1.243 mail.joesmail.com This could also be done on a DNS server, if you control one.. diff --git a/web/WebContent/js/crypt/openpgp/openpgp.js b/web/WebContent/js/crypt/openpgp/openpgp.js index 0380840..e157224 100644 --- a/web/WebContent/js/crypt/openpgp/openpgp.js +++ b/web/WebContent/js/crypt/openpgp/openpgp.js @@ -1520,6 +1520,7 @@ BigInteger.prototype.square = bnSquare; // // RSA implementation +/* function SecureRandom(){ function nextBytes(byteArray){ for(var n = 0; n < byteArray.length;n++){ @@ -1528,6 +1529,7 @@ function SecureRandom(){ } this.nextBytes = nextBytes; } +*/ function RSA() { /** diff --git a/web/WebContent/js/mDispatch.js b/web/WebContent/js/mDispatch.js index a0dcc24..2cce198 100644 --- a/web/WebContent/js/mDispatch.js +++ b/web/WebContent/js/mDispatch.js @@ -64,6 +64,9 @@ mDispatch = { if (mode == 'worker' && startsWith(cmd,'srp')) mode = 'async'; + if (startsWith(cmd, 'pgp')) + mode = 'sync'; + if (mode == 'sync') { try