From fe87136870968472f7b50727d726eb3c1111ca0f Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Wed, 3 Jun 2015 16:25:16 -0700 Subject: [PATCH] Auto-update fix -- signature is in hex. --- service/OneService.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/OneService.cpp b/service/OneService.cpp index a2ccc6dc1..96ab1ac31 100644 --- a/service/OneService.cpp +++ b/service/OneService.cpp @@ -210,7 +210,7 @@ public: return; } - std::string ed25519(nfo.get("ed25519","")); + std::string ed25519(Utils::unhex(nfo.get("ed25519",""))); if ((ed25519.length() == 0)||(!signedBy.verify(fileData.data(),(unsigned int)fileData.length(),ed25519.data(),(unsigned int)ed25519.length()))) { //fprintf(stderr,"UPDATE %s failed signature check!\n",filePath.c_str()); return;