# X.509 auth tests
#
# CASE 21: We try to create an inetnum object protected by a mntner
#          with a password and an X509 certificate and PGP key.
#          The parent inetnum has a mnt-lower with a different mntner
#          mnt-by PGP signed, then mnt-lower X.509 signed.
#
# ./dbupdate -c ~/db/conf/rip.config -rm -f test
#
#
#SUCCESS
#
# RESULT 21: The creation will succeed
%
%
$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="----D6DC0F24866D33FE2C08D57921C51BF1"

This is an S/MIME signed message

------D6DC0F24866D33FE2C08D57921C51BF1
MIME-Version: 1.0 
Content-Type: multipart/signed;
    boundary="----------=_1077303018-10603-0";
    micalg="pgp-sha1";
    protocol="application/pgp-signature"

This is a cryptographically signed message in MIME format.

------------=_1077303018-10603-0
Content-Type: text/plain; name="msg.txt"
Content-Disposition: inline; filename="msg.txt"
Content-Transfer-Encoding: 7bit
Content-Length: 300


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

password: auth2


------------=_1077303018-10603-0
Content-Type: application/pgp-signature
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFANlbpEjIw2laU2dARAqKOAJwOqpmz0nalj4Vw87xrZ7RJmfRQ9wCeOF5w
fijn7XbuW9tfiKEIvkfSgi8=
=H1gQ
-----END PGP SIGNATURE-----

------------=_1077303018-10603-0--

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

MIIGigYJKoZIhvcNAQcCoIIGez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