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 committed 2026-03-13 09:10:16 -04:00
1 parent 4ebd92445d
commit d5e8cf07bb
7 files changed
+27 -7

No files matched your search

@@ -13,6 +13,10 @@ import net.i2p.util.KeyRing;
* ConcurrentHashMap with backing in the router.config file.
* router.keyring.key.{base64 hash, with = replaced with $}={base64 session key}
* Caution - not all HashMap methods are overridden.
*
* 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 PersistentKeyRing extends KeyRing {
@@ -560,7 +560,15 @@ public class RouterContext extends I2PAppContext {
}
}
/** override to support storage in router.config */
/**
* Basic hash map for LS1
*
* overriden to support storage in router.config
*
* Deprecated -
* This is for the deprecated LS1 AES encrypted leasesets only.
* LS2 encrypted leaseset data are stored in netdb BlindCache and router.blindcache.dat.
*/
@Override
public KeyRing keyRing() {
if (!_keyRingInitialized)