diff options
author | Simon Rettberg | 2014-09-29 16:43:51 +0200 |
---|---|---|
committer | Simon Rettberg | 2014-09-29 16:43:51 +0200 |
commit | 7b730e4d0a747974e93fedc6ce4ea06c80b67b6c (patch) | |
tree | 0b955ab9f169aaca93ac6731d5d1f9c038a89ab3 /src/main/thrift | |
parent | adapted to changes in CrcFile. (diff) | |
download | master-sync-shared-7b730e4d0a747974e93fedc6ce4ea06c80b67b6c.tar.gz master-sync-shared-7b730e4d0a747974e93fedc6ce4ea06c80b67b6c.tar.xz master-sync-shared-7b730e4d0a747974e93fedc6ce4ea06c80b67b6c.zip |
Change data type of auth challenge from string to byte array, add message verifier that will use private/public keypair directly
Diffstat (limited to 'src/main/thrift')
-rw-r--r-- | src/main/thrift/imagemaster.thrift | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/thrift/imagemaster.thrift b/src/main/thrift/imagemaster.thrift index b03cb0e..c6bd3cb 100644 --- a/src/main/thrift/imagemaster.thrift +++ b/src/main/thrift/imagemaster.thrift @@ -27,6 +27,7 @@ enum ServerAuthenticationError { GENERIC_ERROR, INVALID_ORGANIZATION, INVALID_KEY, + CHALLENGE_FAILED, BANNED_NETWORK } @@ -127,7 +128,7 @@ service ImageServer { UserInfo getUserFromToken(1:Token token) throws (1:InvalidTokenException failure), - string startServerAuthentication(1:string organization) throws (1: ServerAuthenticationException failure), + binary startServerAuthentication(1:string organization) throws (1: ServerAuthenticationException failure), bool isServerAuthenticated(1:string serverSessionId), |