diff options
author | Justus Winter <justus@pep-project.org> | 2017-11-27 17:05:42 +0100 |
---|---|---|
committer | Justus Winter <justus@pep-project.org> | 2017-11-27 17:34:32 +0100 |
commit | ca419d02e4f66826d1f4b513fcabe88ed01c08fe (patch) | |
tree | da3e2f56a880dc78e5250be56dd5dfae4c1e4993 /tests | |
parent | 9bde7e37c2079cc9ad8fca387b45075dfd74d2de (diff) |
Implement reading ASCII Armored files.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/armor/test-0.bad-crc.asc | 4 | ||||
-rw-r--r-- | tests/data/armor/test-1.no-crc.asc | 4 | ||||
-rw-r--r-- | tests/data/armor/test-2.bad-footer.asc | 5 | ||||
-rw-r--r-- | tests/data/armor/test-3.with-headers.asc | 7 |
4 files changed, 20 insertions, 0 deletions
diff --git a/tests/data/armor/test-0.bad-crc.asc b/tests/data/armor/test-0.bad-crc.asc new file mode 100644 index 00000000..eaaa7d0a --- /dev/null +++ b/tests/data/armor/test-0.bad-crc.asc @@ -0,0 +1,4 @@ +-----BEGIN PGP ARMORED FILE----- + +=twTP +-----END PGP ARMORED FILE----- diff --git a/tests/data/armor/test-1.no-crc.asc b/tests/data/armor/test-1.no-crc.asc new file mode 100644 index 00000000..3836db21 --- /dev/null +++ b/tests/data/armor/test-1.no-crc.asc @@ -0,0 +1,4 @@ +-----BEGIN PGP ARMORED FILE----- + +3g== +-----END PGP ARMORED FILE----- diff --git a/tests/data/armor/test-2.bad-footer.asc b/tests/data/armor/test-2.bad-footer.asc new file mode 100644 index 00000000..7d4e3a24 --- /dev/null +++ b/tests/data/armor/test-2.bad-footer.asc @@ -0,0 +1,5 @@ +-----BEGIN PGP ARMORED FILE----- + +5to= +=zwFF +-----END PGP ARMORED MESSAGE----- diff --git a/tests/data/armor/test-3.with-headers.asc b/tests/data/armor/test-3.with-headers.asc new file mode 100644 index 00000000..1c0f21ef --- /dev/null +++ b/tests/data/armor/test-3.with-headers.asc @@ -0,0 +1,7 @@ +-----BEGIN PGP ARMORED FILE----- +Comment: Some Header +Comment: Another one + +NdWx +=oSKZ +-----END PGP ARMORED FILE----- |