Filippo Tessarotto

Results 335 comments of Filippo Tessarotto

Here we would have 3 involved parts: 1. the `$class` object 1. the `method` method with its argument 1. the `willReturn` method with its argument. I have no idea where...

Not a solution to JWK-to-PEM problem nor any help for JWK support, but just a mention that https://github.com/lcobucci/jwt/pull/605 got merged and now EdDSA signature can be used too for asymmetric...

> I see Blake2B is supposed to produce 64 bytes? It can range between 16 and 64, but default implementation including `libsodium`'s one is 32 bytes, so same output length...

> BLAKE2b also accepts an optional "personalization" parameter `libsodium` doesn't expose it on high-level API (see https://libsodium.gitbook.io/doc/hashing/generic_hashing#notes). I like the idea but I want to stick to a standard implementation...

@Ocramius https://github.com/lcobucci/jwt/runs/5749877948?check_suite_focus=true#step:4:250 ``` [BC] ADDED: Method hasClaimWithValue() was added to interface Lcobucci\JWT\UnencryptedToken [BC] ADDED: Method hasClaimWithValue() was added to interface Lcobucci\JWT\Token 2 backwards-incompatible changes detected ``` Why **adding** a method...

Ok, now I see the need for https://wiki.php.net/rfc/sealed_classes as in this context `Lcobucci\JWT\UnencryptedToken` and `Lcobucci\JWT\Token` are not meant to be implemented outside this library

Fixed by https://github.com/lstrojny/phpunit-dom-assertions/pull/7