peachpie icon indicating copy to clipboard operation
peachpie copied to clipboard

Feature Request: openssl_sign() support

Open kripper opened this issue 5 years ago • 3 comments

It would be nice to have openssl_sign() support.

kripper avatar Jun 25 '20 01:06 kripper

this requires PeachPie to target netstandard2.1, then we can implement it

jakubmisek avatar Jul 26 '20 13:07 jakubmisek

@jakubmisek may I ask why .Net Standard 2.1 is needed here? What is blocking to implements this function?

Indigo744 avatar Sep 01 '20 11:09 Indigo744

netstandard2.1 introduces https://docs.microsoft.com/en-us/dotnet/api/system.security.cryptography.asymmetricalgorithm.importencryptedpkcs8privatekey?view=netcore-3.1#System_Security_Cryptography_AsymmetricAlgorithm_ImportEncryptedPkcs8PrivateKey_System_ReadOnlySpan_System_Byte__System_ReadOnlySpan_System_Byte__System_Int32__ which would be needed

jakubmisek avatar Sep 01 '20 11:09 jakubmisek