instantiate per-client SKM
This commit is contained in:
@ -18,6 +18,7 @@ import java.util.Map;
|
|||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
|
|
||||||
import net.i2p.crypto.SessionKeyManager;
|
import net.i2p.crypto.SessionKeyManager;
|
||||||
|
import net.i2p.crypto.TransientSessionKeyManager;
|
||||||
import net.i2p.data.Destination;
|
import net.i2p.data.Destination;
|
||||||
import net.i2p.data.Hash;
|
import net.i2p.data.Hash;
|
||||||
import net.i2p.data.LeaseSet;
|
import net.i2p.data.LeaseSet;
|
||||||
@ -188,11 +189,11 @@ public class ClientConnectionRunner {
|
|||||||
if (_log.shouldLog(Log.DEBUG))
|
if (_log.shouldLog(Log.DEBUG))
|
||||||
_log.debug("SessionEstablished called for destination " + _destHashCache.toBase64());
|
_log.debug("SessionEstablished called for destination " + _destHashCache.toBase64());
|
||||||
_config = config;
|
_config = config;
|
||||||
// per-dest unimplemented
|
// per-destination session key manager to prevent rather easy correlation
|
||||||
//if (_sessionKeyManager == null)
|
if (_sessionKeyManager == null)
|
||||||
// _sessionKeyManager = new TransientSessionKeyManager(_context);
|
_sessionKeyManager = new TransientSessionKeyManager(_context);
|
||||||
//else
|
else
|
||||||
// _log.error("SessionEstablished called for twice for destination " + _destHashCache.toBase64().substring(0,4));
|
_log.error("SessionEstablished called for twice for destination " + _destHashCache.toBase64().substring(0,4));
|
||||||
_manager.destinationEstablished(this);
|
_manager.destinationEstablished(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user