Commit Graph

138 Commits

Author SHA1 Message Date
Adam Velebil
f472097a9f
license notice update in source files 2022-10-04 12:12:54 +02:00
Adam Velebil
56f26627d2
Mrg 'main' into adamve/android-sdkversion-handling 2022-09-30 10:25:39 +02:00
Adam Velebil
5e04f48712
set size 2022-09-26 11:59:07 +02:00
Adam Velebil
a43bacc073
theme preferences tests 2022-09-23 10:17:28 +02:00
Adam Velebil
1d99ce3fe6
handle features dependent on SDK version 2022-09-21 15:29:34 +02:00
Adam Velebil
89d9a64941
regenerate freezed files 2022-07-21 16:38:45 +02:00
Dain Nilsson
beec1224ff
Rebuild freezed classes. 2022-07-07 10:29:42 +02:00
Dain Nilsson
f4838850e7
Add gradient behind device image in picker. 2022-07-06 15:05:15 +02:00
Dain Nilsson
7ee5b82906
Improve user interation dialog. 2022-07-05 13:26:43 +02:00
Dain Nilsson
7f093d97a2
Handle Non-YubiKey NFC devices-
This changes the currentDeviceDataNotifier to use an AsyncValue instead
of a nullable YubiKeyData to allow for error states, and handles such a
state for NFC readers when a non-YubiKey is present.
2022-06-28 19:51:58 +02:00
Dain Nilsson
5fa3275ebb
Show better errors. 2022-06-13 16:47:09 +02:00
Dain Nilsson
67746ab7fe
Allow de-selecting an NFC reader to again scan for USB devices. 2022-06-07 15:13:11 +02:00
Dain Nilsson
9b2d513519
Add Python dependency licenses.
build-helper now also generates assets/licenses/helper.json which are
added to the license view.
2022-06-05 19:44:00 +02:00
Dain Nilsson
627e6bdadd
Add timestamp to log entries. 2022-06-02 09:07:17 +02:00
Dain Nilsson
92ff8b7ac1
Add OathState.version and rebuild models. 2022-06-02 09:07:15 +02:00
Dain Nilsson
579c71d910
Fix logging levels for Helper. 2022-06-02 09:07:14 +02:00
Dain Nilsson
9ed190cb53
Fix MacOS ARM helper check. 2022-06-02 09:07:10 +02:00
Dain Nilsson
bfa1a5ff93
Use helper-arm64 on ARM Mac. 2022-05-17 09:13:26 +02:00
Dain Nilsson
168429e29e
Use enhanced enums to replace enum extensions. 2022-05-12 12:05:20 +02:00
Dain Nilsson
af92068a75
Enable use_super_parameters lint rule. 2022-05-12 12:05:18 +02:00
Adam Velebil
3f2a116526
regenerate freezed 2022-05-12 11:06:28 +02:00
Dain Nilsson
0641418e34
Fix lint warnings. 2022-05-12 08:34:51 +02:00
Dain Nilsson
1c9d585b27
Merge PR #120. 2022-05-11 14:04:31 +02:00
Dain Nilsson
715229c5ac
Desktop: Add 10s to time for manually calculated codes.
This ensures the newly calculated code doesn't immediately expire when
manually triggering calculate (for require touch).
2022-05-10 12:37:58 +02:00
Adam Velebil
7561fbfe89
log error when log level is not recognized 2022-05-09 18:15:37 +02:00
Dain Nilsson
3dc699c391
Rename RPC to Yubico Authenticator Helper. 2022-05-06 15:48:52 +02:00
Dain Nilsson
977f509982
Add NFC support for set_mode. 2022-05-06 15:40:52 +02:00
Dain Nilsson
338d8773c3
Implement set_mode for YK<=4. 2022-05-06 15:40:52 +02:00
Dain Nilsson
488b1189ad
Use "standard" log level names. 2022-05-03 11:24:25 +02:00
Dain Nilsson
51a76f686d
Fix "--log-level" argument which wasn't working correctly. 2022-05-02 11:25:37 +02:00
Dain Nilsson
10f46ec478
Refactor logging and add LogWarningOverlay. 2022-05-02 11:25:34 +02:00
Dain Nilsson
9850b4ba29
Simplify the provider used to get WithContext. 2022-04-29 09:38:08 +02:00
Dain Nilsson
e71ede8f2f
Replace OATH touch Snackbar with modal prompt. 2022-04-29 09:38:05 +02:00
Dain Nilsson
0ccb67fae6
Fix scheduling of newly added OATH accounts. 2022-04-06 11:53:50 +02:00
Dain Nilsson
479b9bc9c1
Remove app placeholders. 2022-04-05 12:41:35 +02:00
Dain Nilsson
64e08f3060
Merge PR #79. 2022-04-04 15:18:00 +02:00
Dain Nilsson
52df600ebf
Code cleanups. 2022-04-04 10:24:29 +02:00
Dain Nilsson
41b239684f
Better closing of RPC when elevating. 2022-04-03 19:48:14 +02:00
Dain Nilsson
1c807dcda7
Update FIDO views for new RPC model and AppPage. 2022-04-03 11:05:37 +02:00
Dain Nilsson
70404d2029
Support spaces in path name for elevate.
- Also log stderr on failure to elevate.
2022-03-31 14:50:42 +02:00
Dain Nilsson
cabdc9effd
Add RPC elevate. 2022-03-31 12:28:56 +02:00
Dennis Fokin
e10edc3238
Merge branch 'main' into drag-n-drop 2022-03-29 14:33:55 +02:00
Dennis Fokin
af3e188fee
Smaller cleanup 2022-03-29 13:57:08 +02:00
Dain Nilsson
20d66ae924
Let Application pages control their AppBar. 2022-03-25 17:43:57 +01:00
Dain Nilsson
b75d8b998b
Prevent Scaffold from being recreated on resize. 2022-03-25 16:00:08 +01:00
Dain Nilsson
8a0896b12f
Add log buffer and --log-level argument. 2022-03-25 13:28:35 +01:00
Dain Nilsson
4e833d5037
Move initialization of app into platform initialize functions. 2022-03-25 08:36:29 +01:00
Dain Nilsson
5dad90eed7
Cleanups. 2022-03-24 13:15:37 +01:00
Dain Nilsson
37883a1427
Refactor FIDO PIN handling. 2022-03-24 12:39:49 +01:00
Dain Nilsson
6b3bd585ba
Use AsyncValue instead of custom classes. 2022-03-24 12:39:18 +01:00
Dain Nilsson
b544ff5e2a
Refactor FIDO PIN handling. 2022-03-23 17:50:49 +01:00
Dain Nilsson
57aa735e78
RPC: Handle retries with Signaller. 2022-03-23 17:50:14 +01:00
Dain Nilsson
b609ca94fa
Add fingerprint registration. 2022-03-23 09:49:20 +01:00
Dennis Fokin
1b6cec92e0
Draft for drag n dropping files 2022-03-22 15:16:52 +01:00
Dain Nilsson
bcb9d7eaca
Add list, rename, delete for fingerprints. 2022-03-22 14:25:53 +01:00
Dain Nilsson
89c868ecc6
Improve RPC device path stability.
This improves "remembering" the active YubiKey, and lets FIDO reset work
with additional keys present.
2022-03-21 10:49:16 +01:00
Dain Nilsson
69165a63c2
Add FIDO reset support. 2022-03-21 09:59:16 +01:00
Dain Nilsson
b71d17386a
Add FIDO PIN management. 2022-03-21 09:59:15 +01:00
Dain Nilsson
a864787329
Add isAdmin to RpcState. 2022-03-21 09:59:15 +01:00
Dain Nilsson
6b43fb3799
Show Windows-specific message for inaccessible FIDO keys. 2022-03-21 09:59:14 +01:00
Dain Nilsson
22a4827616
Move enums and add UsbPid. 2022-03-21 09:59:13 +01:00
Adam Velebil
eff800181c
split currentDeviceProvider to desktop and android 2022-03-21 09:34:45 +01:00
Dain Nilsson
aecd406bad
Add base for FIDO support. 2022-03-15 17:26:14 +01:00
Dain Nilsson
e57ebdf1be
Rename SubPage -> Application.
Also introduces supportedAppsProvider which can be used to limit the
supported apps per platform.
2022-03-14 11:55:17 +01:00
Dain Nilsson
beb8ebfc4d
Remove commented code. 2022-03-11 13:53:09 +01:00
Dain Nilsson
5b14a19001
Introduce "failed" state for apps. 2022-03-11 13:31:23 +01:00
Dain Nilsson
ea79f5f8ec
Improve handling of deices that are partially inaccessible. 2022-03-11 13:28:48 +01:00
Dain Nilsson
3566c7b845
Start handling devices that cannot be accessed. 2022-03-11 13:28:47 +01:00
Dain Nilsson
6d9ee9dca5
Fix update of USB descriptor. 2022-03-11 13:28:46 +01:00
Dain Nilsson
48a93c0aa1
Show if applications are enabled or not in the drawer. 2022-03-11 13:28:46 +01:00
Dain Nilsson
d42eb84d04
Add basic management screen. 2022-03-11 13:28:42 +01:00
Dain Nilsson
4f72e05844
Fix idle state. 2022-02-25 13:29:58 +01:00
Dain Nilsson
12eb2a6b6c
Fix incorrect "idle" state on startup. 2022-02-25 10:35:01 +01:00
Dain Nilsson
4efc8d969e
Don't apply window size on Linux. 2022-02-24 14:35:26 +01:00
Dain Nilsson
298157114e
Store window size in shared preferences. 2022-02-24 14:20:25 +01:00
Dain Nilsson
77142a8d1d
Keychain improvements.
* Add state for failure.
* Once failed/denied, don't ask again.
2022-02-23 12:17:06 +01:00
Dain Nilsson
c3c0d0fcde
Better logging of non-json errors. 2022-02-23 12:17:05 +01:00
Dain Nilsson
4fac11fc1d
Fix counting of devices with same PID. 2022-02-23 12:17:02 +01:00
Dain Nilsson
c048c6f137
Set minimum window width. 2022-02-23 12:07:38 +01:00
Dain Nilsson
ab2a63fd2b
Add placeholders in main drawer, move theme and logging to settings. 2022-02-22 11:15:15 +01:00
Dain Nilsson
06c348cf50
Avoid RPC getting "stuck" on responses that are not valid JSON. 2022-02-21 15:47:37 +01:00
Dain Nilsson
7082e1839b
Use SEVERE instead of WARNING for unparsable log lines. 2022-02-21 13:21:12 +01:00
Dain Nilsson
0884a92b84
Use platform-specific logging initialization. 2022-02-21 10:47:34 +01:00
Dain Nilsson
d41a300d48
Add QrScanner via provider. 2022-02-10 15:24:28 +01:00
Dain Nilsson
bfbfc51a00
Use ykman-rpc from Flutter. 2022-02-10 13:47:58 +01:00
Dain Nilsson
9eda277af9
Replace List<String> with DevicePath for device paths.
This prevents equality checks from treating devices with the same path
as different.
2022-02-08 13:44:35 +01:00
Dain Nilsson
05e82c6bec
Use RPC to remember passwords. 2022-02-08 12:34:48 +01:00
Dain Nilsson
85458f4f5a
Move desktop-specific implementation into desktop/ 2022-01-27 12:47:17 +01:00