Commit Graph

160 Commits

Author SHA1 Message Date
Vincent Breitmoser
442845f1fe Split up ResetAndWipeTokenOp a bit, and add test 2018-01-13 16:28:26 +01:00
Vincent Breitmoser
0d2cbd0654 rename methods that do io to "read*" instead of "get*" 2018-01-13 15:32:36 +01:00
Vincent Breitmoser
abf5e5d170 refactor OpenPgpCapabilities to use AutoValue 2018-01-13 15:32:36 +01:00
Vincent Breitmoser
401b90a493 rename UseCases to TokenOps, and move to operations package 2018-01-12 18:50:45 +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
e981a1444c use Hex.decode in unit tests 2017-11-28 16:40:06 +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
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
Vincent Breitmoser
bf173b1e65 use deterministic passphrase in PgpKeyOperationTest 2017-11-22 14:19:38 +01:00
Vincent Breitmoser
3a818e8cde improve security token connection unit tests 2017-11-02 19:25:08 +01:00
Dominik Schürmann
8acf62a0e8 Use check for life cycle management to determine if token supports reset 2017-11-02 19:13:44 +01:00
Dominik Schürmann
90310b7036 Read life cycle management from historical bytes 2017-11-02 18:54:41 +01:00
Christian Hagau
2619cb1db3 Add sshauthentication-api v1 support 2017-11-01 14:28:17 +00:00
Vincent Breitmoser
0021c1f15f add tests for CcidTransceiver 2017-10-29 02:42:26 +02:00
Vincent Breitmoser
95034e36b1 fix unit test 2017-10-26 17:44:13 +02:00
Vincent Breitmoser
7eb37a89d8 reduce number of token roundtrips used to obtain SecurityTokenInfo 2017-10-23 20:40:25 +02:00
Vincent Breitmoser
2812f07d34 add rudimentary unit test for SecurityTokenConnection 2017-10-23 20:40:25 +02:00
Vincent Breitmoser
edaa629f46 add unit tests for CommandApdu 2017-10-23 20:40:25 +02:00
Vincent Breitmoser
618c3a506c Merge pull request #2167 from open-keychain/ditch-consolidate
Ditch "consolidate" mechanism
2017-10-02 16:46:12 +02:00
KB Sriram
db4f058ba8 Update interop test license to Apache 2.0
Change the license for the interoperability test runner
to Apache 2.0, matching standard Google open source practice.
2017-09-28 06:18:58 -07:00
Vincent Breitmoser
678a5c1562 slight cleanup 2017-09-23 01:35:39 +02:00
Vincent Breitmoser
90b7a0f4f1 handle one-octet length headers in public key block reformatting 2017-09-19 15:04:25 +02:00
Vincent Breitmoser
ded139d302 aggressively reformat public key blocks from clipboard 2017-09-19 12:58:42 +02:00
Vincent Breitmoser
863651918e token-import: use entire fingerprint for promote operation 2017-09-11 15:30:10 +02:00
Vincent Breitmoser
b92778f6e9 tls-psk: extract skt uri handling, and use new qr code format 2017-08-29 20:11:36 +02:00
Vincent Breitmoser
b58e30914c tls-psk: stub for tests 2017-08-29 20:11:35 +02:00
Vincent Breitmoser
dfa4375697 fix and add some more tests for external provider 2017-07-25 22:19:33 +02:00
Vincent Breitmoser
dc33fc7982 new deduplication dialog 2017-07-25 22:19:33 +02:00
Vincent Breitmoser
5e01e41bcd return key status differently for uid and autocrypt peer in KeychainExternalProvider 2017-07-25 22:19:32 +02:00
Vincent Breitmoser
019e63f681 full-on autocrypt! 2017-07-25 22:19:32 +02:00
Vincent Breitmoser
1e620e01aa trust id -> autocrypt peer 2017-07-25 22:19:32 +02:00
Vincent Breitmoser
4e4912bd6d add trust-id info in external query 2017-07-25 22:19:32 +02:00
Vincent Breitmoser
50d8cd0559 change opaque key tests to use unknown algorithms instead of eddsa 2017-06-16 18:41:33 +02:00
Vincent Breitmoser
27582c1310 add some tests for eddsa 2017-06-16 18:41:33 +02:00
Vincent Breitmoser
dfdfd733f3 drop key encryption altogether for empty passphrase 2017-06-13 12:42:29 +02:00
Vincent Breitmoser
79af393847 use autovalue for PgpDecryptVerifyInputParcel 2017-05-25 15:42:30 +02:00
Vincent Breitmoser
7e6cac3317 use autovalue for PgpSignEncryptInputParcel, move allowedKeys into PgpSignEncryptData 2017-05-25 15:42:29 +02:00
Vincent Breitmoser
9d485dfe9f use autovalue for InputDataParcel and SignEncryptParcel 2017-05-25 15:42:28 +02:00
Vincent Breitmoser
040a5a2006 use autovalue for BackupKeyringParcel 2017-05-25 15:42:28 +02:00
Vincent Breitmoser
d58f1bd225 use autovalue for SaveKeyringParcel 2017-05-25 15:42:27 +02:00
Vincent Breitmoser
147e4dbee7 use autovalue for SubkeyAdd and SubkeyChange 2017-05-25 15:42:27 +02:00
Vincent Breitmoser
d3357ccf5c use autovalue for ChangeUnlockParcel 2017-05-25 15:42:27 +02:00
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