# X.509 auth tests
#
# CASE 4: We try to modify a person object protected by a mntner
#         with a password and an X509 certificate.
#         Signed with wrong (different) certificate.
#         Both certificates have matching key-cert objects.
#
# ./dbupdate -c ~/db/conf/rip.config -rm -f test
#
#
#FAILURE
#
# RESULT 4: The modify 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="----DB373FDD9C8E2CC64C062DD917303FF4"

This is an S/MIME signed message

------DB373FDD9C8E2CC64C062DD917303FF4

person:       test person2
address:      Singel
phone:        +0123456789
nic-hdl:      TP2-DB-TEST
mnt-by:       TEST-MNT
changed:      dbtest@ripe.net 20020101
changed:      dbtest@ripe.net 20040101
source:       DB-TEST

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

MIIGigYJKoZIhvcNAQcCoIIGezCCBncCAQExCzAJBgUrDgMCGgUAMAsGCSqGSIb3
DQEHAaCCBAAwggP8MIIDZaADAgECAgIAhDANBgkqhkiG9w0BAQQFADBxMQswCQYD
VQQGEwJFVTEQMA4GA1UECBMHSG9sbGFuZDEQMA4GA1UEChMHbmNjREVNTzEdMBsG
A1UEAxMUU29mdHdhcmUgUEtJIFRlc3RpbmcxHzAdBgkqhkiG9w0BCQEWEHNvZnRp
ZXNAcmlwZS5uZXQwHhcNMDMwOTA4MTU1MzI4WhcNMDQwOTA3MTU1MzI4WjCBhTEL
MAkGA1UEBhMCTkwxETAPBgNVBAoTCFJJUEUgTkNDMRAwDgYDVQQLEwdNZW1iZXJz
MRwwGgYDVQQDExN1ay5idC50ZXN0LXJlY2VpdmVyMTMwMQYJKoZIhvcNAQkBFiR0
ZXN0LXJlY2VpdmVyQGxpbnV4LnRlc3RsYWIucmlwZS5uZXQwggEiMA0GCSqGSIb3
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