Closed kedimomo closed 3 months ago
Hi,
PHP <8.1 reached EOL and are not supported anymore. As per the security policy, the version 3.3.x of this library is still maintained for security fix only. We do not recommened the use of those outdated versions of PHP. Tools, such as Rector, exist and can help upgrading your applications to newer PHP versions. This is the way to go instead of updating each dependencies.
Hi,
PHP <8.1 reached EOL and are not supported anymore. As per the security policy, the version 3.3.x of this library is still maintained for security fix only. We do not recommened the use of those outdated versions of PHP. Tools, such as Rector, exist and can help upgrading your applications to newer PHP versions. This is the way to go instead of updating each dependencies.
Thank you, author. Since a virtual host with PHP 5.6 only costs around 100 per year, while a virtual host with PHP 8 costs over 600, I am reluctant to spend the extra money and have to use the old version. This is just a reference for those using the old version. It’s normal for new frameworks not to support it. It’s not necessary, but it’s just to give those who find your framework and happen to be using PHP 5 a hope that they can solve it themselves. Sometimes, due to economic considerations, it’s not possible to use the latest version.
Description
I’ve been looking for a COSEToPEMConverter that’s compatible with PHP 5.6, because the minimum requirement for web-auth/cose-lib is PHP 7.0. It’s been a desperate search, taking up 2 weeks of my time. If anyone else finds this library and realizes their version is also PHP 5.6, you can try it out, giving you a glimmer of hope. This is just the most basic support, I’ve only tested it with Windows Hello, I can’t afford to buy a physical key because it’s too expensive. So, I haven’t tried ES256, but RSA works fine.
Example
使用方法:
备注 :
"The object passed from the front end to the back end depends on the encoding you use. The
navigator.credentials.create
function returns acredential
, whereattestationObject
isbase64url(credential.response.attestationObject)
.Because I'm using the following function to encode:
Wishing good luck to those who come after, the fallen 5.6.