Isaac Connor and Claude Opus 5
5c060bb6e6
chore: drop the libvlc build dependency from packaging, CI and docs
...
Nothing links or dlopens libvlc any more, so the dev package is no
longer a build requirement anywhere: the debian, beowulf, ubuntu and
split-package control files, the podman Containerfile, the redhat and
opensuse specs, the centos CI image, and the five workflows that
installed libvlc-dev. The redhat spec also required vlc-core at
runtime, which was the dlopen target.
Documentation follows: the libVLC source tab section, the macos note
about libVLC not being found, and the WEB_FILTER_SOURCE source-type
list.
Two stale statements nearby are corrected while the files are open. The
Remote source tab still said its RTSP method "may be removed in the
future"; it was removed earlier on this branch. AGENTS.md still listed
RemoteCameraRTSP and LibVLCCamera among the camera classes, both of
which are now gone.
All workflow yaml parses, the three edited rst files render, and the
debian control field structure is unchanged apart from the removed
entries.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_015Y6FieTwEXuLhhR4e2yiax
2026-10-10 09:32:17 -04:00
nic and Claude Opus 5.5
ad3d5ec54d
fix: random per-user salts in zmupdate.pl password migration, rehash migrated passwords on every login ( #5167 )
...
* fix: give each migrated password its own random bcrypt salt
migratePasswords() stored the Bytes::Random::Secure object rather than
bytes from it, so en_base64() encoded the string
"Bytes::Random::Secure=HASH(0x...)". bcrypt only reads the first 22
characters of the salt, all from the constant class name, so every user
on every install got the same salt. With neither Bytes::Random::Secure
nor Data::Entropy installed the salt was empty and bcrypt() died with
"bad bcrypt settings", aborting zmupdate.pl. Even the Data::Entropy path
reused a single salt for every user in the run.
Read 16 bytes per user from /dev/urandom, as generateAuthHashSecret()
in ZoneMinder::Config already does. If it can't be read, leave that
user's legacy hash in place, which auth.php still verifies, instead of
writing a weak one. This drops the need for Bytes::Random::Secure and
the deprecated Data::Entropy. refs #4333
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
* chore: drop the Data::Entropy dependency from packaging
zmupdate.pl no longer uses Data::Entropy, which upstream has deprecated
(CVE-2025-1860). refs #4333
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
* fix: rehash legacy passwords on every password login
Only the login form called migrateHash(), so accounts that sign in with
user=/pass= or through the API kept their mysql or zmupdate.pl
(mysql+bcrypt) hash, including those with the fixed salt. Call it from
those paths too, and have it check the password type itself.
migrateHash() also regenerated the auth hash from the in-memory user,
which still held the old password, so getAuthUser(), which checks
against the new one in the database, rejected it. Update the in-memory
password first, and update the row by Id rather than by the username
as typed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
* fix: note passwords still on a zmupdate.pl-migrated hash
Every salt migratePasswords() used before this branch was shared by all
users in a run: from Data::Entropy, which before 0.008 keys its generator
from rand() (CVE-2025-1860), or, since 38c0f743 with Bytes::Random::Secure
installed, a constant. The original hash input is gone, so zmupdate.pl
can't rehash these, and nothing distinguishes them from properly salted
ones. Log a warning listing every user still on a -ZM- hash, noting that
it is upgraded at their next login or password reset, and that unused
accounts can be disabled or deleted.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-02 08:30:43 -04:00
dependabot[bot]
f9e78fa4d7
build(deps): bump github/codeql-action from 4.38.1 to 4.38.2
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 4.38.1 to 4.38.2.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v4.38.1...v4.38.2 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 4.38.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-09-28 17:44:32 +00:00
dependabot[bot]
752c7ce5ee
build(deps): bump github/codeql-action from 4.38.0 to 4.38.1
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 4.38.0 to 4.38.1.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v4.38.0...v4.38.1 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 4.38.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-09-21 17:43:47 +00:00
dependabot[bot]
fa000bc365
build(deps): bump github/codeql-action from 4.37.9 to 4.38.0
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 4.37.9 to 4.38.0.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v4.37.9...v4.38.0 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 4.38.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-09-14 17:43:44 +00:00
dependabot[bot]
0963471af5
chore(deps): bump github/codeql-action from 4.37.8 to 4.37.9
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 4.37.8 to 4.37.9.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v4.37.8...v4.37.9 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 4.37.9
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-08-31 17:43:45 +00:00
dependabot[bot]
402d200d61
chore(deps): bump github/codeql-action from 4.37.7 to 4.37.8
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 4.37.7 to 4.37.8.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v4.37.7...v4.37.8 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 4.37.8
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-08-24 17:44:29 +00:00
dependabot[bot]
e120f286fc
chore(deps): bump github/codeql-action from 4.37.6 to 4.37.7
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 4.37.6 to 4.37.7.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v4.37.6...v4.37.7 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 4.37.7
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-08-17 18:55:57 +00:00
dependabot[bot]
76b9866c05
chore(deps): bump github/codeql-action from 4.37.4 to 4.37.6
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 4.37.4 to 4.37.6.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v4.37.4...v4.37.6 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 4.37.6
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-08-10 17:43:54 +00:00
dependabot[bot]
8109ab6589
chore(deps): bump github/codeql-action from 4 to 4.37.4
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 4 to 4.37.4.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v4...v4.37.4 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 4.37.4
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-08-03 17:44:00 +00:00
dependabot[bot]
1f1b72a425
chore(deps): bump actions/checkout from 6 to 7
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v6...v7 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '7'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2026-06-22 17:42:29 +00:00
Isaac Connor and Claude Opus 4.7
b8d93989ad
ci: skip CodeQL on changes that contain no scanned languages
...
Adds paths-ignore for db/, docs/, distros/, misc/, onvif/, scripts/
and *.md/*.sql/*.in files. CodeQL analyses cpp and javascript only,
so changes confined to these paths produce no new findings and don't
need to spend Actions minutes or generate ~610 MB of cache.
Verified the ignored directories contain no .c/.cpp/.h/.js files.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-05 20:24:15 -04:00
dependabot[bot]
44206f8f49
Bump actions/checkout from 5 to 6
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 5 to 6.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-11-24 17:40:27 +00:00
dependabot[bot]
a1867fbfbb
Bump github/codeql-action from 3 to 4
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3 to 4.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: '4'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-10-13 17:02:09 +00:00
dependabot[bot]
a209c41a6a
Bump actions/checkout from 4 to 5
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-12 02:14:37 +00:00
onlyjob
6980d57db5
libpcre3-dev --> libpcre2-dev
2025-02-26 21:06:33 +11:00
Isaac Connor
6f467dd0d4
Revert "regexp: port to pcre2"
...
This reverts commit fd09feb5f4 .
2024-03-04 09:54:18 -05:00
David Aguilar
fd09feb5f4
regexp: port to pcre2
...
Update pcre usage to be compatible with pcre2.
2024-03-02 17:19:08 -08:00
dependabot[bot]
4a3bacecfe
Bump github/codeql-action from 2 to 3
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-18 17:27:12 +00:00
dependabot[bot]
1438c025b9
Bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-09-04 17:11:40 +00:00
Isaac Connor
034ae4905b
Merge pull request #3500 from ZoneMinder/dependabot/github_actions/actions/checkout-3
...
Bump actions/checkout from 2 to 3
2022-06-06 12:11:35 -04:00
dependabot[bot]
c4d2385e57
Bump actions/checkout from 2 to 3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-06 14:47:56 +00:00
dependabot[bot]
5e3656cab6
Bump github/codeql-action from 1 to 2
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-06-06 14:47:53 +00:00
neilnaveen
950dfa1ecf
chore: Set permissions for GitHub actions
...
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.
- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions
https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/ )
Signed-off-by: neilnaveen <42328488+neilnaveen@users.noreply.github.com >
2022-06-03 01:08:38 +00:00
Isaac Connor
dd86be0811
Add libavdevice-dev
2022-04-21 10:32:51 -04:00
Isaac Connor
133553e630
Revert "Merge pull request #3119 from Carbenium/fmt"
...
This reverts commit 90d930c7c3 , reversing
changes made to 0bcb9d276f .
2022-02-27 14:05:14 -05:00
Isaac Connor
4027520b94
fix removed libfmt-dev package
2021-11-16 15:19:30 -05:00
Isaac Connor
a2ae63cefe
Merge branch 'master' into fmt
2021-11-16 15:10:45 -05:00
Peter Keresztes Schmidt
5c96eedac8
Build: Remove dependency on libavdevice
...
We currently don't use the library so don't depend on it.
2021-06-05 15:08:38 +02:00
Peter Keresztes Schmidt
b81689aa3f
Remove libgcrypt as dependency
...
GnuTLS used gcrypt as backend but switched in ~2011 to nettle.
Thus we don't need to/shouldn't depend on it.
2021-05-29 21:37:30 +02:00
Isaac Connor
354d7d8c04
add libjwt to codeql build
2021-03-23 15:46:53 -04:00
Isaac Connor
f4cb4ec5b3
Remove mp4v2-dev dependency
2021-03-09 09:10:56 -05:00
Peter Keresztes Schmidt
1a6b26f2ab
build: Add fmt as a required dependency
2021-03-01 22:43:02 +01:00
Peter Keresztes Schmidt
d68eeabb54
CodeQL: Exclude dep/ from analysis
2021-02-28 22:25:21 +01:00
Peter Keresztes Schmidt
5bc21a113c
CI/GitHub: Remove checkout step which throws a deprecation warning.
...
The warning:
1 issue was detected with this workflow: git checkout HEAD^2 is no longer necessary. Please remove this step as Code Scanning recommends analyzing the merge commit for best results.
2021-02-03 01:01:35 +01:00
Isaac Connor
1c54efa88d
Add apt-get update so that we don't get 404 errors
2020-10-02 12:59:56 -04:00
Isaac Connor
edf3d989b5
correct the version on libjpeg-turbo
2020-10-02 12:56:09 -04:00
Isaac Connor
db7cfede4a
Put back dependency install only using sudo now
2020-10-02 12:45:49 -04:00
Isaac Connor
9fec7c8e5a
Update codeql-analysis.yml
...
remove dependencies, need to figure out how to make it install them. Just do submodule init for now.
2020-10-01 17:11:20 -04:00
Isaac Connor
160520b3bf
Update codeql-analysis.yml
...
install dependencies before auto build
2020-10-01 15:50:35 -04:00
Isaac Connor
bf66903e2e
Update codeql-analysis.yml
...
Add submodule init
2020-10-01 14:10:55 -04:00
Isaac Connor
fbded3eb20
Update codeql-analysis.yml
...
Add some build dependencies
2020-10-01 14:07:11 -04:00
Isaac Connor
5f93941755
Create codeql-analysis.yml
...
Let's try out github code scanning
2020-10-01 13:34:52 -04:00