Commit Graph

293 Commits

Author SHA1 Message Date
Adam Velebil
9b65a23cb9
API 21 fixes 2022-10-05 12:44:47 +02:00
Adam Velebil
0cd26d2097
tests cleanup 2022-10-05 12:44:18 +02:00
Adam Velebil
9b8d3a845c
bumps 2022-10-05 12:43:00 +02:00
Adam Velebil
dbecb1f581
delete unused class 2022-10-05 12:42:24 +02:00
Adam Velebil
e38767bfe4
update kotlin sources 2022-10-04 15:47:26 +02:00
Adam Velebil
e4b9b21acf
use kotlin files 2022-10-04 15:32:40 +02:00
Adam Velebil
6eb5ad4654
update package 2022-10-04 15:25:41 +02:00
Adam Velebil
464c0fc44c
add licenses to android sources 2022-10-04 14:28:39 +02:00
Adam Velebil
5d50d8e864
implement handler and method channel 2022-09-30 15:52:50 +02:00
Adam Velebil
f99742b588
add intent filter 2022-09-30 13:56:36 +02:00
Adam Velebil
56eb36b509
Merge PR #229. 2022-09-30 11:00:00 +02:00
Adam Velebil
dd123adc07
Merge PR #233. 2022-09-30 10:40:53 +02:00
Adam Velebil
56f26627d2
Mrg 'main' into adamve/android-sdkversion-handling 2022-09-30 10:25:39 +02:00
Adam Velebil
67650bf956
use existing constant 2022-09-30 10:20:12 +02:00
Adam Velebil
84f9147aed
use intent filters for USB only if app is resumed 2022-09-29 16:52:33 +02:00
Adam Velebil
9d92d2e1ef
only start discovery if user gave permissions 2022-09-28 17:10:36 +02:00
Adam Velebil
9b08b1f836
intent driven USB YubiKey discovery 2022-09-28 16:36:17 +02:00
Adam Velebil
380d54df26
remove ; 2022-09-23 11:41:51 +02:00
Adam Velebil
bf9b85f069
consider not touching YK as cancellation 2022-09-23 11:41:07 +02:00
Adam Velebil
8af168bf73
Mrg 'main' into adamve/android-sdkversion-handling 2022-09-22 17:00:49 +02:00
Adam Velebil
1d99ce3fe6
handle features dependent on SDK version 2022-09-21 15:29:34 +02:00
Adam Velebil
0cb52fbbd6
update version 2022-09-19 11:51:09 +02:00
Adam Velebil
d40a2b6bd4
fix to launch theme 2022-09-16 15:06:31 +02:00
Adam Velebil
c7f3aa4557
fix theming for different apis !forever! 2022-09-16 11:51:15 +02:00
Adam Velebil
4b6499b3a6
Merge 'release/6.0.0-beta.2' to this 2022-09-16 10:52:45 +02:00
Adam Velebil
516472402c
use DayNight theming 2022-09-15 11:29:38 +02:00
Dain Nilsson
c1643dd012
Check for duplicate codes when adding without a key. 2022-09-14 16:40:49 +02:00
Dain Nilsson
84f0fe162f
WIP: Add Android happy path. 2022-09-14 16:07:32 +02:00
Adam Velebil
ff7871dc95
remove 'Preview' from app label 2022-09-14 09:53:40 +02:00
Adam Velebil
ac461eb04b
support ACTION_RUN for debug builds 2022-09-14 09:44:29 +02:00
Adam Velebil
62b2670892
use correct app id 2022-09-09 11:44:19 +02:00
Dain Nilsson
c393adbc29
Rename hideAppThumbnail to match Flutter, and verify that the flag is set. 2022-09-08 13:34:49 +02:00
Dain Nilsson
4e3dbd249e
Merge PR #207. 2022-09-08 09:24:38 +02:00
Adam Velebil
24e64d84bd
Merge PR #206. 2022-09-08 08:27:57 +02:00
Adam Velebil
b1ec64689a
hide app thumbnails setting 2022-09-07 19:28:22 +02:00
Dain Nilsson
10f86dde8b
Fix readig DeviceInfo from NEO over NFC. 2022-09-06 19:49:49 +02:00
Adam Velebil
274bcaba6e
remove FLAG_SECURE temporarily 2022-09-06 14:58:06 +02:00
Adam Velebil
f5541b4666
make minumum changes to original 2022-09-06 09:52:32 +02:00
Adam Velebil
ff6fc85dc3
simplify method 2022-09-06 09:51:06 +02:00
Adam Velebil
747013bdde
avoid ambigous names 2022-09-06 09:40:11 +02:00
Adam Velebil
404245fd51
use calculateCodes() instead getCredentials() 2022-09-06 09:39:14 +02:00
Adam Velebil
98dc195184
Merge PR #186. 2022-09-05 14:53:20 +02:00
Adam Velebil
9ce634748d
use of _ in kotlin 2022-09-02 15:26:58 +02:00
Adam Velebil
bcdde8ca43
review fix + unit tests 2022-09-02 14:28:48 +02:00
Adam Velebil
9c9090d00f
Merge 'main' into fix/YADESK-788-SKY-over-USB 2022-09-02 12:14:22 +02:00
Adam Velebil
5477a3ca0a
Merge PR #190. 2022-09-02 12:04:33 +02:00
Adam Velebil
d278f268c8
Merge PR #188. 2022-09-02 11:59:27 +02:00
Adam Velebil
d5beca16fc
copy license files to flutter assets during build 2022-09-01 17:42:59 +02:00
Adam Velebil
16595f4e52
Fix issue with thin green border around app 2022-09-01 09:22:06 +02:00
Adam Velebil
7ebde97abb
Merge 'main' into fix/YADESK-788-SKY-over-USB 2022-09-01 09:07:50 +02:00
Adam Velebil
7629dc996c
Merge branch 'main' into adam/oath-nfc 2022-09-01 09:01:37 +02:00
Adam Velebil
51041dc9ad
handle lifecycle changes in OathManager 2022-09-01 07:48:18 +02:00
Adam Velebil
eec94421b6
Handle dependency licenses on Android 2022-08-31 15:49:43 +02:00
Adam Velebil
4b95be96cf
fixed validation of YubiKey version 2022-08-29 13:20:39 +02:00
Adam Velebil
f51bba71cc
fix to putKey 2022-08-29 09:29:32 +02:00
Adam Velebil
75d95301b8
cleanup nfc data after delay 2022-08-26 16:26:30 +02:00
Adam Velebil
94a406d025
remove extra param added by mistake 2022-08-25 18:02:53 +02:00
Adam Velebil
7d20d8bc96
use legacy key alias for keystore aliases 2022-08-25 17:50:22 +02:00
Adam Velebil
c32ab802ea
get SKY info from usbDevice 2022-08-25 13:54:34 +02:00
Adam Velebil
dc08a471a1
fix flow in getDeviceInfo 2022-08-25 08:47:23 +02:00
Dain Nilsson
a99c953c96
Set correct type for property. 2022-08-25 08:28:34 +02:00
Adam Velebil
42c4445a47
simplify code copying 2022-08-24 17:34:54 +02:00
Adam Velebil
7271f76cbf
fix copying of touch-required credential's codes 2022-08-24 16:10:14 +02:00
Dain Nilsson
70fb395546
Android: Fix OATH commands over USB when access code is set. 2022-08-24 14:05:15 +02:00
Adam Velebil
dc9fb445c9
fix closing tap request dialog 2022-08-24 10:16:43 +02:00
Dain Nilsson
5d74e53ad6
Fix review comment issues. 2022-08-22 17:18:47 +02:00
Dain Nilsson
f52fe40b01
Handle AppConextManager more robustly. 2022-08-22 17:17:23 +02:00
Dain Nilsson
e60ded1347
Make "open app on NDEF" default to true. 2022-08-22 17:17:22 +02:00
Dain Nilsson
1f0103b9b9
Android: Drop LiveData for YubiKey devices. 2022-08-22 17:17:21 +02:00
Dain Nilsson
e0696da422
Android: Refactor OATH state management. 2022-08-22 17:17:20 +02:00
Dain Nilsson
8e08a72462
Refactor DialogManager and its usage in useOathSession. 2022-08-17 15:51:07 +02:00
Dain Nilsson
50210e371b
Update OATH model on reset.
There are other places where this doesn't happen which results in
different states in Flutter VS in Android, and these should probably be
fixed. This happens in set/unset password, and when unlocking.
2022-08-17 10:54:34 +02:00
Dain Nilsson
f6043c868a
Remove Pigeon. 2022-08-17 10:54:29 +02:00
Dain Nilsson
c0d082ea0c
Fix broken test. 2022-08-12 10:25:48 +02:00
Dain Nilsson
0ba4799f52
Add "bypass NFC touch" setting. 2022-08-12 09:56:08 +02:00
Adam Velebil
6080d2985e
Merge PR #180. 2022-08-09 16:27:49 +02:00
Adam Velebil
4e19e2aed6
renamed from yotp to ndef 2022-08-09 15:56:33 +02:00
Adam Velebil
1a8eaa2e16
updates to ndef processing 2022-08-09 15:53:35 +02:00
Adam Velebil
cd51e925eb
only detect NDEF for my.yubico.com host 2022-08-09 08:57:16 +02:00
Adam Velebil
ae56aa8aee
restart nfc when camera is closed 2022-08-09 07:44:51 +02:00
Adam Velebil
3b628938d7
yubiclip static passwords, settings improvements 2022-08-04 11:55:19 +02:00
Adam Velebil
4e7ad56634
use preview app id and app name 2022-08-04 08:23:07 +02:00
Adam Velebil
a868782a56
update OATH codes after open on NFC tap 2022-08-03 20:08:24 +02:00
Adam Velebil
b1e6dc02fc
moved file to correct directory 2022-08-03 15:56:30 +02:00
Adam Velebil
ff23ed9a53
implement yubiclip fnc, add Android settings 2022-08-03 15:21:39 +02:00
Adam Velebil
95763c1d27
don't allow running in split-window mode 2022-08-01 16:08:06 +02:00
Adam Velebil
d064fe357f
workaround - restart nfc discovery for add account 2022-07-28 15:12:11 +02:00
Adam Velebil
0b68676371
Merge branch 'main' into fix/android-nfc 2022-07-22 10:32:30 +02:00
Adam Velebil
902eb6718d
Merge branch 'main' into fix/android-nfc 2022-07-21 17:24:35 +02:00
Adam Velebil
56da20b442
regenerate pigeon files 2022-07-21 16:38:20 +02:00
Adam Velebil
00101b21c7
regenerate pigeons 2022-06-20 14:33:16 +02:00
Adam Velebil
1968804226
use CancellationException 2022-06-20 09:47:34 +02:00
Adam Velebil
b0a405377a
Don't throw on missing pending action 2022-06-10 17:29:13 +02:00
Adam Velebil
b1425a5285
YADESK-602 android and nfc exception handling 2022-06-10 12:23:52 +02:00
Adam Velebil
6d5931956c
YADESK-699 correct data in acc dlg after rename 2022-06-10 08:37:31 +02:00
Adam Velebil
ff404ff2ee
use FLAG_SECURE only in Release builds 2022-06-07 08:28:17 +02:00
Adam Velebil
173ca6627b
YADESK-690 FLAG_SECURE 2022-06-03 17:14:43 +02:00
Adam Velebil
58f4430b22
updated unit tests 2022-06-03 12:09:19 +02:00
Adam Velebil
9697c5a3f4
remove default ctor param values from Session 2022-06-03 11:02:29 +02:00
Adam Velebil
5380d5a7f5
updated data types and added yubikit helpers 2022-06-02 16:57:58 +02:00
Adam Velebil
fa5ebe46e6
Merge branch 'main' into fix/YADESK-688-SKY-crashes 2022-06-02 14:11:14 +02:00
Adam Velebil
9fae52b48b
[Android] add Version to OATH session 2022-06-02 09:07:17 +02:00
Adam Velebil
8b8cdf40bb
prevent crashes by catching exceptions 2022-05-13 16:46:50 +02:00
Dain Nilsson
0132cad725
Specify version with set-version.py. 2022-05-13 15:59:25 +02:00
Adam Velebil
24615275f6
Merge 'main' into fix/YADESK-637-refresh-creds 2022-05-12 12:03:50 +02:00
Adam Velebil
14bd9b6182
regenerate pigeon 2022-05-12 11:06:51 +02:00
Adam Velebil
9b6cc3f622
avoid pending actions when using usb 2022-05-11 17:37:51 +02:00
Adam Velebil
64bf0bc6d4
Merge 'main' into fix/YADESK-637-refresh-creds 2022-05-11 16:12:17 +02:00
Adam Velebil
93a106bed0
fix log buffering 2022-05-11 16:01:53 +02:00
Adam Velebil
89d632390a
implemented getLogs on Android 2022-05-11 15:47:35 +02:00
Adam Velebil
1b08203181
simpler call to Log.log 2022-05-11 14:17:08 +02:00
Adam Velebil
a5cfc96d6f
separate Flutter and Android logging 2022-05-11 14:02:31 +02:00
Dain Nilsson
be652a9f9a
Android: Add 10s to time for manually calculated codes or NFC. 2022-05-10 12:38:02 +02:00
Adam Velebil
54d6c96e50
YADESK-687 update model properly 2022-05-10 08:42:35 +02:00
Adam Velebil
a74989cd5e
report invalid log levels 2022-05-09 17:15:16 +02:00
Adam Velebil
3807d2650b
fix logLevel parsing logic 2022-05-09 16:11:47 +02:00
Adam Velebil
e8b951d838
unify message format with flutter 2022-05-09 15:32:22 +02:00
Adam Velebil
b0a1d16012
avoid depending on flutter log level value 2022-05-09 15:31:13 +02:00
Adam Velebil
99708c99ef
TAG for logs 2022-05-09 10:12:26 +02:00
Adam Velebil
51b8a124cf
add TAG parameter to FlutterLog calls 2022-05-09 08:46:59 +02:00
Adam Velebil
9be38a1b23
redirect logging to native logger 2022-05-09 08:32:44 +02:00
Adam Velebil
8328f76b46
Use custom flutter LogLevels from Android 2022-05-06 17:45:34 +02:00
Adam Velebil
153d1fce3a
throw on illegal oath type 2022-05-06 14:44:28 +02:00
Adam Velebil
0a65ad6a73
serialize model credentials as List 2022-05-06 14:27:33 +02:00
Adam Velebil
b7ee31c70c
fix typo 2022-05-05 17:21:13 +02:00
Adam Velebil
ab6208f3f5
style fixes 2022-05-05 17:16:38 +02:00
Adam Velebil
8e4d8f2c13
updated unit tests 2022-05-05 16:23:09 +02:00
Adam Velebil
1d65334072
use kotlinx-serialization with OATH Model 2022-05-05 13:56:08 +02:00
Adam Velebil
054cbb200a
YADESK-616 add Oath session model 2022-05-03 14:25:55 +02:00
Adam Velebil
acfc93da31
split view model 2022-04-29 17:41:42 +02:00
Adam Velebil
8513bf9069
AppContext separated from viewmodel 2022-04-29 10:29:35 +02:00
Adam Velebil
320a2d6650
oath package 2022-04-29 08:02:18 +02:00
Adam Velebil
041f9c49a0
logger example 2022-04-13 15:26:32 +02:00
Adam Velebil
93ba22cf64
bump version 2022-04-08 14:21:09 +02:00
Adam Velebil
c161ca14d8
Merge branch 'main' into fix/android-a2-3 2022-04-08 10:00:46 +02:00
Adam Velebil
82f77d7f28
YADESK-628 2022-04-08 08:54:12 +02:00
Adam Velebil
68b47bd1c7
YADESK-613 - don't crash when SKY is usb connected 2022-04-07 15:32:56 +02:00
Adam Velebil
83964de603
add initial proguard file 2022-04-07 14:18:14 +02:00
Adam Velebil
411d744537
YADESK-630 add account 2022-04-07 10:41:38 +02:00
Adam Velebil
52123644a7
YADESK-624 refresh on OATH session reset 2022-04-07 08:57:32 +02:00
Adam Velebil
2222f2536a
YADESK-627 remove NG from app label 2022-04-06 16:51:59 +02:00
Adam Velebil
0778ec3077
YADESK-619 - closing dialogs 2022-04-06 16:44:36 +02:00
Adam Velebil
577631449b
YADESK-622 2022-04-06 15:16:34 +02:00
Adam Velebil
96031c12fa
fix tests 2022-04-05 16:16:25 +02:00
Adam Velebil
ada86d7dad
fix calculation of touch TOTP 2022-04-05 13:15:08 +02:00
Adam Velebil
b9fbc5efd1
refactore signing setup 2022-04-05 08:38:57 +02:00
Adam Velebil
5e17b3f229
gradle changes 2022-04-04 17:02:06 +02:00
Adam Velebil
164b2dd626
make icon slightly bigger 2022-04-04 11:38:09 +02:00
Adam Velebil
4d503058b8
launch background cleanup 2022-04-04 11:37:14 +02:00
Adam Velebil
5333def86a
add icon to splash screen 2022-04-04 10:59:08 +02:00