You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When encoding or decoding RSA keys, the KeyConverter uses the PHP_EOL constant to add newlines. On Linux machines it works nice, but in other environments, it becomes "\r\n" which destroys the keys.
How to reproduce
Try to load a valid key on a Windows machine.
Possible Solution
Replace PHP_EOL with "\n".
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Version(s) affected
4.x
Description
When encoding or decoding RSA keys, the KeyConverter uses the PHP_EOL constant to add newlines. On Linux machines it works nice, but in other environments, it becomes "\r\n" which destroys the keys.
How to reproduce
Try to load a valid key on a Windows machine.
Possible Solution
Replace PHP_EOL with "\n".
Additional Context
No response
The text was updated successfully, but these errors were encountered: