Changeset f524351


Ignore:
Timestamp:
Nov 5, 2014 5:20:45 PM (7 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
76e4b49
Parents:
893d1bb
Message:

Console: Add ECDSA warning to sidebar

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/java/src/net/i2p/router/web/SummaryBarRenderer.java

    r893d1bb rf524351  
    99import java.util.Map;
    1010
     11import net.i2p.crypto.SigType;
    1112import net.i2p.data.DataHelper;
    1213import net.i2p.router.RouterContext;
     
    347348           .append(_helper.getReachability())
    348349           .append("</a></h4>\n");
     350        if (!SigType.ECDSA_SHA256_P256.isAvailable()) {
     351            buf.append("<hr>\n<h4><a href=\"/logs\" target=\"_top\" title=\"")
     352               .append(_("See more information on the logs page"))
     353               .append("\">")
     354               .append(_("Warning: ECDSA is not available. Update your Java or OS"))
     355               .append("</a></h4>\n");
     356        }
    349357        return buf.toString();
    350358    }
Note: See TracChangeset for help on using the changeset viewer.