The GUI trust box now displays information from the key information server
[zeroinstall/zeroinstall-rsl.git] / tests / data.py
blob4ccffbc4cb8be708b6456402d7d07ddbac1818df
1 # -*- coding: utf-8 -*-
3 thomas_key = """-----BEGIN PGP PUBLIC KEY BLOCK-----
4 Version: GnuPG v1.0.7 (GNU/Linux)
6 mQGiBD1JRcERBADIOjwNaBjmv44a3DPJeVwqrdVO6nuYF16UwKXTAh3ZZNAYecD8
7 a7opNf4yt3TofSKfT2bEiv/hIdAy3LGjKQg54Dou1EqhB8o90RNl5NeWmHIb82Jp
8 bCSbAXfaEaz6MEIg0MTHBcvtAOHZbKoBuBO5b6nbokmvcyWZXJHQ9zs9dwCg4FSX
9 cdVBExg+2iBzEzpGyK4EFrsEAKTxf2YoLGihB1HDknvlAWIfa5dBZI9c7pdbpmkW
10 6nZZ+SEHC9j1VSWFbB1fpA217BPaF6bmKmLoZEdmYLItriy2GEeEnbAcqd9QvQTr
11 RnXzBlOanC4OHqT0dvBLMH60TsWN2ZQQ3hPInI+CAdgquDzqoZY699moo+NXZZky
12 bB12A/9aI83jzl8gX7j61hkdk97rL/tcrdp8nGe2mS7y6tLodh89kp0IAD3Cn9pu
13 bQpEVMSIAO6ocMIMa6IhiSW+axKcW44JaOXtxFhLi9RDnGhds9LKPSB+Qoyfpxkk
14 zcAjNFcR2tDMOaDD5+/cZHSfKhT6TuWiiAzhhZEw3ikBnhCQYLQtVGhvbWFzIExl
15 b25hcmQgPHRhbDE5N0B1c2Vycy5zb3VyY2Vmb3JnZS5uZXQ+iFkEExECABkFAj1J
16 RcEECwcDAgMVAgMDFgIBAh4BAheAAAoJEK4HgoBZpTzBvdUAoMYjTfjeiOLyBF+V
17 6tm/8Da/VIS2AKDXlYeko8yY/DMZDy9uLrmlrOLYmrkBDQQ9SUXGEAQA40HXju3P
18 alvuv73gX0PcNC1lVTE3X15DTdvQLCCCt0H62A73i22c80CfGj3LaVybOHPjuM2/
19 phu69zf5S3wHFJXYzezkVO7Yf/0MRyQslviy/+pWdbBJnVaE+qF3wggvcHIddatd
20 roJ7q1haFl+cmIf43+EqoDZWVtKejSyeuGsAAwUEAOIrD9sPoing4huSDDgNJ9bo
21 DbG3YkT9GROZ2FMdz12pwjUvSSxa8Yh4zJQ1EkKprSCD7QZMu9FMudzuwHZweJN1
22 OhG+amFSsHmYl4Cbql9401lZvpvWoBhi54eKGMaxDNIGyojWJD8FTiC2eUrMwu3G
23 rXu8m0nbaNiXL88Kv6EHiEYEGBECAAYFAj1JRcYACgkQrgeCgFmlPMHF8ACfehcT
24 YkxNRG4ozQP5gwBO8CDdGVAAn0P7xyghEym4gcy7/rvwkY7JIar5
25 =wks3
26 -----END PGP PUBLIC KEY BLOCK-----
27 """
29 foo_signed = """-----BEGIN PGP SIGNED MESSAGE-----
30 Hash: SHA1
32 <?xml version="1.0" ?>
33 <interface uri="http://foo" xmlns="http://zero-install.sourceforge.net/2004/injector/interface">
34 <name>Foo</name>
35 <summary>Foo</summary>
36 <description>Foo</description>
37 </interface>
38 -----BEGIN PGP SIGNATURE-----
39 Version: GnuPG v1.4.0 (GNU/Linux)
41 iD8DBQFCkNXSrgeCgFmlPMERAgIpAKCgQrp+Kzf2PkHx6iUtDNXmIsm5RwCg2Mzs
42 k9abKV4GJUVEqlJVMtOcRkE=
43 =mvQS
44 -----END PGP SIGNATURE-----
45 """
47 foo_signed_xml = """<?xml version="1.0" ?>
48 <interface uri="http://foo" xmlns="http://zero-install.sourceforge.net/2004/injector/interface">
49 <name>Foo</name>
50 <summary>Foo</summary>
51 <description>Foo (check non-ASCII chars úüû)</description>
52 </interface>
53 <!-- Base64 Signature
54 iD8DBQBE1Z21rgeCgFmlPMERApswAJ43LSCUPXhd4FfyS/GfVtoOhzBHqgCgngVu4Yiap6ipOfO4
55 04M7BexGZLc=
57 -->
58 """
60 new_foo_signed_xml = """<?xml version="1.0" ?>
61 <interface uri="http://foo" xmlns="http://zero-install.sourceforge.net/2004/injector/interface">
62 <name>Foo</name>
63 <summary>Foo</summary>
64 <description>Foo (check non-ASCII chars úüû)</description>
65 <!-- Updated! -->
66 </interface>
67 <!-- Base64 Signature
68 iD8DBQBE1Z3VrgeCgFmlPMERApXYAJ42erHAoTU4LNRRxM4kt3lSqud66wCgrgQOQ/QLiRVT6z7f
69 zNaZYKyBM4c=
71 -->
72 """