matching openssl's enc ciphers to php's openssl functions' ciphers: where's "chacha20-poly1305"?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm deploying a php app that makes use of php's openssl functions

	https://www.php.net/manual/en/ref.openssl.php

atm, I've

	php -v
		PHP 7.4.8 (cli) (built: Jul  9 2020 08:57:23) ( NTS )
	openssl version
		OpenSSL 1.1.1g FIPS  21 Apr 2020

The php app config defaults to an encryption method of

	$config['cipher_method'] = 'DES-EDE3-CBC';

for encrypting a session pwd,

	This key is used to encrypt the users imap password which is stored
	in the session record. 

I'd like to change that to a CHACHA20 variant.

As listed by 

	https://www.php.net/manual/en/function.openssl-get-cipher-methods.php

the list of php-supported openssl ciphers includes

    [92] => chacha20
    [93] => chacha20-poly1305

double checking available encryption ciphers @ openssl

	openssl enc -ciphers

only lists

	-chacha20

not the add'l,

	-chacha20-poly1305

why is this^^ variant not shown?

am I comparing apples & oranges here, looking at the wrong lists?

perhaps just aliases for a singular cipher?




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux