Commit Graph

121 Commits

Author SHA1 Message Date
Vincent Breitmoser
0095df6d89 use autovalue for PromoteKeyringParcel 2017-05-25 15:42:25 +02:00
Vincent Breitmoser
81bceb9e16 use autovalue for BenchmarkInputParcel 2017-05-25 15:42:24 +02:00
Vincent Breitmoser
53dcb4102d use autovalue for CertifyActionsParcel 2017-05-25 15:42:24 +02:00
Vincent Breitmoser
63774a0632 use autovalue for CryptoInputParcel 2017-05-25 15:42:24 +02:00
Vincent Breitmoser
368528e9dd use autovalue for PgpSignEncryptData class 2017-05-25 15:39:48 +02:00
Vincent Breitmoser
c91b7e377a simplify progress for key import operations 2017-05-21 04:15:41 +02:00
Vincent Breitmoser
eb9d991ea9 add unit tests for insecure decrypt operations 2017-05-15 17:16:16 +02:00
Vincent Breitmoser
16a0045f9d use external provider for resolving encryption keys in api 2017-04-26 10:56:54 +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
5cb81fef94 skip redundant CRs while parsing ascii armor headers 2017-04-02 22:24:33 +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
9cf0b05202 fix unit tests 2017-02-24 18:43:56 +01:00
Vincent Breitmoser
2124a4598a DatabaseInteractor -> KeyRepository 2017-02-24 18:24:11 +01:00
Vincent Breitmoser
c7e01926e1 add LocalKeyStorage, don't store public keys larger than 50kb in database 2017-02-24 18:06:47 +01:00
Vincent Breitmoser
2bc05a2cd5 focus all read access for key ring data into DatabaseInteractor methods 2017-02-24 18:04:55 +01:00
Vincent Breitmoser
aef6e6614e extract DatabaseReadWriteInteractor 2017-02-24 18:04:54 +01:00
Vincent Breitmoser
d577257bd5 rename ProviderHelper -> DatabaseInteractor 2017-02-24 18:04:54 +01:00
Vincent Breitmoser
237a0b1805 add simple tests for KeychainExternalProvider 2017-02-06 21:00:25 +01:00
Dominik Schürmann
5935dad9e8 Merge pull request #2024 from open-keychain/build-env
Update build environment
2017-02-02 12:55:47 +01:00
Dominik Schürmann
70678ecd81 Update robolectric config 2017-02-02 11:36:12 +01:00
Dominik Schürmann
b831cd5725 Update Robolectric to 3.2.2 2017-02-02 10:57:16 +01:00
Hari
28bf1a37a1 Added ascii armor option to the backup api 2017-01-29 22:14:54 +05:30
Dominik Schürmann
962e570e91 Better handling of User ID corner cases 2017-01-26 22:55:37 +01:00
Vincent Breitmoser
1e280d92c5 add tests for OpenPgpServiceKeyIdExtractor 2017-01-11 17:43:14 +01:00
Dominik Schürmann
63244a113a Code formatting and package re-structuring 2017-01-05 13:56:09 +01:00
Arnaud Fontaine
e6fe29a0ff Remove test not useful now 2017-01-04 15:38:29 +01:00
Arnaud Fontaine
6b43379a28 Remove use less files from previous commit 2017-01-04 14:59:57 +01:00
Arnaud Fontaine
4c9ea4e090 Fix unit testPrivateKeyTemplateSimple2048 2017-01-04 14:59:57 +01:00
Arnaud Fontaine
05bfd6bc01 Support of OpenPGP card v3 2017-01-04 13:39:19 +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
52b1016baa update OpenPgpSignatureResult to use enums 2016-11-21 16:05:42 +01:00
Andrea Torlaschi
706840771a ImportKeys: Fix tests 2016-08-19 22:35:43 +02:00
Dominik Schürmann
ac1c20f961 Update build environment to SDK 24 2016-08-15 08:37:23 +02:00
Dominik Schürmann
de0c02e044 Merge pull request #1868 from nmikhailov/nitrokey
WIP: Security token USB handling improvements
2016-08-15 07:46:27 +02:00
Vincent Breitmoser
dab4edb24e inputdataoperation: Only consider data MIME if Content-Type header is present 2016-07-24 15:13:43 +02:00
Nikita Mikhailov
762b40df00 SecurityToken: improve unit tests 2016-07-02 19:45:23 +06:00
Nikita Mikhailov
a4ab303ca9 Use mockito in SecurityTokenUtilsTest 2016-07-02 19:45:23 +06:00
Nikita Mikhailov
6e2162202d Add tests for SecurityTokenUtils 2016-07-02 19:45:23 +06:00
Vincent Breitmoser
e292ec0d1a rename ExportTest to BackupOperationTest 2016-05-17 21:23:08 +02:00
Vincent Breitmoser
5d5d2c3c36 refactor BackupOperation a bit, make more illegal states explicit 2016-05-17 21:22:50 +02:00
Alex Fong
614f46a630 Shifted duplicate method implementations from KeyRing to openpgp-api submodule 2016-05-15 23:26:09 +08:00
Andrea Torlaschi
c942d8b2ff PgpSignEncryptOperation refactoring 2016-05-10 23:38:11 +02:00
Dominik Schürmann
7dd5e22353 Merge branch 'master' into backup-api
Conflicts:
	OpenKeychain/src/main/java/org/sufficientlysecure/keychain/remote/OpenPgpService.java
	extern/openpgp-api-lib
2016-05-07 12:01:16 +03:00
Alex Fong
bc3aa44b22 Refactored to reduce coupling between ChangeUnlockParcel and SaveKeyringParcel 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
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
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
Nikita Mikhailov
28a352a288 OTG: Rename smartcard -> security token 2016-04-15 02:02:11 +06:00
Nikita Mikhailov
38a1c2d3ab OTG: refactor, change nfc prefix to smartcard 2016-04-14 22:48:01 +06:00