Console: Mark LS1 encrypted leasesets as deprecated

also add notes to javadocs for the KeyRing class used to store the keys
This commit is contained in:
zzz
2026-03-13 09:10:16 -04:00
parent 4ebd92445d
commit d5e8cf07bb
7 changed files with 27 additions and 7 deletions

View File

@@ -864,7 +864,11 @@ public class I2PAppContext {
}
/**
* Basic hash map
* Basic hash map for LS1
*
* Deprecated -
* This is for the deprecated LS1 AES encrypted leasesets only.
* LS2 encrypted leaseset data are stored in netdb BlindCache and router.blindcache.dat.
*/
public KeyRing keyRing() {
if (!_keyRingInitialized)

View File

@@ -9,7 +9,11 @@ import net.i2p.data.Hash;
import net.i2p.data.SessionKey;
/**
* simple
* See net.i2p.router.PersistentKeyRing for extension.
*
* Deprecated -
* This is for the deprecated LS1 AES encrypted leasesets only.
* LS2 encrypted leaseset data are stored in netdb BlindCache and router.blindcache.dat.
*/
public class KeyRing extends ConcurrentHashMap<Hash, SessionKey> {
public KeyRing() {