Skip to content

Commit c98179c

Browse files
authored
Merge pull request #1103 from lcobucci/5.4.x-merge-up-into-5.5.x_yOfenWUj
Merge release 5.4.3 into 5.5.x
2 parents a835af5 + b5cf3a7 commit c98179c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/supported-algorithms.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,20 @@ They're usually recommended for scenarios where creation is handled by a compone
3636
| `RS512` | RSASSA-PKCS1-v1_5 using SHA-512 | `\Lcobucci\JWT\Signer\Rsa\Sha512` | `>= 2048 bits` |
3737
| `EdDSA` | EdDSA signature algorithms | `\Lcobucci\JWT\Signer\Eddsa` | `>= 256 bits` |
3838

39+
The following algorithms are implemented in a separate package `lcobucci/jwt-rsassa-pss` in order to keep dependencies low in the main package.
40+
Please see the installation instructions in the [RSASSA-PSS readme].
41+
42+
| Name | Description | Class | Key length req. |
43+
|---------|---------------------------------|--------------------------------------|-----------------|
44+
| `PS256` | RSASSA-PSS using SHA-256 | `\Lcobucci\JWT\Signer\RsaPss\Sha256` | `>= 2048 bits` |
45+
| `PS384` | RSASSA-PSS using SHA-384 | `\Lcobucci\JWT\Signer\RsaPss\Sha384` | `>= 2048 bits` |
46+
| `PS512` | RSASSA-PSS using SHA-512 | `\Lcobucci\JWT\Signer\RsaPss\Sha512` | `>= 2048 bits` |
47+
3948
## `none` algorithm
4049

4150
The `none` algorithm as described by [JWT standard] is intentionally not implemented and not supported.
4251
The risk of misusing it is too high, and even where other means guarantee the token validity a symmetric algorithm
4352
shouldn't represent a computational bottleneck with modern hardware.
4453

4554
[JWT standard]: https://www.iana.org/assignments/jose/jose.xhtml#web-signature-encryption-algorithms
55+
[RSASSA-PSS readme]: https://github.com/lcobucci/jwt-rsassa-pss

0 commit comments

Comments
 (0)