|
409 | 409 | 'verb' => 'mute',
|
410 | 410 | 'cipher' => 'DES-CBC',
|
411 | 411 | 'tls_cipher' => 'TLS-DHE-RSA-WITH-AES-256-CBC-SHA',
|
| 412 | + 'data_ciphers' => 'AES-256-GCM', |
| 413 | + 'data_ciphers_fallback' => 'AES-128-GCM', |
412 | 414 | 'persist_key' => true,
|
413 | 415 | 'persist_tun' => true,
|
414 | 416 | 'duplicate_cn' => true,
|
|
449 | 451 | it { is_expected.to contain_file("#{server_directory}/test_server.conf").with_content(%r{^management\s+1.3.3.7 1337$}) }
|
450 | 452 | it { is_expected.to contain_file("#{server_directory}/test_server.conf").with_content(%r{^verb mute$}) }
|
451 | 453 | it { is_expected.to contain_file("#{server_directory}/test_server.conf").with_content(%r{^cipher DES-CBC$}) }
|
| 454 | + it { is_expected.to contain_file("#{server_directory}/test_server.conf").with_content(%r{^data-ciphers\s+AES-256-GCM$}) } |
| 455 | + it { is_expected.to contain_file("#{server_directory}/test_server.conf").with_content(%r{^data-ciphers-fallback\s+AES-128-GCM$}) } |
452 | 456 | it { is_expected.to contain_file("#{server_directory}/test_server.conf").with_content(%r{^tls-cipher\s+TLS-DHE-RSA-WITH-AES-256-CBC-SHA$}) }
|
453 | 457 | it { is_expected.to contain_file("#{server_directory}/test_server.conf").with_content(%r{^persist-key$}) }
|
454 | 458 | it { is_expected.to contain_file("#{server_directory}/test_server.conf").with_content(%r{^persist-tun$}) }
|
|
569 | 573 | 'verb' => 'mute',
|
570 | 574 | 'cipher' => 'DES-CBC',
|
571 | 575 | 'tls_cipher' => 'TLS-DHE-RSA-WITH-AES-256-CBC-SHA',
|
| 576 | + 'data_ciphers' => 'AES-256-GCM', |
| 577 | + 'data_ciphers_fallback' => 'AES-128-GCM', |
572 | 578 | 'persist_key' => true,
|
573 | 579 | 'persist_tun' => true,
|
574 | 580 | 'duplicate_cn' => true,
|
|
687 | 693 |
|
688 | 694 | it { is_expected.not_to contain_file("#{server_directory}/test_server.conf").with_content(%r{verb}) }
|
689 | 695 | it { is_expected.to contain_file("#{server_directory}/test_server.conf").with_content(%r{cipher AES-256-GCM}) }
|
| 696 | + it { is_expected.to contain_file("#{server_directory}/test_server.conf").with_content(%r{^data-ciphers\s+AES-256-GCM$}) } |
| 697 | + it { is_expected.to contain_file("#{server_directory}/test_server.conf").with_content(%r{^data-ciphers-fallback\s+AES-128-GCM$}) } |
690 | 698 | it { is_expected.not_to contain_file("#{server_directory}/test_server.conf").with_content(%r{persist-key}) }
|
691 | 699 | it { is_expected.not_to contain_file("#{server_directory}/test_server.conf").with_content(%r{persist-tun}) }
|
692 | 700 | it { is_expected.not_to contain_file("#{server_directory}/test_server.conf").with_content(%r{^duplicate-cn$}) }
|
|
957 | 965 | 'verb' => 'mute',
|
958 | 966 | 'cipher' => 'DES-CBC',
|
959 | 967 | 'tls_cipher' => 'TLS-DHE-RSA-WITH-AES-256-CBC-SHA',
|
| 968 | + 'data_ciphers' => 'AES-256-GCM', |
| 969 | + 'data_ciphers_fallback' => 'AES-128-GCM', |
960 | 970 | 'persist_key' => true,
|
961 | 971 | 'persist_tun' => true,
|
962 | 972 | 'duplicate_cn' => true,
|
|
0 commit comments