# X.509 auth tests
#
# CASE 8: We try to modify a person object protected by a mntner
#         with a password and an X509 certificate.
#         Correct signature supplied.
#         Corrupt the signature.
#
# ./dbupdate -c ~/db/conf/rip.config -rm -f test
#
#
#FAILURE
#
# RESULT 8: 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="----C051E21F5C0F8CB4B920AA6D96D723B4"

This is an S/MIME signed message

------C051E21F5C0F8CB4B920AA6D96D723B4

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

------C051E21F5C0F8CB4B920AA6D96D723B4
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
CQYDVQQGEwJOTDERMA8GA1UEChMIUklQRSBOQ0MxEDAOBgNVBAsTB01lbWJlcnMx
GDAWBgNVBAMTD3VrLmJ0LnRlc3QtdXNlcjEvMC0GCSqGSIb3DQEJARYgdGVzdC11
c2VyQGxpbnV4LnRlc3RsYWIucmlwZS5uZXQwggEiMA0GCSqGSIb3DQEBAQUAA4IB
DwAwggEKA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