Commit Graph

12 Commits

Author SHA1 Message Date
Vincent Breitmoser
50d8cd0559 change opaque key tests to use unknown algorithms instead of eddsa 2017-06-16 18:41:33 +02:00
Vincent Breitmoser
27582c1310 add some tests for eddsa 2017-06-16 18:41:33 +02:00
Vincent Breitmoser
eb9d991ea9 add unit tests for insecure decrypt operations 2017-05-15 17:16:16 +02:00
Vincent Breitmoser
c9f9ad0477 add test for opaque cv25519 subkey (which previously crashed) 2017-04-24 19:40:34 +02:00
Vincent Breitmoser
c7d174c930 handle unknown key algorithms using opaque keys 2017-04-20 10:36:23 +02:00
Vincent Breitmoser
7caf02a4e6 add test for CRCRLF armored files
This is an incorrect format that has been generated by GPG4USB (any
possibly GPG4WIN) for a long time. We better be compatible :(
2017-04-02 22:18:11 +02:00
Vincent Breitmoser
237a0b1805 add simple tests for KeychainExternalProvider 2017-02-06 21:00:25 +01:00
KB Sriram
36bffc3ef5 Always revoke subkeys with a revocation signature.
Unlike UID revocations which are "reversible" by newer UID
self-signatures, a subkey revocation should be "permanent" even if
followed by a newer self-signature.

The RFC is ambiguous on this, but this is the convention used by (e.g.)
GnuPG. The rationale for this behaviour is available as comments within
the GnuPG source.

UID signatures:
50c98c7ed6/g10/getkey.c (L1668-L1674)
Subkey signatures:
50c98c7ed6/g10/getkey.c (L1990-L1997)
2016-01-15 15:28:40 -08:00
Dominik Schürmann
d16b09b2a6 Use new officially supported way for local unit tests, many dependencies upgraded for this, temporary disabled separate debug builds 2015-06-11 00:05:13 +02:00
Vincent Breitmoser
718acbf954 put unit tests into external module (CAVEAT)
this requires a more up to date version of gradle-android-test-plugin
than is currently in the repositories. it must be added to the local
maven repo using ./install-custom-gradle-test-plugin.sh before
compiling.
2014-07-09 16:03:30 +02:00
Art O Cathain
a5d85b367d add OpenPGP-Haskell to test collateral 2014-06-23 17:54:27 +01:00
Art O Cathain
d06ba72edc Start on Robolectric integration test 2014-06-16 18:58:41 +01:00