diff --git a/.github/workflows/test/test_minio.sh b/.github/workflows/test/test_minio.sh index 63c8792..5ff94ff 100755 --- a/.github/workflows/test/test_minio.sh +++ b/.github/workflows/test/test_minio.sh @@ -27,7 +27,8 @@ NETWORK=$(docker inspect misp --format="{{ .HostConfig.NetworkMode }}") docker run -d --expose 9000 --network $NETWORK -e MINIO_ROOT_USER=$MINIO_ROOT_USER -e MINIO_ROOT_PASSWORD=$MINIO_ROOT_PASSWORD --quiet --name minio quay.io/minio/minio:latest server /data echo "Ensure MinIO client exists" -curl -L -o ./mc -# https://dl.min.io/client/mc/release/linux-${MINIO_ARCH}/mc && chmod +x ./mc +curl -L -o ./mc -# https://github.com/minio/mc/releases/download/RELEASE.2025-08-13T08-35-41Z/mc.linux-${MINIO_ARCH}.RELEASE.2025-08-13T08-35-41Z +chmod +x ./mc ./mc version echo "Create bucket" diff --git a/bin/misp_compile_php_extensions.sh b/bin/misp_compile_php_extensions.sh index 73d5e35..c6663c1 100644 --- a/bin/misp_compile_php_extensions.sh +++ b/bin/misp_compile_php_extensions.sh @@ -34,7 +34,7 @@ mkdir /build/php-modules/ # Compile simdjson mkdir /tmp/simdjson cd /tmp/simdjson -download_and_check https://github.com/JakubOnderka/simdjson_php/archive/d62c9065fe48716f900d82de1f810801f660946c.tar.gz 02904c257da4f1a427e54b391c7c9265e362fdd8a56ccba896804e9548602168 +download_and_check https://github.com/JakubOnderka/simdjson_php/archive/cdc42a599d65db28f54ac26125c3986b7f610dd5.tar.gz 36ba88c8df895da127e36db9bd219ffeb88e9f21df863fd9fd3af7da4ce1938e phpize CPPFLAGS="$DEFAULT_FLAGS" ./configure --silent make -j$NPROC @@ -93,7 +93,7 @@ mv modules/*.so /build/php-modules/ # Compile snuffleupagus mkdir /tmp/snuffleupagus cd /tmp/snuffleupagus -download_and_check https://github.com/jvoisin/snuffleupagus/archive/refs/tags/v0.13.0.tar.gz 350a33cd3906bdba46f5c4cf3d00edeb81eaf6a7b9a3a7e5ef47bc967492ae90 +download_and_check https://github.com/jvoisin/snuffleupagus/archive/refs/tags/v0.14.0.tar.gz 080cf7e24d15a8650e271837030fca546e627c7a4c7317710c683282fdcb71c6 cd src phpize CFLAGS="$DEFAULT_FLAGS" ./configure --silent --enable-snuffleupagus diff --git a/bin/misp_install.sh b/bin/misp_install.sh index 7e3793e..e020321 100644 --- a/bin/misp_install.sh +++ b/bin/misp_install.sh @@ -70,7 +70,7 @@ pip3.12 --no-cache-dir install scripts/mixbox scripts/misp-stix scripts/python-m cd /var/www/MISP/app/ # Remove unused packages su-exec apache php composer.phar --no-cache remove --update-no-dev iglocska/cake-resque -su-exec apache php composer.phar --no-cache require --update-no-dev sentry/sdk jakub-onderka/openid-connect-php:1.4.0 aws/aws-sdk-php +su-exec apache php composer.phar --no-cache require --update-no-dev sentry/sdk jakub-onderka/openid-connect-php:1.5.0 aws/aws-sdk-php # Create attachments folder and set correct owner mkdir /var/www/MISP/app/attachments diff --git a/requirements.txt b/requirements.txt index f6ac0a3..7fa326d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,6 @@ pymisp[fileobjects] +# forced version until pymisp is updated to support pure-magic-rs 0.5 +pure-magic-rs==0.4.3 lief python-magic plyara