-
-
Notifications
You must be signed in to change notification settings - Fork 385
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for importing from the new Google Authenticator export QR…
… codes
- Loading branch information
1 parent
6b650e7
commit 66f17d4
Showing
8 changed files
with
224 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
syntax = "proto3"; | ||
|
||
option java_package = "com.beemdevelopment.aegis"; | ||
option java_outer_classname = "GoogleAuthProtos"; | ||
|
||
message MigrationPayload { | ||
enum Algorithm { | ||
ALGO_INVALID = 0; | ||
ALGO_SHA1 = 1; | ||
} | ||
|
||
enum OtpType { | ||
OTP_INVALID = 0; | ||
OTP_HOTP = 1; | ||
OTP_TOTP = 2; | ||
} | ||
|
||
message OtpParameters { | ||
bytes secret = 1; | ||
string name = 2; | ||
string issuer = 3; | ||
Algorithm algorithm = 4; | ||
int32 digits = 5; | ||
OtpType type = 6; | ||
int64 counter = 7; | ||
} | ||
|
||
repeated OtpParameters otp_parameters = 1; | ||
int32 version = 2; | ||
int32 batch_size = 3; | ||
int32 batch_index = 4; | ||
int32 batch_id = 5; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#Sun Sep 01 21:12:20 CEST 2019 | ||
#Fri May 08 13:48:01 GMT 2020 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip |