diff options
author | Clint Adams <clint@softwarefreedom.org> | 2012-04-26 16:29:50 -0400 |
---|---|---|
committer | Clint Adams <clint@softwarefreedom.org> | 2012-04-26 16:29:50 -0400 |
commit | 716dd382221343e5da5daf1a9a8ac40304a7d74b (patch) | |
tree | 0a2b7bed56f9ec6564d4a9e918ab4e8fd53c0dc5 /tests/data | |
parent | d17ea2bb11255f7e6ae9069d3b58e8f06d5946a5 (diff) |
Codec for "Cleartext Signatures"
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/msg3 | 9 | ||||
-rw-r--r-- | tests/data/msg3.asc | 29 | ||||
-rw-r--r-- | tests/data/msg3.sig | bin | 0 -> 543 bytes | |||
-rw-r--r-- | tests/data/msg4 | 1 | ||||
-rw-r--r-- | tests/data/msg4.asc | 17 | ||||
-rw-r--r-- | tests/data/msg4.sig | bin | 0 -> 543 bytes |
6 files changed, 56 insertions, 0 deletions
diff --git a/tests/data/msg3 b/tests/data/msg3 new file mode 100644 index 0000000..e9d15c8 --- /dev/null +++ b/tests/data/msg3 | |||
@@ -0,0 +1,9 @@ | |||
1 | This is a message that will be clearsigned. | ||
2 | |||
3 | From RFC4880, we know that some of these lines should be | ||
4 | dash-escaped. | ||
5 | |||
6 | -Lines starting with a minus-hyphen MUST be escaped. | ||
7 | - Lines starting with "From" SHOULD be escaped. | ||
8 | |||
9 | Other lines MAY be escaped. | ||
diff --git a/tests/data/msg3.asc b/tests/data/msg3.asc new file mode 100644 index 0000000..6d90d30 --- /dev/null +++ b/tests/data/msg3.asc | |||
@@ -0,0 +1,29 @@ | |||
1 | -----BEGIN PGP SIGNED MESSAGE----- | ||
2 | Hash: SHA1 | ||
3 | |||
4 | This is a message that will be clearsigned. | ||
5 | |||
6 | - From RFC4880, we know that some of these lines should be | ||
7 | dash-escaped. | ||
8 | |||
9 | - -Lines starting with a minus-hyphen MUST be escaped. | ||
10 | - - Lines starting with "From" SHOULD be escaped. | ||
11 | |||
12 | Other lines MAY be escaped. | ||
13 | -----BEGIN PGP SIGNATURE----- | ||
14 | Version: OpenPrivacy 0.99 | ||
15 | |||
16 | iQIcBAEBAgAGBQJPmXqrAAoJEN/7iwtcb1WCG3AQAJ6TBeX12YDI1f/AdtV46quG | ||
17 | augJYpYZvBbKESGXue1Nv22a7uH4h8LgWRsaEQxMBUwJvlMJfNkjEMAkXQbkj/Og | ||
18 | J+78bAGMV1GtC5MuwPr8E+M8Z/uHhbzj3fWuUask0Q057u655YIEdlnY4OcZv9jW | ||
19 | hT+/2kNcC8aw9+kg0I175XNxwBhRXoRKX6dhyAkRSnz7yuQtGXH7kQJAt7TOxxAb | ||
20 | dud+u5IJixDPebG+NONPfuW5VB8erByW6UPIy4BQBnaxflSD8qJXxCDMWNzOBlYG | ||
21 | whKXDmlcVgy3J7ghSh2zcFcZhM30Ng49t6k57HOXR9XnI5dskY45yns2nD4kt58/ | ||
22 | 7anmscGGj0S3pzoUuFAdVIEvziYDhISs35CmTmNh4r4LVuh4R+Zurt3mbe8O6amm | ||
23 | ZOWZzPsEDX/13B/DnL//70jVhTXUBqDj6MeNj5XHXVbIlfmIyeVLOIXiT/+u1FFt | ||
24 | +0ERqwFI152GGJJWlikn5bR6P89Xz+04OeTBdxV1fCGt+hlvN6e5X9K15P16QDiq | ||
25 | 4COHMZyIyHbtQr92BIj0P46WNsNZJDaoegHl6xtbq60eV3W+LRvgHNphjE+mdIp0 | ||
26 | EV5lBqDGupGYpHkPjZBg0pqASs0Xd3P7SwkoVimtH7mXCPrL4K+o6X8IwsfEMCGY | ||
27 | Ddej4NK0eolGoz/1sKB0 | ||
28 | =ZShm | ||
29 | -----END PGP SIGNATURE----- | ||
diff --git a/tests/data/msg3.sig b/tests/data/msg3.sig new file mode 100644 index 0000000..67ceced --- /dev/null +++ b/tests/data/msg3.sig | |||
Binary files differ | |||
diff --git a/tests/data/msg4 b/tests/data/msg4 new file mode 100644 index 0000000..b69b7b6 --- /dev/null +++ b/tests/data/msg4 | |||
@@ -0,0 +1 @@ | |||
This message is detach-signed. | |||
diff --git a/tests/data/msg4.asc b/tests/data/msg4.asc new file mode 100644 index 0000000..d1968f4 --- /dev/null +++ b/tests/data/msg4.asc | |||
@@ -0,0 +1,17 @@ | |||
1 | -----BEGIN PGP SIGNATURE----- | ||
2 | Version: GnuPG v1.4.12 (GNU/Linux) | ||
3 | |||
4 | iQIcBAABAgAGBQJPmZE0AAoJEN/7iwtcb1WC6EcQAK+NpDfsgTJgq+5nhZLZQcDC | ||
5 | +b+8K5eDn+Z/btFZz1h2mF3Y+MpJdgG5fvSSHsYRWiGuT8OBK5wm3vSYnSr8BeA5 | ||
6 | JUJDdhasF7LVosb0ToNiWLbtj9D9iiqmCaPW56Y2u3Ktv5Y4nOAWZw31OGv21B1c | ||
7 | ptYVv2iy1qPGgnHxYgM5ib37hzKlkTEGKFNMpfYqsMBZyXiKuLpVhEWelawMnCPJ | ||
8 | 3b7loOhYvR1Odmolg0dmcFsay7s3uXC/nze+xqTM0Z1HnMxQVW54aixhOoajDO6V | ||
9 | p7OUUN5g/PBXHvx/gh7gPqgRCazo93rHSgoP//AoEuljrU4W9iNpCEcE5HTdYx0b | ||
10 | xh10WxWE4VHI8BVt5qhSzPe8BmFRWz+g9CmsJdmhw45W8XxRJMJwoTWzGPcmHTFk | ||
11 | JTOgJ9/MKcBvYGsBd0wGYq82DbDPdtwGgh5Aa3nz1dxzLCq7qIhOa3VEYKAhCjTx | ||
12 | UHWnKZrdjSKz8U4D6CECyxlK5UApPc4jWzn3XYCX8s2F84YW7htduE57Yf60bXom | ||
13 | aefIbDWef1Q4MOUV10h1gyjXtdSiIHvJ0ItvGKmRiXztjhq6+azYN+4RaXzpF5/N | ||
14 | pqG/DNeTouzMRSzEoLTQ2oBHB8VIbCnP6J2Ck3wPfJZfc6FyCv0gMPQ5pTToll97 | ||
15 | 6toTAyOHl3pI/inp7IGj | ||
16 | =TJqj | ||
17 | -----END PGP SIGNATURE----- | ||
diff --git a/tests/data/msg4.sig b/tests/data/msg4.sig new file mode 100644 index 0000000..94483e2 --- /dev/null +++ b/tests/data/msg4.sig | |||
Binary files differ | |||