Add OpenPGP-Haskell test files directly

This commit is contained in:
Dominik Schürmann 2014-07-18 09:34:54 +02:00
parent 82af9672fd
commit 3d74a9c11c
95 changed files with 49 additions and 2 deletions

View File

@ -94,7 +94,7 @@ public class ProviderHelperKeyringTest {
private static Collection<String> prependResourcePath(Collection<String> files) { private static Collection<String> prependResourcePath(Collection<String> files) {
Collection<String> prependedFiles = new ArrayList<String>(); Collection<String> prependedFiles = new ArrayList<String>();
for (String file: files) { for (String file: files) {
prependedFiles.add("/extern/OpenPGP-Haskell/tests/data/" + file); prependedFiles.add("/OpenPGP-Haskell/tests/data/" + file);
} }
return prependedFiles; return prependedFiles;
} }

View File

@ -0,0 +1,13 @@
Copyright © 2011, Stephen Paul Weber <singpolyma.net>
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

View File

@ -0,0 +1,26 @@
These test files were copied from the OpenPGP Haskell project.
Original README
===============
This is an OpenPGP library inspired by my work on OpenPGP libraries in
Ruby <https://github.com/singpolyma/openpgp>,
PHP <http://github.com/singpolyma/openpgp-php>,
and Python <https://github.com/singpolyma/OpenPGP-Python>.
It defines types to represent OpenPGP messages as a series of packets
and then defines instances of Data.Binary for each to facilitate
encoding/decoding.
For performing cryptography, see
<http://hackage.haskell.org/package/openpgp-crypto-api> or
<http://hackage.haskell.org/package/openpgp-Crypto>
For dealing with ASCII armor, see
<http://hackage.haskell.org/package/openpgp-asciiarmor>
It is intended that you use qualified imports with this library.
> import qualified Data.OpenPGP as OpenPGP

View File

@ -0,0 +1 @@
´$Test Key (RSA) <testkey@example.org>

View File

@ -0,0 +1 @@
´$Test Key (DSA) <testkey@example.com>

View File

@ -0,0 +1 @@
´+Test Key (DSA sign-only) <test@example.net>

View File

@ -0,0 +1 @@
´.Test Key (RSA sign-only) <testkey@example.net>

View File

@ -0,0 +1 @@
´$Test Key (RSA) <testkey@example.org>

View File

@ -0,0 +1 @@
´$Test Key (DSA) <testkey@example.com>

View File

@ -0,0 +1 @@
´+Test Key (DSA sign-only) <test@example.net>

View File

@ -0,0 +1 @@
´.Test Key (RSA sign-only) <testkey@example.net>

@ -1 +1 @@
Subproject commit aa9ecf871ce4db462034662675b258f9839d3f61 Subproject commit cd1a6748dd7a4c7a251a4f75eb289955dfbb1058