commit c331750026515fdbff468f8fc2c5c562d61f9af6
parent 30e5f82204ae9d1020cb6c1f31446acc37d7cf36
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 2 Jun 2022 12:58:48 +0200
use 403 for invalid sigs
Diffstat:
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec
@@ -953,12 +953,12 @@ HttpStatus: 400
Value: 1855
Name: EXCHANGE_PURSE_CREATE_SIGNATURE_INVALID
Description: The purse signature over the purse meta data is invalid.
-HttpStatus: 400
+HttpStatus: 403
Value: 1856
Name: EXCHANGE_PURSE_ECONTRACT_SIGNATURE_INVALID
Description: The signature over the encrypted contract is invalid.
-HttpStatus: 400
+HttpStatus: 403
Value: 1857
Name: EXCHANGE_PURSE_CREATE_EXCHANGE_SIGNATURE_INVALID
@@ -983,12 +983,12 @@ HttpStatus: 400
Value: 1876
Name: EXCHANGE_PURSE_MERGE_INVALID_MERGE_SIGNATURE
Description: The signature using the merge key is invalid.
-HttpStatus: 400
+HttpStatus: 403
Value: 1877
Name: EXCHANGE_PURSE_MERGE_INVALID_RESERVE_SIGNATURE
Description: The signature using the reserve key is invalid.
-HttpStatus: 400
+HttpStatus: 403
Value: 1878
Name: EXCHANGE_PURSE_NOT_FULL
@@ -1003,7 +1003,7 @@ HttpStatus: 0
Value: 1880
Name: EXCHANGE_MERGE_PURSE_PARTNER_UNKNOWN
Description: The exchange of the target account is not a partner of this exchange.
-HttpStatus: 400
+HttpStatus: 404
Value: 1900