mirror of
https://github.com/moparisthebest/mailiverse
synced 2024-12-21 21:08:48 -05:00
pgp uses rng from tomwu, mDispatch does pgp sync, somehow failing async
This commit is contained in:
parent
940b792d21
commit
819882d9b0
@ -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..
|
||||
|
||||
|
@ -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() {
|
||||
/**
|
||||
|
@ -64,6 +64,9 @@ mDispatch = {
|
||||
if (mode == 'worker' && startsWith(cmd,'srp'))
|
||||
mode = 'async';
|
||||
|
||||
if (startsWith(cmd, 'pgp'))
|
||||
mode = 'sync';
|
||||
|
||||
if (mode == 'sync')
|
||||
{
|
||||
try
|
||||
|
Loading…
Reference in New Issue
Block a user