Commit a2f055a4 authored by inso's avatar inso
Browse files

Fix identity generated by root block gen in webmin

parent 4aa60541
......@@ -145,7 +145,7 @@ function WebAdmin (dbConf, overConf) {
let found = yield server.dal.getIdentityByHashOrNull(entity.getTargetHash());
if (!found) {
let selfCert = rawer.getOfficialIdentity(entity);
selfCert += crypto.signSync(selfCert, secretKey);
selfCert += crypto.signSync(selfCert, secretKey) + '\n';
found = yield that.pushEntity({ body: { identity: selfCert }}, http2raw.identity, parsers.parseIdentity);
yield server.dal.fillInMembershipsOfIdentity(Q(found));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment