Skip to content

Commit d963e42

Browse files
committed
Fix openssl requirements for existing dependencies
1 parent 7ac6d95 commit d963e42

File tree

10 files changed

+14
-2
lines changed

10 files changed

+14
-2
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,14 @@
5151
"ext-json": "*",
5252
"ext-mbstring": "*",
5353
"ext-openssl": "*",
54+
"ext-sodium": "*",
5455
"brick/math": "^0.9|^0.10|^0.11|^0.12",
5556
"paragonie/constant_time_encoding": "^2.6",
5657
"psr/clock": "^1.0",
5758
"psr/event-dispatcher": "^1.0",
5859
"psr/http-client": "^1.0",
5960
"psr/http-factory": "^1.0",
61+
"spomky-labs/aes-key-wrap": "^7.0",
6062
"spomky-labs/pki-framework": "^1.0",
6163
"symfony/config": "^5.4|^6.0|^7.0",
6264
"symfony/console": "^5.4|^6.0|^7.0",
@@ -86,7 +88,6 @@
8688
"qossmic/deptrac-shim": "^1.0",
8789
"rector/rector": "^0.19",
8890
"roave/security-advisories": "dev-latest",
89-
"spomky-labs/aes-key-wrap": "^7.0",
9091
"symfony/browser-kit": "^6.1|^7.0",
9192
"symfony/finder": "^6.1|^7.0",
9293
"symfony/framework-bundle": "^6.1|^7.0",
@@ -128,7 +129,6 @@
128129
"web-token/jwt-experimental": "self.version"
129130
},
130131
"suggest": {
131-
"ext-sodium": "Sodium is required for OKP key creation, EdDSA signature algorithm and ECDH-ES key encryption with OKP keys",
132132
"bjeavons/zxcvbn-php": "Adds key quality check for oct keys.",
133133
"php-http/httplug": "To enable JKU/X5U support.",
134134
"php-http/httplug-bundle": "To enable JKU/X5U support.",

src/Deprecated/EncryptionAlgorithm/ContentEncryption/AESCBC/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
}
3434
],
3535
"require": {
36+
"ext-openssl": "*",
3637
"web-token/jwt-library": "^3.3"
3738
}
3839
}

src/Deprecated/EncryptionAlgorithm/ContentEncryption/AESGCM/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
}
3434
],
3535
"require": {
36+
"ext-openssl": "*",
3637
"web-token/jwt-library": "^3.3"
3738
}
3839
}

src/Deprecated/EncryptionAlgorithm/KeyEncryption/AESGCMKW/composer.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
}
3434
],
3535
"require": {
36+
"ext-openssl": "*",
37+
"spomky-labs/aes-key-wrap": "^7.0",
3638
"web-token/jwt-library": "^3.3"
3739
}
3840
}

src/Deprecated/EncryptionAlgorithm/KeyEncryption/AESKW/composer.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
}
3434
],
3535
"require": {
36+
"ext-openssl": "*",
37+
"spomky-labs/aes-key-wrap": "^7.0",
3638
"web-token/jwt-library": "^3.3"
3739
}
3840
}

src/Deprecated/EncryptionAlgorithm/KeyEncryption/ECDHES/composer.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
}
3434
],
3535
"require": {
36+
"ext-openssl": "*",
37+
"spomky-labs/aes-key-wrap": "^7.0",
3638
"web-token/jwt-library": "^3.3"
3739
}
3840
}

src/Deprecated/EncryptionAlgorithm/KeyEncryption/RSA/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
}
3434
],
3535
"require": {
36+
"ext-openssl": "*",
3637
"web-token/jwt-library": "^3.3"
3738
}
3839
}

src/Deprecated/KeyManagement/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
}
3434
],
3535
"require": {
36+
"ext-openssl": "*",
3637
"web-token/jwt-library": "^3.3"
3738
}
3839
}

src/Deprecated/SignatureAlgorithm/ECDSA/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
}
3434
],
3535
"require": {
36+
"ext-openssl": "*",
3637
"web-token/jwt-library": "^3.3"
3738
}
3839
}

src/Deprecated/SignatureAlgorithm/EdDSA/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
}
3434
],
3535
"require": {
36+
"ext-sodium": "*",
3637
"web-token/jwt-library": "^3.3"
3738
}
3839
}

0 commit comments

Comments
 (0)