From 9516440e54e88fd0b32f54e91245a7b2a025c583 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 26 Jun 2019 13:11:49 +0200 Subject: sync link protocol with thesis version --- api-exchange.rst | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/api-exchange.rst b/api-exchange.rst index 9a3412a0..b906d339 100644 --- a/api-exchange.rst +++ b/api-exchange.rst @@ -877,8 +877,7 @@ the API during normal operation. // The original commitment, used to match the /refresh/reveal // to the corresponding /refresh/melt operation. - rc: TALER_RefreshCommitmentP; - + rc: HashCode; } @@ -904,7 +903,7 @@ the API during normal operation. code: integer; // Commitment as calculated by the exchange from the revealed data. - rc_expected: TALER_RefreshCommitmentP; + rc_expected: HashCode; } @@ -951,6 +950,13 @@ the API during normal operation. // Exchange's blinded signature over the exchangeed coin. ev_sig: BlindedRsaSignature; + + // Blinded coin, to be verified by the wallet to protect against + // a malicious exchange. + coin_ev: CoinEnvelope; + + // Signature made by the old coin over the refresh request. + link_sig: EddsaSignature; } -- cgit v1.2.3