Commit Graph

4322 Commits

Author SHA1 Message Date
Vincent Breitmoser
c00eb7b7f3 Further refactor SecurityTokenConnection 2018-01-12 17:00:32 +01:00
Vincent Breitmoser
626c08bbbe extract ModifyPinUseCase 2018-01-12 16:53:18 +01:00
Vincent Breitmoser
47319d22b9 extract GenerateKeyUseCase 2018-01-12 16:00:52 +01:00
Vincent Breitmoser
4cbdad7cb8 extract ResetAndWipeUseCase 2018-01-12 15:55:47 +01:00
Vincent Breitmoser
bb2b37cff6 SecurityTokenConnection code style 2018-01-12 15:55:47 +01:00
Vincent Breitmoser
7212148913 add unit test for against commit e22cd98 2018-01-12 15:55:47 +01:00
Vincent Breitmoser
139735f0e1 refactor decryptSessionKey 2018-01-12 15:55:46 +01:00
Vincent Breitmoser
0ab71ea498 extract unit test for SecurityTokenChangeKeyUseCase 2018-01-12 15:55:31 +01:00
Vincent Breitmoser
3cf4582747 unit test for PsoDecryptUseCase 2018-01-12 15:55:31 +01:00
Vincent Breitmoser
1ed2cae2b0 Extract OpenPGP card operation logic from SecurityTokenConnection class 2018-01-12 15:55:29 +01:00
Vincent Breitmoser
04037ed0b4 Minor cleanup and better logging in SecurityTokenConnection 2018-01-10 17:48:58 +01:00
Vincent Breitmoser
9031173b8a fix misleading variable name 2018-01-10 17:48:58 +01:00
Dominik Schürmann
8706e524aa Disable ProGuard for debug builds 2018-01-08 13:19:12 +01:00
Dominik Schürmann
cb4d4a8b47 Extend proguard rules 2018-01-02 18:19:36 +01:00
Dominik Schürmann
52d08e4408 Only additional proguard files for testProguardFiles 2018-01-02 17:53:25 +01:00
Christian Hagau
e5018a02d1 Modify ProGuard rules to automatically shrink object files 2018-01-02 17:53:18 +01:00
Andrejs Mivreņiks
fef40c5aec Avoid text localized text clash in create key start fragment 2017-12-17 16:05:28 +02:00
Dominik Schürmann
3cc43e9f69 Adapt copyright headers according to CLA 2017-12-15 16:03:36 +01:00
Dominik Schürmann
4514e1b074 Remove experimental word confirm 2017-12-15 15:25:45 +01:00
Hans-Christoph Steiner
29127a0adc change my contributions to Apache-2.0 license
@Valodim and @dschuermann asked me to do so, and I said yes.

#1683
2017-12-13 11:44:00 +01:00
Dominik Schürmann
00e933b8d3 Merge pull request #2233 from open-keychain/licenses
Include license texts in-app
2017-12-07 12:30:25 +01:00
Dominik Schürmann
6f9d4eae01 Include license texts in-app 2017-12-04 20:26:07 +01:00
Dominik Schürmann
fd18e0215d Refactor certificate pinning for OkHttp 3.9 2017-12-04 17:58:35 +01:00
Dominik Schürmann
202f702652 Remove unused AndroidPinning dependency, update OkHttp 2017-12-04 15:10:36 +01:00
Dominik Schürmann
b829c4e561 Version 4.8.1 2017-12-04 13:23:55 +01:00
Vincent Breitmoser
ecf9249247 don't create OpenKeychain dir on startup 2017-11-29 15:05:45 +01:00
Vincent Breitmoser
86e41f8996 fix delete method in TemporaryFileProvider 2017-11-29 14:44:04 +01:00
Vincent Breitmoser
62528fc941 fix NPE in KeyLoader 2017-11-29 14:23:37 +01:00
Dominik Schürmann
cfd3e25b6a Version 4.8 2017-11-28 20:31:43 +01:00
Dominik Schürmann
1ea5a67f6c ProGuard: Remove more bouncycastle packages to stay under 64K method limit 2017-11-28 20:31:07 +01:00
Dominik Schürmann
22e629f707 Pull from transifex 2017-11-28 19:39:51 +01:00
Dominik Schürmann
0c3449e99f Changelog 4.8 2017-11-28 19:36:14 +01:00
Vincent Breitmoser
daa84ae085 Merge pull request #2224 from hagau/ssh_encode_signature
Encode signature to SSH compatible format in SshAuthenticationService
2017-11-28 16:47:53 +01:00
Vincent Breitmoser
e981a1444c use Hex.decode in unit tests 2017-11-28 16:40:06 +01:00
Dominik Schürmann
537de5fdcb Merge pull request #2228 from open-keychain/fix-notify
Do not re-enable contacts sync if first time wizard is not finished
2017-11-28 16:20:39 +01:00
Dominik Schürmann
91ad0203f2 Do not re-enable contacts sync if first time wizard is not finished 2017-11-28 16:15:08 +01:00
Vincent Breitmoser
028a7c7a3a add handling for UnsupportedUsbToken exception 2017-11-28 15:10:04 +01:00
Vincent Breitmoser
9487806c08 respect experimental setting for untested usb devices 2017-11-28 15:10:04 +01:00
Vincent Breitmoser
0d099116d5 add experimental setting to allow untested usb devices 2017-11-28 15:08:13 +01:00
Vincent Breitmoser
71d2d66ee2 Use different approach for whitelisting usb security tokens 2017-11-28 15:08:12 +01:00
Christian Hagau
8afc43d192 Add tests for SshSignatureConverter 2017-11-28 03:58:14 +00:00
Christian Hagau
de695fa2b0 Improve error handling for curve OID to SSH curve identifier translation 2017-11-28 03:58:14 +00:00
Christian Hagau
6e5f5405a2 Return encoded signature blob instead of a raw signature in
SshAuthenticationService
2017-11-28 03:58:07 +00:00
Christian Hagau
8d3b5c196d Fix and clean up SshPublicKeyTest 2017-11-23 12:13:18 +00:00
Christian Hagau
028d869168 Add tests for RSA, EdDSA & DSA keys in AuthenticationOperation 2017-11-23 12:13:18 +00:00
Christian Hagau
2dba6e3cb0 Return the raw signature instead of a PGPSignature in
AuthenticationSignatureGenerator
2017-11-23 12:12:50 +00:00
Christian Hagau
f70b10d548 Use a custom EdDsaAuthenticationContentSignerBuilder for signing with
EdDSA, since EdDSA expects the raw data instead of a hash
2017-11-22 18:03:04 +00:00
Christian Hagau
2e3649100c Rename PGPAuthenticationSignatureGenerator to
AuthenticationSignatureGenerator & reformat
2017-11-22 18:03:04 +00:00
Vincent Breitmoser
1f7c7f49d4 remove check for unsupported usb devices 2017-11-22 16:19:26 +01:00
Vincent Breitmoser
8c2c131be6 refresh connection capabilities after token reset 2017-11-22 15:11:54 +01:00