Changeset 7bdfd07
- Timestamp:
- May 23, 2019 11:12:19 AM (20 months ago)
- Branches:
- master
- Children:
- 47c64c2e
- Parents:
- 7858dbe
- Location:
- apps/i2ptunnel/jsp
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
apps/i2ptunnel/jsp/editClient.jsi
r7858dbe r7bdfd07 498 498 </tr><tr> 499 499 <td colspan="2"> 500 <span class="multiOption"> 501 <label title="<%=intl._t("Legacy option (deprecated), provided for backward compatibility")%>"><input value="0" type="radio" name="sigType" <%=disabled%> <%=(currentSigType==0 ? " checked=\"checked\"" : "")%> class="tickbox" /> 502 DSA-SHA1</label> 503 </span> 500 <select id="sigType" name="sigType" class="selectbox"> 501 <option title="<%=intl._t("Legacy option (deprecated), provided for backward compatibility")%>" value="0" <%=(currentSigType==0 ? " selected=\"selected\"" : disabled)%> > 502 DSA-SHA1</option> 504 503 <% 505 504 if (editBean.isSigTypeAvailable(1)) { 506 505 %> 507 <span class="multiOption"> 508 <label><input value="1" type="radio" name="sigType" <%=disabled%> <%=(currentSigType==1 ? " checked=\"checked\"" : "")%> class="tickbox" /> 509 ECDSA-P256</label> 510 </span> 506 <option value="1" <%=(currentSigType==1 ? " selected=\"selected\"" : disabled)%> > 507 ECDSA-P256</option> 511 508 <% 512 509 } 513 510 if (editBean.isSigTypeAvailable(2)) { 514 511 %> 515 <span class="multiOption"> 516 <label><input value="2" type="radio" name="sigType" <%=disabled%> <%=(currentSigType==2 ? " checked=\"checked\"" : "")%> class="tickbox" /> 517 ECDSA-P384</label> 518 </span> 512 <option value="2" <%=(currentSigType==2 ? " selected=\"selected\"" : disabled)%> > 513 ECDSA-P384</option> 519 514 <% 520 515 } 521 516 if (editBean.isSigTypeAvailable(3)) { 522 517 %> 523 <span class="multiOption"> 524 <label><input value="3" type="radio" name="sigType" <%=disabled%> <%=(currentSigType==3 ? " checked=\"checked\"" : "")%> class="tickbox" /> 525 ECDSA-P521</label> 526 </span> 518 <option value="3" <%=(currentSigType==3 ? " selected=\"selected\"" : disabled)%> > 519 ECDSA-P521</option> 527 520 <% 528 521 } 529 522 if (editBean.isSigTypeAvailable(7)) { 530 523 %> 531 <span class="multiOption"> 532 <label title="<%=intl._t("This is the default, recommended option")%>"><input value="7" type="radio" name="sigType" <%=disabled%> <%=(currentSigType==7 ? " checked=\"checked\"" : "")%> class="tickbox" /> 533 Ed25519-SHA-512</label> 534 </span> 524 <option title="<%=intl._t("This is the default, recommended option")%>" value="7" <%=(currentSigType==7 ? " selected=\"selected\"" : disabled)%> > 525 Ed25519-SHA-512</option> 535 526 <% 536 527 } // isAvailable 537 528 %> 529 </select> 538 530 </td> 539 531 </tr> -
apps/i2ptunnel/jsp/editServer.jsi
r7858dbe r7bdfd07 438 438 String curEncryptMode = editBean.getEncryptMode(curTunnel); 439 439 %> 440 <select id="encryptMode" name="encryptMode" >"class="selectbox">441 <option title="<%=intl._t("Allow all clients to connect to this service")%>" value="0" <%=(curEncryptMode.equals("0") ? " selected=\"selected\"" : "")%> />440 <select id="encryptMode" name="encryptMode" class="selectbox"> 441 <option title="<%=intl._t("Allow all clients to connect to this service")%>" value="0" <%=(curEncryptMode.equals("0") ? " selected=\"selected\"" : "")%> > 442 442 <%=intl._t("Disable")%></option> 443 443 <% 444 444 if (editBean.isAdvanced() || curEncryptMode.equals("10")) { 445 445 %> 446 <option title="<%=intl._t("Allow all clients to connect to this service")%>" value="10" <%=(curEncryptMode.equals("10") ? " selected=\"selected\"" : "")%> />446 <option title="<%=intl._t("Allow all clients to connect to this service")%>" value="10" <%=(curEncryptMode.equals("10") ? " selected=\"selected\"" : "")%> > 447 447 <%=intl._t("Disable")%> (LS2)</option> 448 448 <% 449 449 } // isAdvanced() 450 450 %> 451 <option title="<%=intl._t("Only clients with the encryption key will be able to connect")%>" value="1" <%=(curEncryptMode.equals("1") ? " selected=\"selected\"" : "")%> />451 <option title="<%=intl._t("Only clients with the encryption key will be able to connect")%>" value="1" <%=(curEncryptMode.equals("1") ? " selected=\"selected\"" : "")%> > 452 452 <%=intl._t("Encrypted")%></option> 453 453 <% … … 456 456 if (allowBlinding) { 457 457 %> 458 <option title="<%=intl._t("Prevents server discovery by floodfills")%>" value="2" <%=(curEncryptMode.equals("2") ? " selected=\"selected\"" : "")%> />458 <option title="<%=intl._t("Prevents server discovery by floodfills")%>" value="2" <%=(curEncryptMode.equals("2") ? " selected=\"selected\"" : "")%> > 459 459 <%=intl._t("Blinded")%></option> 460 460 <% 461 461 if (editBean.isAdvanced()) { 462 462 %> 463 <option title="<%=intl._t("Only clients with the password will be able to connect")%>" value="3" <%=(curEncryptMode.equals("3") ? " selected=\"selected\"" : "")%> />463 <option title="<%=intl._t("Only clients with the password will be able to connect")%>" value="3" <%=(curEncryptMode.equals("3") ? " selected=\"selected\"" : "")%> > 464 464 <%=intl._t("Blinded with lookup password")%></option> 465 465 <% 466 466 // TODO, unimplemented 467 467 %> 468 <option title="<%=intl._t("Only clients with the encryption key will be able to connect")%>" value="4" <%=(curEncryptMode.equals("4") ? " selected=\"selected\"" : "")%> />468 <option title="<%=intl._t("Only clients with the encryption key will be able to connect")%>" value="4" <%=(curEncryptMode.equals("4") ? " selected=\"selected\"" : "")%> > 469 469 <%=intl._t("Blinded with shared key")%></option> 470 <option title="<%=intl._t("Only clients with the password and key will be able to connect")%>" value="5" <%=(curEncryptMode.equals("5") ? " selected=\"selected\"" : "")%> />470 <option title="<%=intl._t("Only clients with the password and key will be able to connect")%>" value="5" <%=(curEncryptMode.equals("5") ? " selected=\"selected\"" : "")%> > 471 471 <%=intl._t("Blinded with lookup password and shared key")%></option> 472 <option title="<%=intl._t("Only clients with the encryption key will be able to connect")%>" value="6" <%=(curEncryptMode.equals("6") ? " selected=\"selected\"" : "")%> />472 <option title="<%=intl._t("Only clients with the encryption key will be able to connect")%>" value="6" <%=(curEncryptMode.equals("6") ? " selected=\"selected\"" : "")%> > 473 473 <%=intl._t("Blinded with per-user key")%> (PSK)</option> 474 <option title="<%=intl._t("Only clients with the password and key will be able to connect")%>" value="7" <%=(curEncryptMode.equals("7") ? " selected=\"selected\"" : "")%> />474 <option title="<%=intl._t("Only clients with the password and key will be able to connect")%>" value="7" <%=(curEncryptMode.equals("7") ? " selected=\"selected\"" : "")%> > 475 475 <%=intl._t("Blinded with lookup password and per-user key")%> (PSK)</option> 476 <option title="<%=intl._t("Only clients with the encryption key will be able to connect")%>" value="8" <%=(curEncryptMode.equals("8") ? " selected=\"selected\"" : "")%> />476 <option title="<%=intl._t("Only clients with the encryption key will be able to connect")%>" value="8" <%=(curEncryptMode.equals("8") ? " selected=\"selected\"" : "")%> > 477 477 <%=intl._t("Blinded with per-user key")%> (DH)</option> 478 <option title="<%=intl._t("Only clients with the password and key will be able to connect")%>" value="9" <%=(curEncryptMode.equals("9") ? " selected=\"selected\"" : "")%> />478 <option title="<%=intl._t("Only clients with the password and key will be able to connect")%>" value="9" <%=(curEncryptMode.equals("9") ? " selected=\"selected\"" : "")%> > 479 479 <%=intl._t("Blinded with lookup password and per-user key")%> (DH)</option> 480 480 <% … … 744 744 </tr><tr> 745 745 <td colspan="2"> 746 <span class="multiOption"> 747 <label title="<%=intl._t("Legacy option (deprecated), provided for backward compatibility")%>"><input value="0" type="radio" id="startOnLoad" name="sigType" <%=disabled%> <%=(currentSigType==0 ? " checked=\"checked\"" : "")%> class="tickbox" /> 748 DSA-SHA1</label> 749 </span> 746 <select id="sigType" name="sigType" class="selectbox"> 747 <option title="<%=intl._t("Legacy option (deprecated), provided for backward compatibility")%>" value="0" <%=(currentSigType==0 ? " selected=\"selected\"" : disabled)%> > 748 DSA-SHA1</option> 750 749 <% if (editBean.isSigTypeAvailable(1)) { %> 751 <span class="multiOption"> 752 <label><input value="1" type="radio" id="startOnLoad" name="sigType" <%=disabled%> <%=(currentSigType==1 ? " checked=\"checked\"" : "")%> class="tickbox" /> 753 ECDSA-P256</label> 754 </span> 750 <option value="1" <%=(currentSigType==1 ? " selected=\"selected\"" : disabled)%> > 751 ECDSA-P256</option> 755 752 <% } 756 753 if (editBean.isSigTypeAvailable(2)) { %> 757 <span class="multiOption"> 758 <label><input value="2" type="radio" id="startOnLoad" name="sigType" <%=disabled%> <%=(currentSigType==2 ? " checked=\"checked\"" : "")%> class="tickbox" /> 759 ECDSA-P384</label> 760 </span> 754 <option value="2" <%=(currentSigType==2 ? " selected=\"selected\"" : disabled)%> > 755 ECDSA-P384</option> 761 756 <% } 762 757 if (editBean.isSigTypeAvailable(3)) { %> 763 <span class="multiOption"> 764 <label><input value="3" type="radio" id="startOnLoad" name="sigType" <%=disabled%> <%=(currentSigType==3 ? " checked=\"checked\"" : "")%> class="tickbox" /> 765 ECDSA-P521</label> 766 </span> 758 <option value="3" <%=(currentSigType==3 ? " selected=\"selected\"" : disabled)%> > 759 ECDSA-P521</option> 767 760 <% } 768 761 if (editBean.isSigTypeAvailable(7)) { %> 769 <span class="multiOption"> 770 <label title="<%=intl._t("This is the default, recommended option")%>"><input value="7" type="radio" id="startOnLoad" name="sigType" <%=disabled%> <%=(currentSigType==7 ? " checked=\"checked\"" : "")%> class="tickbox" /> 771 Ed25519-SHA-512</label> 772 </span> 762 <option title="<%=intl._t("This is the default, recommended option")%>" value="7" <%=(currentSigType==7 ? " selected=\"selected\"" : disabled)%> > 763 Ed25519-SHA-512</option> 773 764 <% } 774 765 if (editBean.isSigTypeAvailable(11)) { %> 775 <span class="multiOption"> 776 <label title="<%=intl._t("Experimental")%>"><input value="11" type="radio" id="startOnLoad" name="sigType" <%=disabled%> <%=(currentSigType==11 ? " checked=\"checked\"" : "")%> class="tickbox" /> 777 Red25519-SHA-512</label> 778 </span> 766 <option title="<%=intl._t("Experimental")%>" value="11" <%=(currentSigType==11 ? " selected=\"selected\"" : disabled)%> > 767 Red25519-SHA-512</option> 779 768 <% } // isAvailable 780 769 %> 770 </select> 781 771 </td> 782 772 </tr>
Note: See TracChangeset
for help on using the changeset viewer.