summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-09-09 16:25:35 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2019-09-09 16:25:35 +0200
commit64f6f54aa5de5c7733893e16741a9aa3d4807534 (patch)
treea52a30a2fe913393bc2c2bea1bfcc81da61f0757
parent83cbcc9db600eef6cbbeb6f93c984851ec6efbe8 (diff)
downloaddeployment-64f6f54aa5de5c7733893e16741a9aa3d4807534.tar.gz
deployment-64f6f54aa5de5c7733893e16741a9aa3d4807534.tar.bz2
deployment-64f6f54aa5de5c7733893e16741a9aa3d4807534.zip
making the prepare script
-rwxr-xr-xbin/taler-deployment-prepare35
-rw-r--r--doc/gls.txt73
-rwxr-xr-xmeta-bootstrap26
3 files changed, 35 insertions, 99 deletions
diff --git a/bin/taler-deployment-prepare b/bin/taler-deployment-prepare
new file mode 100755
index 0000000..6198eaa
--- /dev/null
+++ b/bin/taler-deployment-prepare
@@ -0,0 +1,35 @@
+#!/bin/bash
+
+set -eu
+
+usage() {
+ echo "Usage: $0 ENVNAME"
+}
+
+if [ -z ${1+x} ]; then
+ usage
+ exit 1
+fi
+
+./bootstrap-taler $1
+
+source $HOME/activate
+
+taler-deployment-build
+echo "All Taler built."
+
+taler-deployment-generate-config
+echo "Configuration got generated."
+
+if test "demo" = $1; then
+ echo "Please set up manually the shared data between demo-blue/green"
+ exit 0
+fi
+
+taler-deployment-keyup
+echo "Keys generated."
+
+taler-deployment-sign
+echo "/wire response signed."
+
+echo "All services can be launched with taler-deployment-start now."
diff --git a/doc/gls.txt b/doc/gls.txt
deleted file mode 100644
index 58e9c55..0000000
--- a/doc/gls.txt
+++ /dev/null
@@ -1,73 +0,0 @@
-Abstract:
-
- this text has instructions about how to get Aqbanking to
- function against the GLS bank, and is *not* complete.
-
-https://vrkennung.de/fintshbci-allgemein/
-
-### ---- key based access. Extracted from https://www.aquamaniac.de/sites/download/download.php?package=09&release=09&file=01&dummy=aqbanking4-handbook-20091231.pdf
-
-# 1 Create local keys _container_ (so no keys are created yet).
-$ gct-tool create -t ohbci -n output.medium
-
-# 2 Create user associated with local keys. (From now on, ${UNIQUEID} points to this fresh user)
-$ aqhbci-tool4 adduser -s 'https://hbci.gad.de' -u VRK588XXXX -c VRK588XXX -N 67264051XXX -b 43060967 -t ohbci --context=1 --rdhtype=0 --hbciversion=300 -n output.medium
-
-# 3 Get keys (sign & crypt) from the bank. Didn't work.
-$ aqhbci-tool4 getkeys --user=${UNIQUEID}
-
-# 4 Show local (container) and bank's keys. No warnings reported, but neither keys hashcodes.
-$ gct-tool showkey -t ohbci -n output.medium
-
-# 5 Actually create keys now. Worked.
-$ aqhbci-tool4 createkeys --user=${USER}
-
-# 6 Send keys to the bank. Didn't work (I suspect the URL associate with the user is not right).
-$ aqhbci-tool4 sendkeys --user=${USER}
-
-# 7 Last, generate letter. Worked.
-$ aqhbci-tool4 iniletter --user=${USER} > ini.txt
-
-# 8 Pen-sign the letter and send via snail mail to the bank.
-
-============== mobile TAN method below; could not get it to work.
-
-# Add a user in the system. The user has a bank and a customer id,
-# but is _not_ active yet (see commands below).
-$ aqhbci-tool4 adduser -s 'https://hbci-pintan.gad.de/cgi-bin/hbciservlet' -u VRK588XXX -c VRK588XXX -N 6726405XXX -b 43060967 -t pintan --context=1
-
-# Then get the "sysid".
-$ aqhbci-tool4 getsysid --user=U
-
-# Finally, give the following command to "unlock" the user.
-$ aqhbci-tool4 getitanmodes --user=U
-
-# If the three commands above all worked out, then balance
-# and transactions list should be available. Try this with
-# the following commands.
-
-$ aqbanking-cli request --balance
-
-# and
-
-$ aqbanking-cli request --transactions
-
-# At this point, we need to workaround the lack of a BIC code
-# in the configuration, in order to be able to get the PIN by
-# phone. Say the BIC is BANKBIC, edit the following file adding
-# a 'bic=BANKBIC' line next to the other details in the upper part
-# of the file:
-
-~/.aqbanking/settings6/accounts/<unique-user-id>.conf
-
-# If the previous step worked, then issue a SEPA transfer with:
-
-$ aqbanking-cli sepatransfer --aid=<bank-account-id> --riban='DEXXX' --value="1,00:EUR" --rbic="REMOBIC" --rname="Remote Owner Name" --purpose="Test transfer 2" --name="Issuer Name" -E "Test 222"
-
-# NOTE: <bank-account-id> is the id number that Aqbanking gives
-# to bank accounts (not users!). It can be seen by the following
-# command:
-
-$ aqbanking-cli listaccs
-
-# <bank-account-id> is now found in the second to last field.
diff --git a/meta-bootstrap b/meta-bootstrap
deleted file mode 100755
index c08f0d6..0000000
--- a/meta-bootstrap
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/bash
-
-set -eu
-
-usage() {
- echo "Usage: $0 ENVNAME"
-}
-
-if [ -z ${1+x} ]; then
- usage
- exit 1
-fi
-
-./bootstrap-taler $1
-
-source $HOME/activate
-
-taler-deployment-build
-
-taler-deployment-generate-config
-
-taler-deployment-keyup
-
-taler-deployment-sign
-
-echo "Note: launch all the services with taler-deployment-start"