Buildbotics CNC Controller Firmware Changelog
=============================================
+## v0.4.10
+ - Fix demo password check
+
## v0.4.9
- Enforce 6A per motor channel peak current limit.
- Adjust config values above max or below min instead of resetting to default.
{
"name": "bbctrl",
- "version": "0.4.9",
+ "version": "0.4.10",
"homepage": "http://buildbotics.com/",
"repository": "https://github.com/buildbotics/bbctrl-firmware",
"license": "GPL-3.0+",
# Override exception logging
def log_exception(self, typ, value, tb):
if (isinstance(value, HTTPError) and
- value.status_code in (400, 404, 408)): return
+ value.status_code in (400, 401, 404, 408)): return
log = self.get_log()
log.set_level(bbctrl.log.DEBUG)
current = s.split(':')[1].split('$')
# Check password type
- if current[1] != '1':
- raise HTTPError(400, "Don't know how to update non-MD5 password")
+ if len(current) < 2 or current[1] != '1':
+ raise HTTPError(401, "Password invalid")
# Check current password
cmd = ['openssl', 'passwd', '-salt', current[2], '-1', password]