[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sandcastle-ng] branch master updated: fix aml config
From: |
gnunet |
Subject: |
[sandcastle-ng] branch master updated: fix aml config |
Date: |
Tue, 21 Jan 2025 20:24:05 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository sandcastle-ng.
The following commit(s) were added to refs/heads/master by this push:
new a4b00b0 fix aml config
a4b00b0 is described below
commit a4b00b00b36e29a75195e02cab3335b5c764fc43
Author: Florian Dold <florian@dold.me>
AuthorDate: Tue Jan 21 20:23:59 2025 +0100
fix aml config
---
data/sandcastle-amp-email | 6 +++++-
data/sandcastle-amp-form | 6 +++++-
scripts/demo/setup-sandcastle.sh | 19 +++++++++++++++----
3 files changed, 25 insertions(+), 6 deletions(-)
diff --git a/data/sandcastle-amp-email b/data/sandcastle-amp-email
index c8a58ee..2db9439 100755
--- a/data/sandcastle-amp-email
+++ b/data/sandcastle-amp-email
@@ -29,7 +29,7 @@ function exit_fail() {
CONF="$HOME/.config/taler.conf"
VERBOSE=0
-while getopts 'ac:hrvV' OPTION;
+while getopts 'aic:hrvV' OPTION;
do
case "$OPTION" in
a)
@@ -56,6 +56,10 @@ do
# No context is required.
exit 0
;;
+ i)
+ echo attributes
+ exit 0
+ ;;
v)
echo "$0 v0.0.0"
exit 0
diff --git a/data/sandcastle-amp-form b/data/sandcastle-amp-form
index c027f8b..efd66c8 100755
--- a/data/sandcastle-amp-form
+++ b/data/sandcastle-amp-form
@@ -29,9 +29,13 @@ function exit_fail() {
CONF="$HOME/.config/taler.conf"
VERBOSE=0
-while getopts 'ac:hrvV' OPTION;
+while getopts 'aic:hrvV' OPTION;
do
case "$OPTION" in
+ i)
+ echo attributes
+ exit 0
+ ;;
a)
# This AML program expects as inputs a full_name
# and a birthdate.
diff --git a/scripts/demo/setup-sandcastle.sh b/scripts/demo/setup-sandcastle.sh
index 8919388..2c1f87f 100755
--- a/scripts/demo/setup-sandcastle.sh
+++ b/scripts/demo/setup-sandcastle.sh
@@ -533,32 +533,43 @@ PROGRAM = p1
COMMAND = /data/sandcastle-amp-form
ENABLED = true
DESCRIPTION = test p1
-FALLBACK = m1
+FALLBACK = freeze
[kyc-check-c1]
TYPE = FORM
FORM_NAME = name_and_dob
DESCRIPTION = name and date of birth
OUTPUTS = full_name birthdate
-FALLBACK = m1
+FALLBACK = freeze
[kyc-measure-m2]
CHECK_NAME = c2
CONTEXT = {}
PROGRAM = p2
+[kyc-measure-freeze]
+CHECK_NAME = SKIP
+CONTEXT = {}
+PROGRAM = freeze
+
+[aml-program-freeze]
+COMMAND = taler-exchange-helper-measure-freeze
+ENABLED = true
+DESCRIPTION = freeze all operations on the account
+FALLBACK = freeze
+
[aml-program-p2]
COMMAND = /data/sandcastle-amp-email
ENABLED = true
DESCRIPTION = check for validated email address in attributes
-FALLBACK = m2
+FALLBACK = freeze
[kyc-check-c2]
TYPE = LINK
PROVIDER_ID = mychallenger
DESCRIPTION = email verification via challenger
OUTPUTS = email
-FALLBACK = m1
+FALLBACK = freeze
[kyc-provider-mychallenger]
LOGIC = oauth2
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [sandcastle-ng] branch master updated: fix aml config,
gnunet <=