Commit 9c9db58b authored by Dorian Zedler's avatar Dorian Zedler

changed to RSA 1024

parent 56ab1af5
......@@ -726,11 +726,9 @@ void MainActivity::handleSocketCommand(SocketServer::socketClient *socketClient,
break;
}
QByteArray pub, priv;
QRSAEncryption e;
// this is the public key of the offical Itsblue Development software team.
pub = QByteArray::fromBase64( "PyPKhbWPzphCjVh3dTXp2Jc5OQ5vEKBRPLTDr2jkzntjVKWJAhlDYysjJQLidERo/1qk5qbATyc4ygwc/MGvfw==" );
QByteArray pub = QByteArray::fromBase64("GetAJE+g0xJ0tUuEcdK5ELV1Wqr4f/7tq0xMGUDy1Udbgd68Ro1eabzBRhuoqzy6+MDDhhB5aYl9fIE8/DHcyGSRX/CcjIpH6CFJyBk9u2WStllyYJM6++kDTgDGG7V4Dq9gKBPr4GOG3Lq4xAtiIEYr/ZVTaR+tHl2SZYBMxgkr7Q62gc6x7MITIKINUjlKh084+7/CSlo+s0VSyUrCB+pTFHWn33DGeoX8TySxalIjyELBfEiGWKaW4LQD/s//a792Ff8AaSNDTUUq0gVMCY1oFgY++4DpQGoUy69Pn7cw5EbYAyF/mISVVvqSLTh99Uy3bhPEm55ed7TJ1xNZYQ==");
QRSAEncryption e(QRSAEncryption::Rsa::RSA_1024);
// check the signature of the update
QString signedMessage = requestData.toString();
......
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