Commit Graph

79 Commits

Author SHA1 Message Date
Dominik Schürmann
e7705eaca8 Use constants for vendor and product IDs 2017-10-26 17:20:12 +02:00
Vincent Breitmoser
14b74b7590 add token transport and type to SecurityTokenInfo 2017-10-26 17:19:22 +02:00
Dominik Schürmann
0ca46c46aa Route all class 11 USB devices to OpenKeychain, some class 3 for info 2017-10-26 12:28:32 +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
c295a6815f write nfc communication to debug output 2017-10-23 20:40:25 +02:00
Vincent Breitmoser
911d2a1c96 rewrite CommandApdu 2017-10-23 20:40:25 +02:00
Vincent Breitmoser
c89aab8802 reduce visibility where unnecessary 2017-10-23 20:40:25 +02:00
Vincent Breitmoser
a4af2f7f5c rewrite ResponseApdu 2017-10-23 20:40:25 +02:00
Vincent Breitmoser
e8103d8376 use reset instead of modify for changing pw1 2017-10-23 20:40:25 +02:00
Vincent Breitmoser
9b292a4c70 rename CommandAPDUFactory -> OpenPgpCommandApduFactory 2017-10-23 20:40:25 +02:00
Vincent Breitmoser
b7723c1a4a replace magic constants in APDU factory 2017-10-23 20:40:25 +02:00
Vincent Breitmoser
8e9a62070d extract creation of CommandAPDUs into factory 2017-10-23 20:40:25 +02:00
Vincent Breitmoser
46b69d45c4 explicitly pass around instance of SecurityTokenConnection 2017-10-23 20:40:25 +02:00
Vincent Breitmoser
e8f72718e9 rename SecurityTokenHelper to SecurityTokenConnection 2017-10-23 20:38:04 +02:00
Dominik Schürmann
07b7936d0b Merge pull request #2183 from open-keychain/locate-hotspot
Add "Where is my NFC reader?" button to nfc waiting dialog
2017-10-23 18:37:15 +02:00
Vincent Breitmoser
c07e808d24 add nfc sweetspot data, scraped from NFC-Ring API 2017-10-10 04:54:43 +02:00
Vincent Breitmoser
0cb000a0be Change some package structure 2017-10-09 14:24:42 +02:00
Vincent Breitmoser
a51252910b some T=1 refactoring 2017-10-09 14:17:30 +02:00
Vincent Breitmoser
6cc058e25f some more cleanup in usb classes 2017-10-08 05:01:40 +02:00
Vincent Breitmoser
31da4c450d Ignore leading data before IccPowerOn operation in CcidTransceiver 2017-10-08 05:01:39 +02:00
Vincent Breitmoser
7a24f4c237 refactor CcidTransceiver 2017-10-08 05:01:25 +02:00
Vincent Breitmoser
2debc23ce0 slightly nicer error reporting for security token cla chaining 2017-10-06 19:06:43 +02:00
Dominik Schürmann
2ac67865d7 Fix indentation 2017-09-25 10:18:52 +02:00
Arnaud Fontaine
ae0b3dc396 Fix EC decipher template (#2166)
Fix EC decipher template
2017-09-25 10:13:41 +02:00
Vincent Breitmoser
863651918e token-import: use entire fingerprint for promote operation 2017-09-11 15:30:10 +02:00
Vincent Breitmoser
e0b5d97356 token-import: add entrypoint for blank token setup flow 2017-09-11 01:44:50 +02:00
Vincent Breitmoser
bdc855d618 token-import: add debug states for locked keys 2017-09-11 01:44:40 +02:00
Vincent Breitmoser
419dffab02 token-import: move debug states out of fragment 2017-09-11 01:44:39 +02:00
Vincent Breitmoser
36bec236f4 add routines to unlock security token 2017-09-08 15:17:33 +02:00
Vincent Breitmoser
768abb3074 token-import: introduce parcelable SecurityTokenInfo 2017-09-08 15:17:33 +02:00
Vincent Breitmoser
c1773de1c3 token-import: handle empty urls better 2017-09-08 15:16:50 +02:00
Vincent Breitmoser
af7d36c038 token-import: first iteration 2017-09-08 15:16:50 +02:00
Arnaud Fontaine
d668719bc8 Missing import... 2017-07-07 11:36:31 +02:00
Arnaud Fontaine
f554548a14 Code style 2017-07-07 10:20:24 +02:00
Arnaud Fontaine
47b0763f9f Update SecureMessaging/SCP11b wrt OpenPGP card v3.3 2017-07-06 18:25:36 +02:00
Arnaud Fontaine
745d2a0988 fix issue #2049 2017-06-13 10:03:47 +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
c6bec99fe3 add note about ecdsa signature encoding in SecurityTokenHelper 2017-05-16 13:43:35 +02:00
Arnaud Fontaine
7a3836b775 Fix IllegalArgumentException in SecurityTokenUtils #2036 2017-02-17 14:19:40 +01:00
Arnaud Fontaine
612c0719c0 Fix NPE in CardCapabilities #2000 2017-02-17 13:34:03 +01:00
Vincent Breitmoser
a1127bdf1a support odd rsa moduli on security tokens 2017-01-13 02:39:51 +01:00
Dominik Schürmann
63244a113a Code formatting and package re-structuring 2017-01-05 13:56:09 +01:00
Dominik Schürmann
b89ba85313 skip algorithm screen for security tokens version < 3.0 2017-01-05 13:40:40 +01:00
Arnaud Fontaine
d7612b0ae2 Add comments related to ECC decryption with security tokens 2017-01-05 11:46:57 +01:00
Arnaud Fontaine
42b5e291ca Rename methods related only to security tokens 2017-01-05 11:01:14 +01:00
Arnaud Fontaine
3a20dee36f Remove underscore in variable names 2017-01-04 15:44:24 +01:00
Arnaud Fontaine
f7f96498eb Adding missing GPL headers 2017-01-04 14:59:57 +01:00
Arnaud Fontaine
a6b7b2bf4e Support of SmartPGP secure messaging 2017-01-04 14:59:57 +01:00