]> git.saurik.com Git - apple/network_cmds.git/blob - unbound/testdata/test_sigs.hinfo
network_cmds-596.100.2.tar.gz
[apple/network_cmds.git] / unbound / testdata / test_sigs.hinfo
1 ; Signature test file
2
3 ; first entry is a DNSKEY answer, with the DNSKEY rrset used for verification.
4 ; later entries are verified with it.
5
6 ; Test HINFO canonicalisation
7
8 ; RSA key from ldns tool
9 ENTRY_BEGIN
10 SECTION QUESTION
11 jelte.nlnetlabs.nl. IN DNSKEY
12 SECTION ANSWER
13 jelte.nlnetlabs.nl. 3600 IN DNSKEY 256 3 5 AwEAAawmHBgxeOiaYE4JpNU+CBqEj7xGB1o6ThEsUmtjsbmTnsJ89uWv 2PudzhQKCR1hJtuxVxG0Aw4mwHlAy+SoWHp8NXW1JYVA5qbvYhUUUM3l +ZFImaMhShhlviJJDLla5nmB5pyNYbC4wxqkCs51mzJY1abbCmZepmQL IlprTjUL
14 ENTRY_END
15
16 ; check that signatures work
17 ENTRY_BEGIN
18 SECTION QUESTION
19 jelte.nlnetlabs.nl. IN NS
20 SECTION ANSWER
21 jelte.nlnetlabs.nl. 3600 IN NS ns1.jelte.nlnetlabs.nl.
22 jelte.nlnetlabs.nl. 3600 IN NS ns2.jelte.nlnetlabs.nl.
23 jelte.nlnetlabs.nl. 3600 IN RRSIG NS 5 3 3600 20090203100022 20090106100022 48885 jelte.nlnetlabs.nl. E3G8ZsCvUw56EKxYA4JzjYaB3ojLpdmQdUHOPSxlWK43haSuxpFERGRc P7AhiMjcYcoJcR+LWQr0uOFVnW8VcFFdy8u7Gs9MNAIWs5+jOaI3WDRC reee7K/NEBiubQCdm7UPA894VNM5oiLCa1waMoMD+LfEeijuN4N09HqY 6eo=
24 ENTRY_END
25
26 ; currently this fails due to the design of canonicalisation in unbound.
27 ; HINFO record signed with ldns, HINFO in uppercase, signature uppercase
28 ENTRY_BEGIN
29 SECTION QUESTION
30 jelte.nlnetlabs.nl. IN HINFO
31 SECTION ANSWER
32 jelte.nlnetlabs.nl. 3600 IN HINFO "Jelte" "Machine van"
33 jelte.nlnetlabs.nl. 3600 IN RRSIG HINFO 5 3 3600 20090203100022 20090106100022 48885 jelte.nlnetlabs.nl. eRig3NjIIgBTmQiN7AREmplgiY6OOtVwCNZgF5UAoYFAE1K1tl5WLqe9 FmTcVtaNUzFdgYv+TD93NNYdV0uxJkr+rS2sSykGf9OIlxevFm+rW2ya 4/Y+5GIN77eN9q9/6ULQRdsX3p8w1fhloiDXk+tgCaw+cJJElMEE1Avw 2dY=
34 ENTRY_END
35
36
37 ; HINFO record signed with ldns, HINFO in lowercase, signature lowercase
38 ENTRY_BEGIN
39 SECTION QUESTION
40 jelte.nlnetlabs.nl. IN HINFO
41 SECTION ANSWER
42 jelte.nlnetlabs.nl. 3600 IN HINFO "jelte" "machine van"
43 jelte.nlnetlabs.nl. 3600 IN RRSIG HINFO 5 3 3600 20090203105558 20090106105558 48885 jelte.nlnetlabs.nl. UwFKSqH9oau3nCdJ4i6iYamo2izgMCKy1K8ec0IkhniUONKaIGiRNz8/ QrLAeBHhMnLQYNV/GBprNjvnPyYLG/6bWYUBxvP6pCG4oDEmNY7QF9di I6So5Ycv0ZWaYoT/NYStUj1fLNZ4xCdNXVLA7Oi5PRMeOvPQIvMG3hHK Ja0=
44 ENTRY_END
45
46 ; HINFO record signed with ldns, HINFO in uppercase, signature lowercase
47 ; (signer canonicalised)
48 ENTRY_BEGIN
49 SECTION QUESTION
50 bogus.jelte.nlnetlabs.nl. IN HINFO
51 SECTION ANSWER
52 jelte.nlnetlabs.nl. 3600 IN HINFO "Jelte" "Machine van"
53 jelte.nlnetlabs.nl. 3600 IN RRSIG HINFO 5 3 3600 20090203105558 20090106105558 48885 jelte.nlnetlabs.nl. UwFKSqH9oau3nCdJ4i6iYamo2izgMCKy1K8ec0IkhniUONKaIGiRNz8/ QrLAeBHhMnLQYNV/GBprNjvnPyYLG/6bWYUBxvP6pCG4oDEmNY7QF9di I6So5Ycv0ZWaYoT/NYStUj1fLNZ4xCdNXVLA7Oi5PRMeOvPQIvMG3hHK Ja0=
54 ENTRY_END
55