Commit Graph

666 Commits

Author SHA1 Message Date
Hari
ba1bd8d48a Added insecure warning to import card 2017-02-04 01:47:14 +05:30
Hari
62a14399ea Added warnings for insecure keys 2017-02-03 16:11:29 +05:30
Hari
56cbfc0077 Added new log message for encryption using invalid key 2017-01-28 01:11:08 +05:30
Hari
9988afec1c Added allowed keys and checks for signing 2017-01-25 10:23:15 +05:30
klemens
bae6391dc0 spelling fixes 2017-01-14 11:38:05 +01:00
Vincent Breitmoser
d389ec21e2 match mail addresses case insensitively for checking confirmed uids 2017-01-10 23:30:53 +01:00
Arnaud Fontaine
2ed25ab8f3 Update RSA key size error for security tokens 2017-01-05 11:10:11 +01:00
Arnaud Fontaine
42b5e291ca Rename methods related only to security tokens 2017-01-05 11:01:14 +01:00
Arnaud Fontaine
05bfd6bc01 Support of OpenPGP card v3 2017-01-04 13:39:19 +01:00
Vincent Breitmoser
ac4bb3450f extract extension manually if getFileExtensionFromUrl failed
This fixes issues with whitespace in filenames
2017-01-03 19:06:43 +01:00
Dominik Schürmann
b02f50dd22 Merge pull request #1953 from open-keychain/openpgp-signature-result-v4
Openpgp signature result v4
2016-11-30 16:28:16 +01:00
Vincent Breitmoser
8092896f41 update OpenPgpSignatureResult to version 4, support signatureTimestamp 2016-11-21 16:06:03 +01:00
Vincent Breitmoser
52b1016baa update OpenPgpSignatureResult to use enums 2016-11-21 16:05:42 +01:00
Andrea Torlaschi
48266fd8e0 ImportKeys: Use the parsed key status and avoid deprecated method 2016-08-24 09:52:13 +02:00
Andrea Torlaschi
ebe7b6293d ImportKeys: Add creation date and more check on keys's data 2016-08-19 22:35:54 +02:00
Vincent Breitmoser
568b9e1845 use correct method for matching user ids 2016-07-07 15:55:10 +02:00
Vincent Breitmoser
b7b7be0e7a service: use new constants, check for address instead of full user id 2016-06-07 14:54:26 +02:00
Vincent Breitmoser
cb11c0ec84 make OpenPgpSignatureResult immutable 2016-06-02 16:04:45 +02:00
Vincent Breitmoser
88b0903bf5 service: support sender address status and list of confirmed user ids to OpenPgpSignatureResult 2016-06-02 15:32:45 +02:00
Dominik Schürmann
24b92172be Fix license header 2016-05-25 15:18:53 +03:00
Alex Fong
7b02161ce7 Slight changes for consistency 2016-05-16 00:59:57 +08:00
Alex Fong
614f46a630 Shifted duplicate method implementations from KeyRing to openpgp-api submodule 2016-05-15 23:26:09 +08:00
Dominik Schürmann
317f46990f Fix license header 2016-05-12 15:10:44 +03:00
Vincent Breitmoser
48758cdec5 update progress handling in PgpDecryptVerifyOperation
- less progress messages overall
- report progress again based on input stream position, if filesize is known
- limit progress messages to one every 200ms while decrypting
- also fixed a bug in DecryptListFragment, the recycler view now reuses
  old views as intended instead of crossfading all the time.
2016-05-11 16:17:01 +02:00
Andrea Torlaschi
c942d8b2ff PgpSignEncryptOperation refactoring 2016-05-10 23:38:11 +02:00
Alex Fong
01c2e1429b Edited comments 2016-05-05 07:57:20 +08:00
Alex Fong
f43edcdd7a Refactoring: Removed PassphraseChangeParcel and placed its functionality into ChangeUnlockParcel. 2016-05-05 07:57:20 +08:00
Alex Fong
dfcde9242d Removed unrequired code, standardized terms used. 2016-05-05 07:57:01 +08:00
Alex Fong
b490be9c1c Refactored code to use functions already present in code, reduced liberties taken when modifying functions.
Todo:
Fix indentation for error messages
2016-05-05 07:56:26 +08:00
Alex Fong
525788359c (WIP) Change password when key is stripped #1692
Approach:
Find the first unstripped secret key and use it for passphrase verification
All unstripped keys will have their passphrase changed to new passphrase, if possible.

Current Progress:
Changing the passphrase of keys works fine.
Refactoring to combine "modifySecretKeyring" and newly added method, "modifyKeyRingPassword"
may be possible if given the go-ahead.
2016-05-04 22:36:23 +08:00
Dominik Schürmann
5805cd4d0a Fix createUserId 2016-04-29 23:52:01 +02:00
Dominik Schürmann
adeb1bd3f8 Merge pull request #1819 from 007durgesh219/Issue#1817
Fix Crash when no encryption subkey is available, Issue #1817
2016-04-29 23:19:15 +02:00
Dominik Schürmann
fad63cc76f Use StringBuilder.append() according to lint 2016-04-29 22:37:52 +02:00
Dominik Schürmann
0ef59e36ad Merge pull request #1816 from fiaxh/no_name_choose_email
Correctly handle keys only having an email address
2016-04-29 21:40:00 +02:00
Dominik Schürmann
0e67b49e1a Merge pull request #1831 from fiaxh/key_creation_flexible
Handle user input on key creation more generously
2016-04-29 21:36:53 +02:00
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
fiaxh
249b8d7d78 Handle user input on key creation more generously
Allow empty name and do not regex-check email
fixes #1825
2016-04-15 01:21:15 +02:00
Durgesh
8f88efe13f Fix Crash when no encryption subkey is available, Issue #1817
Signed-off-by: Durgesh <007durgesh219@gmail.com>
2016-04-14 11:05:55 +05:30
fiaxh
6881754062 Better handle user_id sidecases while splitting 2016-04-12 13:30:43 +02: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