Closed cnizzardini closed 1 year ago
@cnizzardini After fixing the phpstan error, can you squash the commits?
@cnizzardini Can you follow up on this?
Its on my mind, some personal items getting in the way of freetime dev right now. Gimme a few days.
On Tue, Jun 21, 2022 at 3:24 PM othercorey @.***> wrote:
@cnizzardini https://github.com/cnizzardini Can you follow up on this?
— Reply to this email directly, view it on GitHub https://github.com/cakephp/authentication/pull/538#issuecomment-1162228958, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABJ2HTI5QLF42KM6QV7XJTVQIJFLANCNFSM5XFS2CZA . You are receiving this because you were mentioned.Message ID: @.***>
@markstory can you take another look?
This pull request is stale because it has been open 30 days with no activity. Remove the stale
label or comment on this issue, or it will be closed in 15 days
This is a rough draft implementation of PASETO (Platform Agnostic Security Tokens). This supports local symmetric keys and public asymmetric keys, but does not yet have support for keyrings and PASERK which gives functionality similar to JWKS. If there is interest in this I can add support for those items as well as unit tests and docs.
Usage:
Usage is fairly similar to the JWT Authenticator with the addition of a few keys:
There is also a
version
which takes an implementation ofProtocolInterface
but defaults to the latest version in paseto (currently v4).Using the public option is a little PITA to generate keys and I'd like to get a shell command added to the main paseto lib to easily generate the public/private key pairs.
Building a local token:
Reference: