Poll: What do we do with the Encrypter module?
You do not have permission to vote in this poll.
Build it into CI4 core
59.57%
28 59.57%
Doesn't matter to me
25.53%
12 25.53%
Leave it out of the core
14.89%
7 14.89%
Total 47 vote(s) 100%
* You voted for this item. [Show Results]

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[done] Encrypter

#31
(08-10-2019, 01:03 PM)ciadmin Wrote: The problem now isn't a support issue from our perspective, but rather that PHP7.2 & 7.3 do not include libsodium, contrary to earlier indications Sad

Does phpinfo() on the dev server say anything about sodium? On my debian9 4.9.0-9-amd64, php v7.2 box it shows libsodium version 1.0.17 as enabled.

However, I have yet to try to use it.
Reply

#32
UPDATE: the re-architected Encrypter module has made it into RC.1, albeit only with OpenSSL support. Other encryption implementations, such as Sodium, can be easily added once they are ready in the minimum version of PHP that we support.
Reply

#33
(08-11-2019, 07:59 AM)dave friend Wrote:
(08-10-2019, 01:03 PM)ciadmin Wrote: The problem now isn't a support issue from our perspective, but rather that PHP7.2 & 7.3 do not include libsodium, contrary to earlier indications Sad

Does phpinfo() on the dev server say anything about sodium? On my debian9 4.9.0-9-amd64, php v7.2 box it shows libsodium version 1.0.17 as enabled.

However, I have yet to try to use it.

It may be enabled on your distro, but has to be there on the one travis-ci uses (Ubuntu?) or easily added as part of the travis-ci build. I am sure it will become mainstream at some point, and the conservative approach is to wait until that happens.
Reply

#34
(09-03-2019, 04:19 PM)ciadmin Wrote:
(08-11-2019, 07:59 AM)dave friend Wrote:
(08-10-2019, 01:03 PM)ciadmin Wrote: The problem now isn't a support issue from our perspective, but rather that PHP7.2 & 7.3 do not include libsodium, contrary to earlier indications Sad

Does phpinfo() on the dev server say anything about sodium? On my debian9 4.9.0-9-amd64, php v7.2 box it shows libsodium version 1.0.17 as enabled.

However, I have yet to try to use it.

It may be enabled on your distro, but has to be there on the one travis-ci uses (Ubuntu?) or easily added as part of the travis-ci build. I am sure it will become mainstream at some point, and the conservative approach is to wait until that happens.

Check to see if php-libsodium is installed on the server. if it is, remove it.

Code:
sudo apt remove php-libsodium

libsodium version 1.0.9 or newer needs to be installed on the server for use with PHP v7.2

Either

Code:
sudo apt install libsodium

or

Code:
sudo apt install libsodium-dev

or maybe both?  Might depend on exact distro in use.
Reply

#35
@dave friend Something to look into for 4.0.x, for sure
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.