⬆️ Update motioneye-project/motioneye to v0.44.0#587
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
|
Please take note of the breaking changes shipped with motionEye 0.44.0, notably the dropped SHA1 signature and HTTP basic authentication methods: https://github.com/motioneye-project/motioneye/releases/tag/0.44.0 Since motionEye 0.44.0, authentication is done via session token passed in a signed cookie. The flow needs to be like this:
Let us know if there are any questions, or suggestions. This change was urgently needed, but we know that it comes with possible regressions, and might have issues in use cases not covered in our testing. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.43.1→0.44.0Release Notes
motioneye-project/motioneye (motioneye-project/motioneye)
v0.44.0Compare Source
🚨 This release closes a number of security vulnerabilities, please update ASAP! 🚀
The following vulnerabilities have been closed:
Their combination allowed the following attacks, for which every step has been mitigated:
Breaking changes: #3332 @motioneye-project
/loginAPI, withusernameandpasswordarguments as POST data/parameters. If credentials were correct, a session cookie is returned, which needs to be sent with the actual API requests. The cookie has a 24h lifetime, hence scripts/programs should automatically redo the login loop when receiving a 403./actionAPI does now require authentication.Other changes
picture/ID/currentAPI has been fixed for requests which are not done withinmjpg_client_idle_timeout(default: 10) seconds after another:motionconfiguration files are now created and stored with0600UNIX mode, to prevent read access for anyone but the motionEye daemon user and root @MichaIng:\"\":motion.conf,camera-*.conf,prefs.json, andmask-*.pgm. Files that need to be created from console, likemotioneye.confand camera action scripts, are not included, and won't be restored anymore, if present in old backups:motion%$conversion specifier to reference the camera name can now be used in media filenames:.mpgfiles inside the camera media directories are not treated as movie files regarding preview generation, cleanup, and similar tasks. Available motionEye options do not currently generate those files, but with custom settings, manual conversions, media files copied from elsewhere, the situation is generally possible:v0.44.0b3Compare Source
What's new
motion%$conversion specifier to reference the camera name can now be used in media filenames: #3273 @strawberry-poodle (anonymous study account).mpgfiles inside the camera media directories are not treated as movie files regarding preview generation, cleanup, and similar tasks. Available motionEye options do not currently generate those files, but with custom settings, manual conversions, media files copied from elsewhere, the situation is generally possible: #3300 @strawberry-poodle (anonymous study account)v0.44.0b2Compare Source
Breaking changes: #3332 @motioneye-project
/loginAPI, withusernameandpasswordarguments as POST data/parameters. If credentials were correct, a session cookie is returned, which needs to be sent with the actual API requests. The cookie has a 24h lifetime, hence scripts/programs should automatically redo the login loop when receiving a 403.Other changes
\"\": #3322 @Marijn0motion.conf,camera-*.conf,prefs.json, andmask-*.pgm. Files that need to be created from console, likemotioneye.confand camera action scripts, are not included, and won't be restored anymore, if present in old backups: #3338 @MichaIngv0.44.0b1Compare Source
Whats new:
picture/ID/currentAPI has been fixed for requests which are not done withinmjpg_client_idle_timeout(default: 10) seconds after another:http_basic_auth trueinmotioneye.confdo not fail anymore:motionconfiguration files are now created and stored with0600UNIX mode, to prevent read access for anyone but the motionEye daemon user and root @MichaIng:🚨 Since this version contains a number of security-related changes, we highly recommend to update your instances ASAP 🚀.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.