mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-12-23 23:48:51 -05:00
Add OpenPGP-Haskell test files directly
This commit is contained in:
parent
82af9672fd
commit
3d74a9c11c
@ -94,7 +94,7 @@ public class ProviderHelperKeyringTest {
|
||||
private static Collection<String> prependResourcePath(Collection<String> files) {
|
||||
Collection<String> prependedFiles = new ArrayList<String>();
|
||||
for (String file: files) {
|
||||
prependedFiles.add("/extern/OpenPGP-Haskell/tests/data/" + file);
|
||||
prependedFiles.add("/OpenPGP-Haskell/tests/data/" + file);
|
||||
}
|
||||
return prependedFiles;
|
||||
}
|
||||
|
13
OpenKeychain-Test/src/test/resources/OpenPGP-Haskell/COPYING
Normal file
13
OpenKeychain-Test/src/test/resources/OpenPGP-Haskell/COPYING
Normal 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.
|
26
OpenKeychain-Test/src/test/resources/OpenPGP-Haskell/README
Normal file
26
OpenKeychain-Test/src/test/resources/OpenPGP-Haskell/README
Normal 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
|
Binary file not shown.
@ -0,0 +1 @@
|
||||
´$Test Key (RSA) <testkey@example.org>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
´$Test Key (DSA) <testkey@example.com>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
´+Test Key (DSA sign-only) <test@example.net>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
´.Test Key (RSA sign-only) <testkey@example.net>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
´$Test Key (RSA) <testkey@example.org>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
´$Test Key (DSA) <testkey@example.com>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
´+Test Key (DSA sign-only) <test@example.net>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
´.Test Key (RSA sign-only) <testkey@example.net>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2
extern/openpgp-api-lib
vendored
2
extern/openpgp-api-lib
vendored
@ -1 +1 @@
|
||||
Subproject commit aa9ecf871ce4db462034662675b258f9839d3f61
|
||||
Subproject commit cd1a6748dd7a4c7a251a4f75eb289955dfbb1058
|
Loading…
Reference in New Issue
Block a user