Skip to content

Commit 3ced539

Browse files
committed
Fix some mistakes on the new tests and config files
Signed-off-by: Emilio Cuesta <emiliocuesta@eprosima.com>
1 parent 566dc8d commit 3ced539

36 files changed

Lines changed: 839 additions & 1911 deletions

File tree

test/blackbox/common/BlackboxTestsSecurity.cpp

Lines changed: 73 additions & 73 deletions
Large diffs are not rendered by default.

test/certs/governance_disable_discovery_disable_access_encrypt.smime

Lines changed: 46 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
MIME-Version: 1.0
2-
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="sha-256"; boundary="----AC038611B7DF85015D509E9E834F75CC"
2+
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="sha-256"; boundary="----442F38989F0B42A38576CA4E3698F12B"
33

44
This is an S/MIME signed message
55

6-
------AC038611B7DF85015D509E9E834F75CC
6+
------442F38989F0B42A38576CA4E3698F12B
77
Content-Type: text/plain
88

99
<?xml version="1.0" encoding="utf-8"?>
@@ -95,17 +95,53 @@ Content-Type: text/plain
9595
<metadata_protection_kind>NONE</metadata_protection_kind>
9696
<data_protection_kind>NONE</data_protection_kind>
9797
</topic_rule>
98+
<topic_rule>
99+
<topic_expression>Security/Security_BuiltinAuthenticationAndAccessAndCryptoPlugin_PermissionsDisableDiscoveryDisableAccessEncrypt_validation_ok_enable_discovery_enable_access_sign/*</topic_expression>
100+
<enable_discovery_protection>true</enable_discovery_protection>
101+
<enable_liveliness_protection>false</enable_liveliness_protection>
102+
<enable_read_access_control>true</enable_read_access_control>
103+
<enable_write_access_control>true</enable_write_access_control>
104+
<metadata_protection_kind>SIGN</metadata_protection_kind>
105+
<data_protection_kind>SIGN</data_protection_kind>
106+
</topic_rule>
107+
<topic_rule>
108+
<topic_expression>Security/Security_BuiltinAuthenticationAndAccessAndCryptoPlugin_PermissionsDisableDiscoveryDisableAccessEncrypt_validation_ok_disable_discovery_enable_access_sign/*</topic_expression>
109+
<enable_discovery_protection>false</enable_discovery_protection>
110+
<enable_liveliness_protection>false</enable_liveliness_protection>
111+
<enable_read_access_control>true</enable_read_access_control>
112+
<enable_write_access_control>true</enable_write_access_control>
113+
<metadata_protection_kind>SIGN</metadata_protection_kind>
114+
<data_protection_kind>SIGN</data_protection_kind>
115+
</topic_rule>
116+
<topic_rule>
117+
<topic_expression>Security/Security_BuiltinAuthenticationAndAccessAndCryptoPlugin_PermissionsDisableDiscoveryDisableAccessEncrypt_validation_ok_disable_discovery_disable_access_sign/*</topic_expression>
118+
<enable_discovery_protection>false</enable_discovery_protection>
119+
<enable_liveliness_protection>false</enable_liveliness_protection>
120+
<enable_read_access_control>false</enable_read_access_control>
121+
<enable_write_access_control>false</enable_write_access_control>
122+
<metadata_protection_kind>SIGN</metadata_protection_kind>
123+
<data_protection_kind>SIGN</data_protection_kind>
124+
</topic_rule>
125+
<topic_rule>
126+
<topic_expression>Security/Security_BuiltinAuthenticationAndAccessAndCryptoPlugin_PermissionsDisableDiscoveryDisableAccessEncrypt_validation_ok_enable_discovery_disable_access_sign/*</topic_expression>
127+
<enable_discovery_protection>true</enable_discovery_protection>
128+
<enable_liveliness_protection>false</enable_liveliness_protection>
129+
<enable_read_access_control>false</enable_read_access_control>
130+
<enable_write_access_control>false</enable_write_access_control>
131+
<metadata_protection_kind>SIGN</metadata_protection_kind>
132+
<data_protection_kind>SIGN</data_protection_kind>
133+
</topic_rule>
98134
</topic_access_rules>
99135
</domain_rule>
100136
</domain_access_rules>
101137
</dds>
102138

103-
------AC038611B7DF85015D509E9E834F75CC
139+
------442F38989F0B42A38576CA4E3698F12B
104140
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
105141
Content-Transfer-Encoding: base64
106142
Content-Disposition: attachment; filename="smime.p7s"
107143

108-
MIIEegYJKoZIhvcNAQcCoIIEazCCBGcCAQExDzANBglghkgBZQMEAgEFADALBgkq
144+
MIIEeQYJKoZIhvcNAQcCoIIEajCCBGYCAQExDzANBglghkgBZQMEAgEFADALBgkq
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zMTUzWjAvBgkqhkiG9w0BCQQxIgQg3zZ2
163+
GVk+iI/wTouWkZuFHfetFwnBu/WNDu2GwakMkKQweQYJKoZIhvcNAQkPMWwwajAL
128164
BglghkgBZQMEASowCwYJYIZIAWUDBAEWMAsGCWCGSAFlAwQBAjAKBggqhkiG9w0D
129165
BzAOBggqhkiG9w0DAgICAIAwDQYIKoZIhvcNAwICAUAwBwYFKw4DAgcwDQYIKoZI
130-
hvcNAwICASgwCgYIKoZIzj0EAwIESDBGAiEA6eldNkhWC2B3W7xWyov38z8ibv2r
131-
WpKHNaZkKYsKpPQCIQDEka0GAbZWfobOtTYf7h4NszHfbLbnf6aKX/Ky1bkY/Q==
166+
hvcNAwICASgwCgYIKoZIzj0EAwIERzBFAiEAoLtZEXSLHshoseCNZAjiNAX9Mu9y
167+
jcy9UwmYlOkf8r0CICvvtxvhidl1s3ukddrZrh7atTdzlYvD1iJT+IkP7BHr
132168

133-
------AC038611B7DF85015D509E9E834F75CC--
169+
------442F38989F0B42A38576CA4E3698F12B--
134170

test/certs/governance_disable_discovery_disable_access_encrypt_dds_sec.smime

Lines changed: 0 additions & 170 deletions
This file was deleted.

0 commit comments

Comments
 (0)