Changeset ea5ddfc
- Timestamp:
- May 22, 2019 6:27:34 PM (20 months ago)
- Branches:
- master
- Children:
- 7858dbe
- Parents:
- 3328983
- Location:
- apps/i2ptunnel/java/src/net/i2p/i2ptunnel/ui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
apps/i2ptunnel/java/src/net/i2p/i2ptunnel/ui/GeneralHelper.java
r3328983 rea5ddfc 569 569 String authType = getProperty(tunnel, "i2cp.leaseSetAuthType", "0"); 570 570 if (authType.equals("2")) { 571 rv = 6; 571 // shared PSK key 572 rv = 4; 573 // per-client PSK key 574 // TODO 575 //rv = 6; 572 576 } else if (authType.equals("1")) { 573 // shared DH key 574 rv = 4; 575 // per-client DH key 576 //rv = 8; 577 rv = 8; 577 578 } else { 578 579 rv = 2; -
apps/i2ptunnel/java/src/net/i2p/i2ptunnel/ui/TunnelConfig.java
r3328983 rea5ddfc 682 682 break; 683 683 684 case 4: // blinded, shared key (implicit DH)684 case 4: // blinded, shared key (implicit PSK) 685 685 config.put(OPT + "i2cp.leaseSetType", "5"); 686 686 config.remove(OPT + "i2cp.leaseSetSecret"); 687 config.put(OPT + "i2cp.leaseSetAuthType", " 1");687 config.put(OPT + "i2cp.leaseSetAuthType", "2"); 688 688 break; 689 689 690 case 5: // blinded, secret, shared key (implicit DH)690 case 5: // blinded, secret, shared key (implicit PSK) 691 691 config.put(OPT + "i2cp.leaseSetType", "5"); 692 config.put(OPT + "i2cp.leaseSetAuthType", " 1");692 config.put(OPT + "i2cp.leaseSetAuthType", "2"); 693 693 break; 694 694
Note: See TracChangeset
for help on using the changeset viewer.