From 7b730e4d0a747974e93fedc6ce4ea06c80b67b6c Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 29 Sep 2014 16:43:51 +0200 Subject: Change data type of auth challenge from string to byte array, add message verifier that will use private/public keypair directly --- src/main/thrift/imagemaster.thrift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main/thrift') 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), -- cgit v1.2.3-55-g7522