oauth2-server
oauth2-server copied to clipboard
Wrong warning about public key permissions
PHP Notice: Key file "file:///.../public/../public.key" permissions are not correct, recommend changing to 600 or 660 instead of 644 in /.../vendor/league/oauth2-server/src/CryptKey.php on line 63
This warning makes no sense. It is a public key. Anybody can have it.
Fair point. Would welcome a PR to fix this.
Looking at this further, the CryptKey class was originally introduced to use passwords with your private key. I need to do a bit more investigation into this to find the best way to resolve it.