File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff 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
4150The ` none ` algorithm as described by [ JWT standard] is intentionally not implemented and not supported.
4251The risk of misusing it is too high, and even where other means guarantee the token validity a symmetric algorithm
4352shouldn'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
You can’t perform that action at this time.
0 commit comments