Skip to content

Commit 4dd6b1a

Browse files
committed
Fix deprecated packages dependencies
1 parent 46ac028 commit 4dd6b1a

File tree

24 files changed

+40
-0
lines changed

24 files changed

+40
-0
lines changed

src/Deprecated/Checker/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+
"php": ">=8.1",
37+
"psr/clock": "^1.0",
3638
"web-token/jwt-library": "^3.3"
3739
}
3840
}

src/Deprecated/Console/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+
"php": ">=8.1",
37+
"symfony/console": "^5.4|^6.0|^7.0",
3638
"web-token/jwt-library": "^3.3"
3739
}
3840
}

src/Deprecated/Core/composer.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@
3333
}
3434
],
3535
"require": {
36+
"php": ">=8.1",
37+
"ext-json": "*",
38+
"ext-mbstring": "*",
39+
"brick/math": "^0.9|^0.10|^0.11|^0.12",
40+
"paragonie/constant_time_encoding": "^2.6",
41+
"spomky-labs/pki-framework": "^1.0",
3642
"web-token/jwt-library": "^3.3"
3743
}
3844
}

src/Deprecated/Ecc/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+
"php": ">=8.1",
37+
"brick/math": "^0.9|^0.10|^0.11|^0.12",
3638
"web-token/jwt-library": "^3.3"
3739
}
3840
}

src/Deprecated/Encryption/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+
"php": ">=8.1",
3637
"web-token/jwt-library": "^3.3"
3738
}
3839
}

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+
"php": ">=8.1",
3637
"ext-openssl": "*",
3738
"web-token/jwt-library": "^3.3"
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+
"php": ">=8.1",
3637
"ext-openssl": "*",
3738
"web-token/jwt-library": "^3.3"
3839
}

src/Deprecated/EncryptionAlgorithm/Experimental/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+
"php": ">=8.1",
37+
"ext-openssl": "*",
3638
"web-token/jwt-experimental": "^3.3"
3739
}
3840
}

src/Deprecated/EncryptionAlgorithm/KeyEncryption/AESGCMKW/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+
"php": ">=8.1",
3637
"ext-openssl": "*",
3738
"spomky-labs/aes-key-wrap": "^7.0",
3839
"web-token/jwt-library": "^3.3"

src/Deprecated/EncryptionAlgorithm/KeyEncryption/AESKW/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+
"php": ">=8.1",
3637
"ext-openssl": "*",
3738
"spomky-labs/aes-key-wrap": "^7.0",
3839
"web-token/jwt-library": "^3.3"

src/Deprecated/EncryptionAlgorithm/KeyEncryption/Direct/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+
"php": ">=8.1",
3637
"web-token/jwt-library": "^3.3"
3738
}
3839
}

src/Deprecated/EncryptionAlgorithm/KeyEncryption/ECDHES/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+
"php": ">=8.1",
3637
"ext-openssl": "*",
3738
"spomky-labs/aes-key-wrap": "^7.0",
3839
"web-token/jwt-library": "^3.3"

src/Deprecated/EncryptionAlgorithm/KeyEncryption/PBES2/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+
"php": ">=8.1",
3637
"web-token/jwt-library": "^3.3"
3738
}
3839
}

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@
3333
}
3434
],
3535
"require": {
36+
"php": ">=8.1",
37+
"brick/math": "^0.9|^0.10|^0.11|^0.12",
3638
"ext-openssl": "*",
39+
"symfony/polyfill-mbstring": "^1.12",
3740
"web-token/jwt-library": "^3.3"
3841
}
3942
}

src/Deprecated/KeyManagement/composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@
3333
}
3434
],
3535
"require": {
36+
"php": ">=8.1",
3637
"ext-openssl": "*",
38+
"psr/http-factory": "^1.0",
39+
"psr/http-client": "^1.0",
3740
"web-token/jwt-library": "^3.3"
3841
}
3942
}

src/Deprecated/NestedToken/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+
"php": ">=8.1",
3637
"web-token/jwt-library": "^3.3"
3738
}
3839
}

src/Deprecated/Signature/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+
"php": ">=8.1",
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+
"php": ">=8.1",
3637
"ext-openssl": "*",
3738
"web-token/jwt-library": "^3.3"
3839
}

src/Deprecated/SignatureAlgorithm/EdDSA/composer.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@
3333
}
3434
],
3535
"require": {
36+
"php": ">=8.1",
3637
"ext-sodium": "*",
38+
"paragonie/sodium_compat": "^1.20",
3739
"web-token/jwt-library": "^3.3"
3840
}
3941
}

src/Deprecated/SignatureAlgorithm/Experimental/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+
"php": ">=8.1",
3637
"web-token/jwt-experimental": "^3.3"
3738
}
3839
}

src/Deprecated/SignatureAlgorithm/HMAC/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+
"php": ">=8.1",
3637
"web-token/jwt-library": "^3.3"
3738
}
3839
}

src/Deprecated/SignatureAlgorithm/None/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+
"php": ">=8.1",
3637
"web-token/jwt-library": "^3.3"
3738
}
3839
}

src/Deprecated/SignatureAlgorithm/RSA/composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333
}
3434
],
3535
"require": {
36+
"php": ">=8.1",
37+
"brick/math": "^0.9|^0.10|^0.11|^0.12",
38+
"ext-openssl": "*",
3639
"web-token/jwt-library": "^3.3"
3740
}
3841
}

src/Library/composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
"ext-gmp": "GMP or BCMath is highly recommended to improve the library performance",
6161
"ext-bcmath": "GMP or BCMath is highly recommended to improve the library performance",
6262
"ext-sodium": "Sodium is required for OKP key creation, EdDSA signature algorithm and ECDH-ES key encryption with OKP keys",
63+
"paragonie/sodium_compat": "Sodium is required for OKP key creation, EdDSA signature algorithm and ECDH-ES key encryption with OKP keys",
6364
"symfony/http-client": "To enable JKU/X5U support.",
6465
"spomky-labs/aes-key-wrap": "For all Key Wrapping algorithms (A128KW, A192KW, A256KW, A128GCMKW, A192GCMKW, A256GCMKW, PBES2-HS256+A128KW, PBES2-HS384+A192KW, PBES2-HS512+A256KW...)"
6566
}

0 commit comments

Comments
 (0)