I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit ba7fb004 authored by zzz's avatar zzz
Browse files

i2ptunnel: Prevent changing alt private key file while running

parent 20b41863
No related branches found
No related tags found
No related merge requests found
...@@ -718,14 +718,17 @@ ...@@ -718,14 +718,17 @@
/* alternate dest, only if current dest is set and is DSA_SHA1 */ /* alternate dest, only if current dest is set and is DSA_SHA1 */
if (currentSigType == 0 && !"".equals(b64) && !isStreamrServer) { if (currentSigType == 0 && !"".equals(b64) && !isStreamrServer) {
String attitle = canChangeEncType ? "" : tstopFirst;
String atitle = canChangeEncType ? intl._t("Path to Private Key File") : stopFirst;
String adisabled = canChangeEncType ? "" : " readonly=\"readonly\" ";
%> %>
<tr> <tr>
<th colspan="2"> <th colspan="2" <%=attitle%> >
<%=intl._t("Alternate private key file")%> (Ed25519-SHA-512) <%=intl._t("Alternate private key file")%> (Ed25519-SHA-512)
</th> </th>
</tr><tr> </tr><tr>
<td colspan="2"> <td colspan="2">
<input type="text" class="freetext" size="30" id="altPrivKeyFile" name="altPrivKeyFile" title="<%=intl._t("Path to Private Key File")%>" value="<%=editBean.getAltPrivateKeyFile(curTunnel)%>" /> <input type="text" class="freetext" size="30" id="altPrivKeyFile" name="altPrivKeyFile" title="<%=atitle%>" <%=adisabled%> value="<%=editBean.getAltPrivateKeyFile(curTunnel)%>" />
</td> </td>
</tr> </tr>
<% <%
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment