# X.509 auth tests
#
# CASE 18: We try to create an inetnum object protected by a mntner
#          with a password and an X509 certificate.
#          The parent inetnum has a mnt-lower with a different mntner
#          mnt-by signed (corrupt), then mnt-lower signed.
#
# ./dbupdate -c ~/db/conf/rip.config -rm -f test
#
#
#FAILED
#
# RESULT 18: The creation will fail
%
%
$DBUPDATE_FLAGS_EXT= -c $RIP_CONFIG -rm -f 
%
%
From: dbtest@ripe.net
MIME-Version: 1.0
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="----FBEF2C3E776F633C85045FD9208C5A25"

This is an S/MIME signed message

------FBEF2C3E776F633C85045FD9208C5A25
MIME-Version: 1.0
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="----3D8230A6C727F1A353936FBED5DEBB85"

This is an S/MIME signed message

------3D8230A6C727F1A353936FBED5DEBB85

inetnum:      192.168.200.0 - 192.168.200.255
netname:      RIPE-NET1
descr:        /24 with ASSIGNED
country:      NL
admin-c:      TP1-DB-TEST
tech-c:       TP1-DB-TEST
status:       ASSIGNED PA
mnt-by:       TEST-MNT
changed:      dbtest@ripe.net 20020101
source:       DB-TEST

------3D8230A6C727F1A353936FBED5DEBB85
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

IIGgQYJKoZIhvcNAQcCoIIGcjCCBm4CAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3
DQEHAaCCA/cwggPzMIIDXKADAgECAgIAgjANBgkqhkiG9w0BAQQFADBxMQswCQYD
VQQGEwJFVTEQMA4GA1UECBMHSG9sbGFuZDEQMA4GA1UEChMHbmNjREVNTzEdMBsG
A1UEAxMUU29mdHdhcmUgUEtJIFRlc3RpbmcxHzAdBgkqhkiG9w0BCQEWEHNvZnRp
ZXNAcmlwZS5uZXQwHhcNMDMwOTA4MTAyNjEyWhcNMDQwOTA3MTAyNjEyWjB9MQsw
CQYDVQQGEwJOTDERMA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ya9cuJs8/XG4jYU8zvRjt+B5R6FuZPvB
2CqztMS1jDA95SqM89NmMYICUjCCAk4CAQEwdzBxMQswCQYDVQQGEwJFVTEQMA4G
A1UECBMHSG9sbGFuZDEQMA4GA1UEChMHbmNjREVNTzEdMBsGA1UEAxMUU29mdHdh
cmUgUEtJIFRlc3RpbmcxHzAdBgkqhkiG9w0BCQEWEHNvZnRpZXNAcmlwZS5uZXQC
AgCCMAkGBSsOAwIaBQCggbEwGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEHATAcBgkq
hkiG9w0BCQUxDxcNMDQwMjIwMTYxNDA1WjAjBgkqhkiG9w0BCQQxFgQUkxlO6jvA
lHjSl43rwz6D7HDUHyIwUgYJKoZIhvcNAQkPMUUwQzAKBggqhkiG9w0DBzAOBggq
hkiG9w0DAgICAIAwDQYIKoZIhvcNAwICAUAwBwYFKw4DAgcwDQYIKoZIhvcNAwIC
ASgwDQYJKoZIhvcNAQEBBQAEggEAoz2ozU8VENNNecxOSXDv3EBZHuKGWzyAHQFE
KbQs5CQLXz0nlRdcn3ldWHL14Ftf6uqzh7wPzhB1o89WATFETI40dWV465d8Fe1f
xWK0bbFQR5zJF8PAASMyWHzvPcGGQvf55JCRCHfQjPsQs0QQELD+S/lML2IPlzLB
1d3jtEwL0UCZKpgSw2ICTL3NodpLyUNqVSOIibpRL4aWY7JDYEloY7DSwg27K37q
V9FAoEGZdWfV+iyK/w+ffiMyyCFguIIYIBWXtRYb7188qkcUfltUbe6co3B2saxj
XHfVKjXbVrUpPZtdu/m4QWNNDPNbQeYe3qKQM/RQrW5CJVTQOA==

------3D8230A6C727F1A353936FBED5DEBB85--


------FBEF2C3E776F633C85045FD9208C5A25
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"

MIIGigYJKoZIhvcNAQcCoIIGezCCBncCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3
DQEHAaCCBAAwggP8MIIDZa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