Adam Velebil
bf9b85f069
consider not touching YK as cancellation
2022-09-23 11:41:07 +02:00
Dain Nilsson
2e9a51d720
Migrate to Flutter 3.3.2
2022-09-23 10:42:29 +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
8e766fd7f9
pause and resume QR scanner
2022-09-15 17:46:22 +02:00
Adam Velebil
4584a48621
remove semicolon
2022-09-15 14:55:47 +02:00
Adam Velebil
02222d3764
rename from imageAnalyzer to imageAnalysis
2022-09-15 14:41:36 +02:00
Adam Velebil
26caad52f1
code style
2022-09-15 14:36:54 +02:00
Adam Velebil
d4edf98b73
use QR code only MultiFormatReader
2022-09-15 14:36:20 +02:00
Adam Velebil
6fee72490a
clear analyzer when QR code scanner closes
2022-09-15 14:35:14 +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
9f32368fd0
remove not wanted line
2022-09-09 11:45:14 +02:00
Adam Velebil
f651967311
update SDK versions
2022-09-09 11:44:56 +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
3614f6677c
fix kotlin warnings
2022-09-02 16:50:03 +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
02bae71cc1
Bump kotlin and gradle versions.
2022-08-17 10:54:33 +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
04fa204bc3
fix kotlin code style
2022-08-08 15:58:47 +02:00
Adam Velebil
ebccd09f66
Merge branch 'main' into fix/YADESK-629-add-account-nfc
2022-08-08 15:44:14 +02:00
Adam Velebil
e2a717d0aa
fix compile error
2022-08-05 14:09:19 +02:00
Adam Velebil
035fbf7545
better Camera permissions handling
2022-08-05 14:04:04 +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
3b75f5ce27
fix yubikit-android dependency
2022-07-22 10:08:31 +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
007072943b
Use YubiKit branch fix/2.1.0a1-fixes-1
...
This reverts commit 780791d126
.
2022-06-16 16:39: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
780791d126
bump yubikit-android to 2.1.0-alpha.1
2022-06-01 16:48:35 +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
02b0e331b8
add intellij scopes
2022-04-29 17:40: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
b179387705
bump gradle plugin
2022-04-28 16:44:09 +02:00
Adam Velebil
0c53179cdf
remove unused dependency
2022-04-27 14:06:22 +02:00
Adam Velebil
bd2a91fba6
remove unused variable
2022-04-26 15:16:52 +02:00
Adam Velebil
55856850d0
updates QR code scanner
2022-04-26 15:07:36 +02:00
Adam Velebil
9a1bc90d79
remove transitions when opening/closing qr scanner
2022-04-26 10:16:44 +02:00
Adam Velebil
908bec4db4
fixes "Did not find frame" errors
2022-04-26 07:34:34 +02:00
Adam Velebil
9517f27a9f
remove invalid log line
2022-04-22 15:33:42 +02:00
Adam Velebil
be611d5f97
rename to zxing
2022-04-22 15:28:08 +02:00
Adam Velebil
40d1cedcc1
replaced mlkit with zxing; better example app
2022-04-22 14:55:36 +02:00
Adam Velebil
98cdc9dfd9
removed test from example project
2022-04-22 13:09:28 +02:00
Adam Velebil
cbf84b7dc8
removed relative import
2022-04-22 12:20:13 +02:00
Adam Velebil
bb0e185408
handling debug print messages
2022-04-22 11:39:30 +02:00
Adam Velebil
cf212de322
new plugin replacing mobile_scanner
2022-04-22 11:22:59 +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
Adam Velebil
95908c951e
Merge PR #78 .
2022-03-28 16:33:27 +02:00
Adam Velebil
25ec299b56
update application id
2022-03-28 16:11:42 +02:00
Adam Velebil
a0c2bfbc70
added missing v25 round launcher icons
2022-03-28 15:51:12 +02:00
Adam Velebil
6a88337551
generated icon
2022-03-28 14:09:22 +02:00
Adam Velebil
9547995119
review updates
2022-03-24 17:39:12 +01:00
Adam Velebil
41ea3777a8
keep only current access key in mem key provider
2022-03-24 13:53:22 +01:00
Adam Velebil
7d0d85f872
code style update
2022-03-24 12:21:50 +01:00
Adam Velebil
c70aa4ccf0
clear keys from memory after disconnecting usb yk
2022-03-24 12:02:14 +01:00
Adam Velebil
c17338ce98
refactor unlock oath session value calculation
2022-03-24 09:32:58 +01:00
Adam Velebil
28020a5729
unlock oath session with remembered password
2022-03-24 08:53:12 +01:00
Adam Velebil
5b49ee6ce2
adding remember password support
2022-03-23 17:18:32 +01:00
Adam Velebil
4c0383859b
simplify KeyManager
2022-03-23 16:47:50 +01:00
Adam Velebil
6e4f1a5dd2
initial
2022-03-23 15:21:09 +01:00
Adam Velebil
cbee4222c0
Merge PR #70 .
2022-03-23 09:13:56 +01:00
Adam Velebil
0f022b6cf0
import specific classes
2022-03-22 18:16:14 +01:00
Adam Velebil
36e9db8a70
moved files back to java folder for easier review
2022-03-22 18:11:14 +01:00
Adam Velebil
e746e14582
bump android gradle plugin to 7.1.2
2022-03-22 16:43:48 +01:00
Adam Velebil
4a27348c65
bump minSdkVersion to 23
2022-03-22 16:31:18 +01:00
Adam Velebil
5b039b6edd
Merge PR #66 .
2022-03-22 11:32:37 +01:00
Adam Velebil
c9cfb62cac
bump pigeon to 2.0.2, use nullable params in api
2022-03-22 11:07:28 +01:00
Adam Velebil
3d06c05ed8
force portrait
2022-03-22 09:58:02 +01:00
Adam Velebil
7f9105c0eb
style update
2022-03-22 09:13:27 +01:00
Adam Velebil
3962d6f9ab
calculate Steam code for Steam credential
2022-03-22 09:08:11 +01:00
Adam Velebil
584614a9d0
android compile fix
2022-03-21 18:08:01 +01:00
Adam Velebil
4e292fbfed
recalculate totp code on add credential
2022-03-21 17:55:42 +01:00
Adam Velebil
972fad795e
change name of Steam unit test
2022-03-21 08:36:19 +01:00
Adam Velebil
0974adb4bf
use and in infix notation for bitwise operations
2022-03-21 08:34:27 +01:00
Adam Velebil
a7d1c19dbb
move extension functionality to OathSession
2022-03-18 19:27:19 +01:00
Adam Velebil
539a498b7c
use ByteBuffer
2022-03-18 18:07:44 +01:00
Adam Velebil
a41eed2e1d
steam code conversion
2022-03-18 16:16:12 +01:00
Adam Velebil
76503eb1de
depend on and use yubikit support module
2022-03-16 15:54:09 +01:00
Adam Velebil
bc1d698623
update json format
2022-03-16 10:52:22 +01:00
Adam Velebil
2b40716720
replace serialize helpers
2022-03-16 09:56:58 +01:00
Adam Velebil
dfe1d9003e
Credential id as String extension function
2022-03-16 09:41:26 +01:00
Adam Velebil
dfa8058b9d
DeviceConfig to json extension function
2022-03-16 09:35:45 +01:00
Adam Velebil
a7dbdaa5a3
version to json extension function
2022-03-16 09:34:14 +01:00