Commit Graph

628 Commits

Author SHA1 Message Date
Vincent Breitmoser
8e4d68c55a api: allow caching of sessionKey in OpenPgpDecryptResult 2016-04-29 15:46:17 +02:00
Nikita Mikhailov
163aef4c6b Update obsolete Nfc class prefixes 2016-04-16 11:13:51 +06:00
Vincent Breitmoser
c917262957 get rid of code path for pin and notation data handling 2016-03-23 17:49:26 +01:00
Durgesh
8b8b91e247 Fix K-9 stable: OpenPGP: Unknown compression algorithm #1752
Signed-off-by: Durgesh <007durgesh219@gmail.com>
2016-03-06 18:39:30 +05:30
Vincent Breitmoser
03e695c650 ditch isLikelyText flag, set mimeType to text/plain in that case 2016-02-23 15:01:22 +01:00
Vincent Breitmoser
b9abf43153 move CharsetVerifier to utils package 2016-02-23 14:14:12 +01:00
Vincent Breitmoser
a0c90f0ad5 documentation and cleanup 2016-02-22 23:38:02 +01:00
Vincent Breitmoser
19930bdd5c decryptVerify: use CharsetVerifier to guess whether data is binary or not 2016-02-22 21:59:57 +01:00
Vincent Breitmoser
daf243082c externalize CharsetVerifier, add looksLikeText to OpenPgpMetadata object 2016-02-22 21:58:31 +01:00
Dominik Schürmann
a2ea509f06 Backup format v2: redesign restore dialog 2016-02-10 18:48:27 +01:00
Dominik Schürmann
713f3076f4 Backup format v2: redesigned backup code fragment with masked edit text 2016-02-10 18:48:27 +01:00
Vincent Breitmoser
da6dfb57a0 Merge branch 'master' into performance 2016-02-10 17:36:02 +01:00
Vincent Breitmoser
01b165ea88 performance: add license headers and some documentation 2016-02-10 17:08:00 +01:00
Dominik Schürmann
79db5c0ebe Replace spongycastle with bouncycastle 2016-02-09 00:24:46 +01:00
Vincent Breitmoser
3bf6a00250 performance: use more canonical hashCode implementation 2016-02-05 16:10:47 +01:00
Vincent Breitmoser
b1ea126142 performance: avoid expensive getSecretKeyType call, use cached where possible 2016-02-05 16:10:47 +01:00
Vincent Breitmoser
e3b8cea04d performance: cache session keys per compatible S2K configuration 2016-02-05 16:10:47 +01:00
Vincent Breitmoser
48dd3d09e6 import: handle FileNotFoundException (fixes #1688) 2016-02-01 15:24:48 +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
f691ef2a26 Error out when editing a stripped key 2016-01-11 08:13:51 +01:00
Dominik Schürmann
0fd5b45df9 Use more generic 'Security Token' where possible, add sutitle to create key what tokens are supported 2016-01-10 17:17:57 +01:00
Dominik Schürmann
b84c9a8fb6 Update spongycastle to 1.53 2015-12-22 13:31:55 +01:00
Vincent Breitmoser
e32c1a9ced api: add micalg result extra to detached signature api call 2015-12-17 01:08:23 +01:00
Vincent Breitmoser
c4599798f9 fix delete file securely method and use for delete original file 2015-11-15 23:25:39 +01:00
Vincent Breitmoser
529b9518c1 decrypt: skip all encountered marker packets (fix #1582) 2015-11-15 01:01:09 +01:00
Vincent Breitmoser
712e526ab5 Merge commit '816dce0334e8b8d9da3cb00d31d26033b17040a3' 2015-11-13 17:00:09 +01:00
Vincent Breitmoser
2d7dada888 decrypt: skip unavailable and unsuitable keys 2015-11-13 16:58:26 +01:00
Vincent Breitmoser
5c47570e90 import: apply fixPgpMessage to text for import from clipboard 2015-11-06 12:09:27 +01:00
Vincent Breitmoser
a4518c43c2 bench: simple working benchmark 2015-11-04 20:24:06 +01:00
Vincent Breitmoser
8feed0b097 bench: add benchmark operation for testing 2015-11-04 19:09:51 +01:00
Vincent Breitmoser
4e60f1bc75 Merge branch 'master' of github.com:open-keychain/open-keychain 2015-10-21 21:58:30 +02:00
Dominik Schürmann
10fed404ae SHA1 and RIPEMD160 are not declared insecure until widely deployed 2015-10-21 21:42:37 +02:00
Vincent Breitmoser
f7bfe932ec fix crash due to malformed log entry 2015-10-21 17:11:02 +02:00
Dominik Schürmann
cac7c3234a Support backupVersion ASCII Armor header 2015-10-15 22:50:34 +02:00
Dominik Schürmann
a5ff2f8fe3 Mime type consistency 2015-10-15 19:56:04 +02:00
Vincent Breitmoser
759ffc5a4b Merge branch 'master' into encrypted-export 2015-10-09 14:57:54 +02:00
Vincent Breitmoser
e67e8cd8c1 fix variable name mistake (wth did I commit there?!) 2015-10-09 14:28:25 +02:00
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
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
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
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