48 Commits

Author SHA1 Message Date
4f9e8e084a Update launchSettings.json 2021-06-10 19:43:15 +02:00
01a54f32af Hide token in client app 2021-06-08 22:54:40 +02:00
8b8447649a Implement Client 2021-06-08 22:31:13 +02:00
c11911c4a7 Fix ApplicationsManager
Missing return
2021-06-08 22:30:23 +02:00
eb5849c16d Add log to gRPC api 2021-06-07 20:16:27 +02:00
08a954f836 Move Protos to Shared library 2021-06-07 20:11:44 +02:00
c37e8d3fb4 Initial client version 2021-06-07 19:49:49 +02:00
1d6c8de71b Add AkariApi gRPC service 2021-06-07 19:49:35 +02:00
adbee34498 Change stackalloc size in Security 2021-06-07 19:49:06 +02:00
0f88e82e28 Make VerifyToken public in IApplicationsManager 2021-06-07 19:48:43 +02:00
3658bdcba0 Add AddFingerprintToApplicationCommand 2021-06-07 18:38:23 +02:00
4d51d4f00e Udpate MasterCommands 2021-06-07 18:37:59 +02:00
1ec090eca4 Add TestFingerprintCommand 2021-06-07 18:37:45 +02:00
35c1665950 Add a check for ApplicationsManager 2021-06-07 18:37:16 +02:00
bd191b113a Add IApplicationManager.IsFingerprintRegistered 2021-06-07 17:38:06 +02:00
c50477bbd3 Fix ApplicationCommands 2021-06-07 16:13:35 +02:00
a3349e23c9 Fix IKeyManager
Now correctly delete key folder while avoiding issues
2021-06-07 16:12:20 +02:00
8027229a7f Add MasterCommands 2021-06-07 15:42:59 +02:00
5893d86e13 Update CliUtils 2021-06-07 15:42:45 +02:00
ee9bc9ad33 Update IMasterKeyService
Use an explicit property instead of a method for CheckConfig
2021-06-07 15:39:59 +02:00
76c9bd06af Add missing AddSingleton 2021-06-07 15:04:23 +02:00
878d26653c Add ApplicationCommands 2021-06-07 01:45:39 +02:00
bee5ac6f9e Add sealed services
Also fix a missing IDisposable
2021-06-07 01:45:28 +02:00
f539455e10 Implement IKeyManager 2021-06-07 01:44:47 +02:00
efbac54600 Add IMasterKeyService 2021-06-06 20:06:04 +02:00
7a1f2946fc Add IApplicationManager 2021-06-05 21:36:01 +02:00
f08f3cf71f Remove unused property 2021-06-05 17:36:04 +02:00
d7691e414b Use random salt for each fingerprint key
Salt length depended on fingerprint name length, which lead to weak salts in some cases
It's now a fixed length (12 bytes)
2021-06-05 12:20:14 +02:00
3b1755b793 Fix Base64 parse 2021-06-05 11:44:58 +02:00
2af811873b Fix AddFingerprintCommand 2021-06-05 11:34:59 +02:00
933d123d44 Update commands registration
Now use reflection to load all commands directly into the DI container
2021-06-05 11:02:33 +02:00
b040f5b0b2 Move Extensions methods 2021-06-05 10:59:06 +02:00
b08bb91493 Add AddFingerprintCommand 2021-06-05 10:48:43 +02:00
f6794a09a3 Update Security methods 2021-06-05 10:48:33 +02:00
187c320704 Update IFingerprintManager 2021-06-05 10:47:11 +02:00
5e303c39f2 Add RemoveFingerprintCommand 2021-06-04 23:26:22 +02:00
90afa7fe3b Add FingerprintCommand 2021-06-04 20:41:14 +02:00
6b6325eeaf Add DI support to CliFx 2021-06-04 20:41:04 +02:00
de2cfdb632 Add Spectre.Console support 2021-06-04 20:39:41 +02:00
97fe70085e Update IFingerprintManager
Add FingerprintsHash to get registered fingerprints
2021-06-04 20:22:04 +02:00
60a8c29fdd Add CliFx support 2021-06-04 19:06:13 +02:00
a554706903 Add AuthManager.Remove 2021-06-04 18:45:38 +02:00
f053cd508e Update IAuthManager 2021-06-04 18:34:24 +02:00
d02d738ba4 Update .gitignore 2021-06-04 18:33:01 +02:00
2b81f3e5ba Add AuthLifetimeService
Refactor AuthManager
2021-06-04 18:32:47 +02:00
adcde19346 Add FingerprintManager 2021-06-03 20:19:42 +02:00
1c6b545e6b Add Argon2 dependency 2021-06-03 18:51:31 +02:00
370e41abab Initial Commit 2021-06-03 14:48:02 +02:00