openssl Supporto crittografia PSK

0

La versione openssl su macchina Ubuntu è

$ openssl version
OpenSSL 1.0.2g  1 Mar 2016

Segue la lista di cifratura PSK openssl: -

$ openssl ciphers -v 'PSK'
PSK-AES256-CBC-SHA      SSLv3 Kx=PSK      Au=PSK  Enc=AES(256)  Mac=SHA1
PSK-AES128-CBC-SHA      SSLv3 Kx=PSK      Au=PSK  Enc=AES(128)  Mac=SHA1
PSK-RC4-SHA             SSLv3 Kx=PSK      Au=PSK  Enc=RC4(128)  Mac=SHA1
PSK-3DES-EDE-CBC-SHA    SSLv3 Kx=PSK      Au=PSK  Enc=3DES(168) Mac=SHA1

Come posso ottenere il seguente supporto per la lista di cifrari in openssl per testare

PSK-AES128-CBC-SHA256
PSK-AES256-CBC-SHA384
PSK-AES128-GCM-SHA256
PSK-AES256-GCM-SHA384

DHE-PSK-AES128-CBC-SHA256
DHE-PSK-AES256-CBC-SHA384
DHE-PSK-AES128-GCM-SHA256
DHE-PSK-AES256-GCM-SHA384

ECDHE-PSK-AES128-CBC-SHA256
ECDHE-PSK-AES256-CBC-SHA384

RSA-PSK-AES128-GCM-SHA256
RSA-PSK-AES256-GCM-SHA384
RSA-PSK-AES128-CBC-SHA256
RSA-PSK-AES256-CBC-SHA384
    
posta Sachin 12.07.2017 - 23:57
fonte

1 risposta

0

How I can get following cipher list support in openssl to test

Usando OpenSSL versione 1.1.0 o successiva:

$ openssl-1.1.0c ciphers -V 'PSK' 
0x00,0xAB - DHE-PSK-AES256-GCM-SHA384 TLSv1.2 Kx=DHEPSK   Au=PSK  Enc=AESGCM(256) Mac=AEAD
0x00,0xA8 - PSK-AES128-GCM-SHA256   TLSv1.2 Kx=PSK      Au=PSK  Enc=AESGCM(128) Mac=AEAD
0x00,0xB7 - RSA-PSK-AES256-CBC-SHA384 TLSv1 Kx=RSAPSK   Au=RSA  Enc=AES(256)  Mac=SHA384
0xC0,0x38 - ECDHE-PSK-AES256-CBC-SHA384 TLSv1 Kx=ECDHEPSK Au=PSK  Enc=AES(256)  Mac=SHA384
...
    
risposta data 13.07.2017 - 05:54
fonte

Leggi altre domande sui tag