Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

Gone Native

Latest
Compare
Choose a tag to compare
@liamdennehy liamdennehy released this 27 Aug 04:53
  • Remove all openssl dependencies
    • Functionality becomes tied to whatever version of openssl libraries
      are compiled into PHP, leading to difficulty predicting which ciphers
      are supported
    • openssl functions are difficult to use with very different bahaviour (e.g.
      little consistency on exceptions vs silent failure, some functions returning
      values while others place return values in parameters)
  • phpseclib for all crypto functions
    • phpselcib 3.0 not yet stable so depend on "stable" fork
  • Key class behaviour altered (interface remains same)
    • Asymmetric: Only permit one private key, and only return one signing key.
      Exception at creation for early failure.