Skip to content
This repository was archived by the owner on Apr 21, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ Makefile.*
moc_*
ui_*
qrc_*
Firmware
42 changes: 26 additions & 16 deletions FIRMWARE
Original file line number Diff line number Diff line change
@@ -1,31 +1,41 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

# My GPG key: 8DC8D309 - A full copy of it can also be found in src/ckb/msckey.gpg
# The GPG key: BAF07C6B - A full copy of it can also be found in src/ckb/ckb-next-key.gpg
# This document is signed to prevent tampering. Signature verification is enabled only when GnuPG is available.
# Firmware versions listed may not necessarily reflect the latest on Corsair's site; new versions will not be added until ckb has been tested with them.
# ckb does NOT read this file when flashing firmware manually. It will allow you to load any valid FW blob (at your own risk).
# ckb-next does NOT read this file when flashing firmware manually. It will allow you to load any valid FW blob (at your own risk).
#
# -------->>>>>> for Scimitar is a 2.4 available, for Strafe 2.05 !
# -------->>>>>> What code is valid for K70 (non RGB)? Lastz code at corsair is 2.04
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo in "Lastz"

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, Will be fixed with the additional K70 Infos.

#

!BEGIN FW ENTRIES

# Vendor Model FW URL Min.ckb File Name SHA256
Corsair K70RGB 2.05 http://www3.corsair.com/software/HID/K70RGB.zip 0.2.6 K70RGB_APP_V205.bin 3e43bdcc5077dc413fbdee7ff6e57a978f758599142eef6979a96e3b8c3a566a
Corsair K95RGB 2.05 http://www3.corsair.com/software/HID/K95RGB.zip 0.2.6 K95RGB_APP_V205.bin 8d0680dd033d6020a53bc9bfa83e761143699d1122f1d0133e95ad3056d63a15
Corsair STRAFE 2.04 http://www3.corsair.com/software/HID/STRAFE.zip 0.2.6 STRAFE_APP_V204.bin 51156ae7aa5b04405668582496cf28bbfb2e492accf93c65c3072aca9ef7ed65
Corsair STRAFERGB 2.05 http://www3.corsair.com/software/HID/STRAFERGB.zip 0.2.6 STRAFERGB_APP_V205.bin dff16fec9a0ae0d33aad0482f9ea02e3e55e231706b8c4e7fb66820aba98adc5
Corsair M65RGB 2.02 http://www3.corsair.com/software/HID/M65RGB.zip 0.2.5 M65RGB_App_v202.bin 0b6080b98d9199fd23837b7927e7868420f458f2f24ac545f33e34f79c317a79
Corsair SCIMITARRGB 2.03 http://www3.corsair.com/software/HID/Scimitar.zip 0.2.5 Scimitar_App_v203.bin 59194c3ae8a6ae0a801f7b6cf528ad292ae996923699cf063c7deed38fb326aa
Corsair K70RGB 2.05 http://www3.corsair.com/software/HID/K70RGB.zip 0.2.7 K70RGB_APP_V205.bin 3e43bdcc5077dc413fbdee7ff6e57a978f758599142eef6979a96e3b8c3a566a
Corsair K70LUX 2.04 http://www3.corsair.com/software/HID/K70LUX.zip 0.2.7 K70LUX_APP_V204.bin c2b5411e1dce391788eca294563801b32a14bf7802eb29688213f8f07e112966
Corsair K95RGB 2.05 http://www3.corsair.com/software/HID/K95RGB.zip 0.2.7 K95RGB_APP_V205.bin 8d0680dd033d6020a53bc9bfa83e761143699d1122f1d0133e95ad3056d63a15
Corsair STRAFE 2.04 http://www3.corsair.com/software/HID/STRAFE.zip 0.2.7 STRAFE_APP_V204.bin 51156ae7aa5b04405668582496cf28bbfb2e492accf93c65c3072aca9ef7ed65
Corsair STRAFERGB 2.05 http://www3.corsair.com/software/HID/STRAFERGB.zip 0.2.7 STRAFERGB_APP_V205.bin dff16fec9a0ae0d33aad0482f9ea02e3e55e231706b8c4e7fb66820aba98adc5
Corsair M65RGB 2.04 http://www3.corsair.com/software/HID/M65RGB.zip 0.2.7 M65RGB_App_v204.bin e1f09ce462f77071f91d92951410c14fb18061dd9760b3de89e45d1ca8b6b46c
Corsair SCIMITARRGB 2.03 http://www3.corsair.com/software/HID/Scimitar.zip 0.2.7 Scimitar_App_v203.bin 59194c3ae8a6ae0a801f7b6cf528ad292ae996923699cf063c7deed38fb326aa

!END FW ENTRIES

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXdMclAAoJEBXtkzSNyNMJRnQIAL0sz5zhYX2OKTDkZ+BTndh+
c5sq45o3M7GPsE3fRsDAt9BE2PU1K69dDdIv2oeKldvsgShhcF/iYYKDBVCH3Gai
jFKljnSpoBLy+aU77Pf2tBb9BC3yzD9MKUa+Rh2hOCwKGtXZwq2DqLoJwRl6KSbD
+oI4DF4M3pAhxG0FgxAeGfro1NIO2YPBULIH6qDdFxVTE+JoLlCkKslqTFBWEzvd
9L2bA4mOxJhsEt1be6twJ9vGiPfHMq8AKjNLsbJ3hg+E3Lft4X7ySG2uqSPYRK37
5t3d+H9aJg22oEZfU7VuykhdlTijmc88ekQZIb3v2cMHXi2HcBNxUIDVXq3dkbA=
=TQno
iQIcBAEBCAAGBQJYlbP/AAoJEDP9ily68HxrNXkP+wabfGxvdQjmazE4DTyHenC6
HyxlaI2ULhygZk/QuyW9lMR6ybCjX4w431dQa+ZoNmJZTecGxV9brLqFRS/2RIWI
i+ahwHqjxolywtJ/iihdoQwGmdl0ugUPVfGCXNCD+1CPPpQeApczfnEh0opCNKAJ
SUj0h1vBh3GEkkQfYDih/lSR/scWIsmwGJQJ316cFxyioFh3ThQyybzghjR+nzb/
joHp83WK3B0QKNNTLMIJZQxb7mQcFByklCkVxGGoxySn+8arXiInQ66KQ56ylhQM
2jSq0ngEfjaybupMRGQFSKpAG42mfxSA+qI13ltSdXAsRmOe7BRnF/XF1iVbInM6
wqEIS6+lFfNLTUfqMcxLd0KWwlMt7VWZjxkOz9+0NKpgoAHFNHte5Rl0yJ4NkDnU
shdjDKmpeFf+ticl9RIQQnt2e4srnrgEYfMK/FlFT0eG30Rm9NrFp3jkCc+Fvvpy
6RCedVXA6AiytPLRkVy8A9Rnn6Wujv+b7WY1wJLru9Jt0G2SdDcgNYNrdFp1n795
g/1135Z1usImUTTNOlW3IPTkv+ywEaZcucoYD3F7N7oOF9+cPhWIfCaExbguEQw1
lF5A027Kshgm4/AbmwF9WLgTdOJHHHFx6X+b8Moj5OEwUK0DC70wDGViFhGdUcPx
N6OF45UZLqkshGm2SF6l
=NFnV
-----END PGP SIGNATURE-----
2 changes: 1 addition & 1 deletion src/ckb/binary.qrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<RCC>
<qresource prefix="/bin">
<file>msckey.gpg</file>
<file>ckb-next-key.gpg</file>
</qresource>
</RCC>
Binary file added src/ckb/ckb-next-key.gpg
Binary file not shown.
7 changes: 5 additions & 2 deletions src/ckb/kbfirmware.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ bool KbFirmware::_checkUpdates(){
quint64 now = QDateTime::currentMSecsSinceEpoch();
if(now < lastCheck + AUTO_CHECK_TIME)
return false;
tableDownload = networkManager->get(QNetworkRequest(QUrl("https://raw.githubusercontent.com/ccMSC/ckb/master/FIRMWARE")));
// First location is for debugging only.
// tableDownload = networkManager->get(QNetworkRequest(QUrl("https://raw.githubusercontent.com/frickler24/ckb-next/issues-26-Firmware-Incident/FIRMWARE")));
// This one is the production one.
tableDownload = networkManager->get(QNetworkRequest(QUrl("https://raw.githubusercontent.com/mattanger/ckb-next/master/FIRMWARE")));
connect(tableDownload, SIGNAL(finished()), this, SLOT(downloadFinished()));
lastCheck = now;
return true;
Expand Down Expand Up @@ -83,7 +86,7 @@ void KbFirmware::processDownload(QNetworkReply* reply){
firmware.close();
// Write GPG key
QString keyPath = tmp.absoluteFilePath(QString("ckb-%1-key.gpg").arg(pid));
if(!QFile::copy(":/bin/msckey.gpg", keyPath)){
if(!QFile::copy(":/bin/ckb-next-key.gpg", keyPath)){
firmware.remove();
qDebug() << "Failed to write GPG key to temporary location, aborting firmware check";
return;
Expand Down
Binary file removed src/ckb/msckey.gpg
Binary file not shown.