diff options
author | priscilla <priscilla.huang@efrei.net> | 2023-01-31 07:20:39 -0500 |
---|---|---|
committer | priscilla <priscilla.huang@efrei.net> | 2023-01-31 07:20:39 -0500 |
commit | 6503b13591e9ffd0600532302c06836e2ac89326 (patch) | |
tree | 8eacb282f4763ed70b7260bbf8588113f470a36b | |
parent | d41966023eb25d26604a9f0d01eda382240c0d79 (diff) | |
parent | b309c93f859f68124f76cef03b35b0143b8331cb (diff) | |
download | gana-6503b13591e9ffd0600532302c06836e2ac89326.tar.gz gana-6503b13591e9ffd0600532302c06836e2ac89326.zip |
Merge branch 'master' of git+ssh://git.gnunet.org/gana
-rwxr-xr-x | format.sh | 3 | ||||
-rw-r--r-- | gnu-taler-error-codes/registry.rec | 53 | ||||
-rw-r--r-- | gnunet-signatures/registry.rec | 10 |
3 files changed, 65 insertions, 1 deletions
@@ -12,7 +12,8 @@ | |||
12 | ## | 12 | ## |
13 | me=$(basename $0) | 13 | me=$(basename $0) |
14 | 14 | ||
15 | version='1.3' | 15 | version='1.4' |
16 | # 1.4 -- create $TMPDIR if it does not exist | ||
16 | # 1.3 -- add support for optional arg SELEXP | 17 | # 1.3 -- add support for optional arg SELEXP |
17 | # 1.2 -- add check for required arg TEMPLATE | 18 | # 1.2 -- add check for required arg TEMPLATE |
18 | # 1.1 -- add --help/--version support | 19 | # 1.1 -- add --help/--version support |
diff --git a/gnu-taler-error-codes/registry.rec b/gnu-taler-error-codes/registry.rec index dd8c7b8..0fa6d30 100644 --- a/gnu-taler-error-codes/registry.rec +++ b/gnu-taler-error-codes/registry.rec | |||
@@ -393,6 +393,17 @@ Name: EXCHANGE_GENERIC_PURSE_DELETED | |||
393 | Description: The purse was deleted. | 393 | Description: The purse was deleted. |
394 | HttpStatus: 410 | 394 | HttpStatus: 410 |
395 | 395 | ||
396 | Value: 1032 | ||
397 | Name: EXCHANGE_GENERIC_AML_OFFICER_PUB_MALFORMED | ||
398 | Description: The public key of the AML officer in the URL was malformed. | ||
399 | HttpStatus: 400 | ||
400 | |||
401 | Value: 1033 | ||
402 | Name: EXCHANGE_GENERIC_AML_OFFICER_GET_SIGNATURE_INVALID | ||
403 | Description: The signature affirming the GET request of the AML officer is invalid. | ||
404 | HttpStatus: 403 | ||
405 | |||
406 | |||
396 | Value: 1100 | 407 | Value: 1100 |
397 | Name: EXCHANGE_DEPOSITS_GET_NOT_FOUND | 408 | Name: EXCHANGE_DEPOSITS_GET_NOT_FOUND |
398 | Description: The exchange did not find information about the specified transaction in the database. | 409 | Description: The exchange did not find information about the specified transaction in the database. |
@@ -438,6 +449,10 @@ Name: EXCHANGE_WITHDRAW_INSUFFICIENT_FUNDS | |||
438 | Description: The given reserve does not have sufficient funds to admit the requested withdraw operation at this time. The response includes the current "balance" of the reserve as well as the transaction "history" that lead to this balance. | 449 | Description: The given reserve does not have sufficient funds to admit the requested withdraw operation at this time. The response includes the current "balance" of the reserve as well as the transaction "history" that lead to this balance. |
439 | HttpStatus: 409 | 450 | HttpStatus: 409 |
440 | 451 | ||
452 | Value: 1151 | ||
453 | Name: EXCHANGE_AGE_WITHDRAW_INSUFFICIENT_FUNDS | ||
454 | Description: The given reserve does not have sufficient funds to admit the requested age-withdraw operation at this time. The response includes the current "balance" of the reserve as well as the transaction "history" that lead to this balance. | ||
455 | HttpStatus: 409 | ||
441 | 456 | ||
442 | Value: 1152 | 457 | Value: 1152 |
443 | Name: EXCHANGE_WITHDRAW_AMOUNT_FEE_OVERFLOW | 458 | Name: EXCHANGE_WITHDRAW_AMOUNT_FEE_OVERFLOW |
@@ -1012,6 +1027,34 @@ Name: EXCHANGE_MANAGEMENT_DRAIN_PROFITS_SIGNATURE_INVALID | |||
1012 | Description: The signature affirming the profit drain is invalid. | 1027 | Description: The signature affirming the profit drain is invalid. |
1013 | HttpStatus: 403 | 1028 | HttpStatus: 403 |
1014 | 1029 | ||
1030 | Value: 1825 | ||
1031 | Name: EXCHANGE_AML_DECISION_ADD_SIGNATURE_INVALID | ||
1032 | Description: The signature affirming the AML decision is invalid. | ||
1033 | HttpStatus: 403 | ||
1034 | |||
1035 | Value: 1826 | ||
1036 | Name: EXCHANGE_AML_DECISION_INVALID_OFFICER | ||
1037 | Description: The AML officer specified is not allowed to make AML decisions right now. | ||
1038 | HttpStatus: 403 | ||
1039 | |||
1040 | Value: 1827 | ||
1041 | Name: EXCHANGE_AML_DECISION_MORE_RECENT_PRESENT | ||
1042 | Description: There is a more recent AML decision on file. The decision was rejected as timestamps of AML decisions must be monotonically increasing. | ||
1043 | HttpStatus: 409 | ||
1044 | |||
1045 | Value: 1830 | ||
1046 | Name: EXCHANGE_MANAGEMENT_UPDATE_AML_OFFICER_SIGNATURE_INVALID | ||
1047 | Description: The signature affirming the change in the AML officer status is invalid. | ||
1048 | HttpStatus: 403 | ||
1049 | |||
1050 | Value: 1831 | ||
1051 | Name: EXCHANGE_MANAGEMENT_AML_OFFICERS_MORE_RECENT_PRESENT | ||
1052 | Description: A more recent decision about the AML officer status is known to the exchange. | ||
1053 | HttpStatus: 409 | ||
1054 | |||
1055 | |||
1056 | |||
1057 | |||
1015 | Value: 1850 | 1058 | Value: 1850 |
1016 | Name: EXCHANGE_PURSE_CREATE_CONFLICTING_META_DATA | 1059 | Name: EXCHANGE_PURSE_CREATE_CONFLICTING_META_DATA |
1017 | Description: The purse was previously created with different meta data. | 1060 | Description: The purse was previously created with different meta data. |
@@ -1092,6 +1135,16 @@ Name: EXCHANGE_MERGE_PURSE_PARTNER_UNKNOWN | |||
1092 | Description: The exchange of the target account is not a partner of this exchange. | 1135 | Description: The exchange of the target account is not a partner of this exchange. |
1093 | HttpStatus: 404 | 1136 | HttpStatus: 404 |
1094 | 1137 | ||
1138 | Value: 1890 | ||
1139 | Name: EXCHANGE_MANAGEMENT_ADD_PARTNER_SIGNATURE_INVALID | ||
1140 | Description: The signature affirming the new partner is invalid. | ||
1141 | HttpStatus: 403 | ||
1142 | |||
1143 | Value: 1891 | ||
1144 | Name: EXCHANGE_MANAGEMENT_ADD_PARTNER_DATA_CONFLICT | ||
1145 | Description: Conflicting data for the partner already exists with the exchange. | ||
1146 | HttpStatus: 409 | ||
1147 | |||
1095 | 1148 | ||
1096 | Value: 1900 | 1149 | Value: 1900 |
1097 | Name: EXCHANGE_AUDITORS_AUDITOR_SIGNATURE_INVALID | 1150 | Name: EXCHANGE_AUDITORS_AUDITOR_SIGNATURE_INVALID |
diff --git a/gnunet-signatures/registry.rec b/gnunet-signatures/registry.rec index 086544d..03691e9 100644 --- a/gnunet-signatures/registry.rec +++ b/gnunet-signatures/registry.rec | |||
@@ -395,6 +395,11 @@ Name: EXCHANGE_CONFIRM_PURSE_REFUND | |||
395 | Comment: Signature by which the exchange confirms that a purse expired and a coin was refunded. | 395 | Comment: Signature by which the exchange confirms that a purse expired and a coin was refunded. |
396 | Package: GNU Taler | 396 | Package: GNU Taler |
397 | 397 | ||
398 | Number: 1050 | ||
399 | Name: EXCHANGE_CONFIRM_AGE_WITHDRAW | ||
400 | Comment: Signature where the Exchange confirms an age-withdraw. | ||
401 | Package: GNU Taler | ||
402 | |||
398 | # | 403 | # |
399 | # Auditor signatures | 404 | # Auditor signatures |
400 | # | 405 | # |
@@ -542,6 +547,11 @@ Name: WALLET_PURSE_DELETE | |||
542 | Comment: Signature by which a wallet requests a purse to be deleted. | 547 | Comment: Signature by which a wallet requests a purse to be deleted. |
543 | Package: GNU Taler | 548 | Package: GNU Taler |
544 | 549 | ||
550 | Number: 1221 | ||
551 | Name: WALLET_RESERVE_AGE_WITHDRAW | ||
552 | Comment: Signature where the reserve key confirms an age-withdraw request. Signed with the reserve private key. | ||
553 | Package: GNU Taler | ||
554 | |||
545 | # | 555 | # |
546 | # Security module signatures | 556 | # Security module signatures |
547 | # | 557 | # |