Commit Graph

5127 Commits

Author SHA1 Message Date
Vincent Breitmoser
6cf7e3e541 Merge branch 'master' into encrypted-export 2015-10-08 20:05:56 +02:00
Vincent Breitmoser
ba9b8f3a60 pgpdecryptverify: only use keys for verification which are allowed to sign (OKC-01-013) 2015-10-08 20:01:04 +02:00
Vincent Breitmoser
084d6f1d3d Merge remote-tracking branch 'origin/master' 2015-10-08 19:56:33 +02:00
Vincent Breitmoser
3bf653775b improve tests, get rid of some redundant checks 2015-10-08 19:55:28 +02:00
Vincent Breitmoser
81a462c2ac pgpdecryptverify: get rid of duplicate code path for binary signature verification 2015-10-08 19:54:50 +02:00
Dominik Schürmann
1328309009 Remove ShareHelper: Not compat with Android >= 5, reduce code complexity 2015-10-08 18:47:28 +02:00
Dominik Schürmann
2b735102f7 Constant for max number of canonicalized user ids 2015-10-08 18:39:27 +02:00
Vincent Breitmoser
cda1ba47d2 pgpdecryptverify: fix non-onepass signature checking 2015-10-08 18:37:30 +02:00
Vincent Breitmoser
ac28b6bbac test: add tests for detached and clearsign signatures 2015-10-08 18:36:55 +02:00
Vincent Breitmoser
e29f9017f7 pgpsignencrypt: unsupported parameter combinations are a bug 2015-10-08 18:36:16 +02:00
Vincent Breitmoser
d6076a998c pgpdecryptverify: externalize PgpSignatureChecker 2015-10-08 18:02:17 +02:00
Vincent Breitmoser
e9fa891606 fix jacoco coverage 2015-10-08 18:01:40 +02:00
Vincent Breitmoser
4b2f561a73 pgpdecryptverify: move cleartext verification into SignatureChecker 2015-10-08 14:36:20 +02:00
Vincent Breitmoser
fe8db664a8 pgpdecryptverify: refactor signature verification state into SignatureChecker subclass 2015-10-08 13:53:58 +02:00
Vincent Breitmoser
f6de2712d3 pgpdecryptverify: fix one pass signature check, actually use bracketed structure 2015-10-07 18:57:43 +02:00
Vincent Breitmoser
bafc108969 pgpdecryptverify: refactor signature processing 2015-10-06 17:34:47 +02:00
Vincent Breitmoser
8f40c6df51 use only primary and mutually bound subkeys for fingerprint verification 2015-10-06 15:06:36 +02:00
Vincent Breitmoser
7619083d5c decrypt: fix broken file save 2015-10-06 14:19:28 +02:00
Dominik Schürmann
dfc396a44c Fix tests for min requirement of 2048 bits 2015-10-04 23:37:03 +02:00
Dominik Schürmann
d3d73f5f85 center wizard buttons for other languages 2015-10-04 22:51:44 +02:00
Dominik Schürmann
dfce5449c2 Raise min asymmetric key length for all ciphers to 2048 bit 2015-10-04 22:46:21 +02:00
Dominik Schürmann
eff59b4645 Show dialog before sharing log 2015-10-04 16:57:28 +02:00
Vincent Breitmoser
7c79902a82 Merge branch 'master' into encrypted-export 2015-10-01 17:28:43 +02:00
Vincent Breitmoser
4f13dc4fc5 spongy: use version which doesn't skip bad signatures 2015-10-01 17:08:50 +02:00
Vincent Breitmoser
ea7560220a spongy: treat eddsa signatures as non-verifiable signatures 2015-10-01 15:30:38 +02:00
Vincent Breitmoser
7f1dbccb5b decrypt: revise card layout margins 2015-09-30 17:19:17 +02:00
Vincent Breitmoser
9ba66aa2ce import: special treatment for application/pgp-keys 2015-09-30 15:17:48 +02:00
Vincent Breitmoser
43e661790d import: simplify ImportKeysActivity, don't display search bar for fixed input 2015-09-30 14:41:15 +02:00
Vincent Breitmoser
4025acd13a enc-export: use BackupActivity for backup from ViewKeyActivity 2015-09-30 14:41:14 +02:00
Vincent Breitmoser
771d9d54b6 inputdata: don't attempt mime decode on application/* except octet-stream 2015-09-30 14:41:14 +02:00
Vincent Breitmoser
f461d6b1d8 decryptverify: add trivial detection of pgp ascii-armored data 2015-09-30 14:41:09 +02:00
Dominik Schürmann
405b959fb8 No show key button for RESULT_INVALID_SIGNATURE, Cleanup 2015-09-30 12:46:26 +02:00
Dominik Schürmann
1dd61cab41 Cleanup in BaseNfcActivity 2015-09-30 12:45:30 +02:00
Dominik Schürmann
051e4b8a79 Improve NFC exception handling, fixes RuntimeExceptions 2015-09-30 12:45:21 +02:00
Dominik Schürmann
08e25747da Fix crashes with Fluffys PGP applet 2015-09-30 12:45:15 +02:00
Dominik Schürmann
1d0e9bf60a Enable YubiKey creation 2015-09-30 12:45:10 +02:00
Dominik Schürmann
2535ecb91f Full 160 bit for phrase confirm, stuffed with ones 2015-09-29 14:38:30 +02:00
Vincent Breitmoser
5b6c04cbfb enc-export: handle onSaveInstanceState, add nicer layout for landscape 2015-09-29 05:33:30 +02:00
Vincent Breitmoser
2b6335e90b enc-export: add "back" button to fail state 2015-09-29 04:03:44 +02:00
Vincent Breitmoser
91c3577073 enc-export: add comments about debug mechanisms 2015-09-29 03:37:38 +02:00
Vincent Breitmoser
b0b65abbc6 enc-export: localize snackbar strings 2015-09-29 03:35:55 +02:00
Vincent Breitmoser
cca7ee80c5 enc-export: transifex compat 2015-09-29 03:27:21 +02:00
Vincent Breitmoser
bc09d290f8 enc-export: localization, and layout compatibility 2015-09-29 03:25:36 +02:00
Vincent Breitmoser
4923f08152 enc-export: rename fragment to match class 2015-09-29 02:15:33 +02:00
Vincent Breitmoser
3513f4453b enc-export: implement save file as CREATE_DOCUMENT, with static fallback for pre-kitkat 2015-09-29 02:12:29 +02:00
Vincent Breitmoser
8091e3af49 enc-export: mv BackupCodeEntryFragment BackupCodeFragment 2015-09-29 02:09:26 +02:00
Vincent Breitmoser
c630fe651f use annotations for android sdk constraints 2015-09-28 18:50:20 +02:00
Vincent Breitmoser
0e613aff2e Merge remote-tracking branch 'origin/master' into encrypted-export 2015-09-28 18:27:29 +02:00
Vincent Breitmoser
b65a23f2d4 enc-export: easier mechanism to get backup code from edittexts 2015-09-28 18:05:09 +02:00
Vincent Breitmoser
97b2178a29 upload: re-add upload by bytes 2015-09-28 18:03:58 +02:00