source: apps/routerconsole/jsp/configkeyring.jsp

Last change on this file was 447e29e, checked in by zzz <zzz@…>, 14 months ago

Console: More reword of tooltips

  • Property mode set to 100644
File size: 4.3 KB
Line 
1<%@page contentType="text/html"%>
2<%@page pageEncoding="UTF-8"%>
3<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
5<html><head>
6<%@include file="css.jsi" %>
7<%=intl.title("config keyring")%>
8<script src="/js/ajax.js" type="text/javascript"></script>
9<%@include file="summaryajax.jsi" %>
10</head><body onload="initAjax()">
11
12<%@include file="summary.jsi" %>
13<h1><%=intl._t("I2P Keyring Configuration")%></h1>
14<div class="main" id="config_keyring">
15 <%@include file="confignav.jsi" %>
16
17 <jsp:useBean class="net.i2p.router.web.helpers.ConfigKeyringHandler" id="formhandler" scope="request" />
18<%@include file="formhandler.jsi" %>
19 <jsp:useBean class="net.i2p.router.web.helpers.ConfigKeyringHelper" id="keyringhelper" scope="request" />
20 <jsp:setProperty name="keyringhelper" property="contextId" value="<%=i2pcontextId%>" />
21<p id="keyringhelp" class="infohelp">
22 <%=intl._t("The router keyring is used to decrypt encrypted leaseSets.")%>
23 <%=intl._t("The keyring may contain keys for local or remote encrypted destinations.")%></p>
24 <form action="" method="POST">
25 <input type="hidden" name="nonce" value="<%=pageNonce%>" >
26 <jsp:getProperty name="keyringhelper" property="summary" />
27 <table id="addkeyring"><tr><td align="right">
28 <input type="reset" class="cancel" value="<%=intl._t("Cancel")%>" >
29 <input type="submit" name="action" class="delete" value="<%=intl._t("Delete key")%>" >
30 </td></tr></table>
31 <h3 class="tabletitle"><%=intl._t("Manual Keyring Addition")%></h3>
32 <table id="addkeyring">
33        <tr>
34          <td class="infohelp" colspan="2">
35 <%=intl._t("Enter keys for encrypted remote destinations here.")%>
36<%
37    net.i2p.util.PortMapper pm = net.i2p.I2PAppContext.getGlobalContext().portMapper();
38    if (pm.isRegistered(net.i2p.util.PortMapper.SVC_I2PTUNNEL)) {
39%>
40 <%=intl._t("Keys for local destinations must be entered on the")%> <a href="i2ptunnel/"><%=intl._t("I2PTunnel page")%></a>.
41<%  }  %>
42          </td>
43        </tr><tr>
44          <td align="right"><b><%=intl._t("Full destination, name, base 32, or hash")%>:</b></td>
45          <td><input type="text" name="peer" size="55"></td>
46        </tr><tr>
47          <td align="right"><b><%=intl._t("Type")%>:</b></td>
48          <td><select id="encryptMode" name="encryptMode" class="selectbox">
49          <option title="<%=intl._t("Enter key provided by server operator.")%>" value="1">
50              <%=intl._t("Encrypted")%> (AES)</option>
51          <option title="<%=intl._t("Prevents server discovery by floodfills")%>" value="2">
52              <%=intl._t("Blinded")%></option>
53          <option title="<%=intl._t("Enter password provided by server operator.")%>" value="3">
54              <%=intl._t("Blinded with lookup password")%></option>
55          <option title="<%=intl._t("Enter key provided by server operator.")%>" value="4" selected="selected">
56              <%=intl._t("Encrypted")%> (PSK)</option>
57          <option title="<%=intl._t("Enter key and password provided by server operator.")%>" value="5">
58              <%=intl._t("Encrypted with lookup password")%> (PSK)</option>
59          <option title="<%=intl._t("Key will be generated.")%> <%=intl._t("Send key to server operator.")%>" value="6">
60              <%=intl._t("Encrypted")%> (DH)</option>
61          <option title="<%=intl._t("Enter password provided by server operator.")%> <%=intl._t("Key will be generated.")%> <%=intl._t("Send key to server operator.")%>" value="7">
62              <%=intl._t("Encrypted with lookup password")%> (DH)</option>
63          </select></td>
64        </tr><tr>
65          <td align="right"><b><%=intl._t("Encryption Key")%>:</b></td>
66          <td><input type="text" size="55" name="key" title="<%=intl._t("Enter key provided by server operator.")%> <%=intl._t("Leave blank for DH option.")%> <%=intl._t("Key will be generated.")%>"></td>
67        </tr><tr>
68           <td align="right"><b><%=intl._t("Optional lookup password")%>:</b></td>
69           <td><input type="password" name="nofilter_blindedPassword" title="<%=intl._t("Enter password provided by server operator.")%>" class="freetext password" /></td>
70        </tr><tr>
71          <td align="right" colspan="2">
72<input type="reset" class="cancel" value="<%=intl._t("Cancel")%>" >
73<input type="submit" name="action" class="add" value="<%=intl._t("Add key")%>" >
74</td></tr></table></form></div></body></html>
Note: See TracBrowser for help on using the repository browser.