[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-anastasis] branch master updated: fixed cli
From: |
gnunet |
Subject: |
[taler-anastasis] branch master updated: fixed cli |
Date: |
Sat, 06 Jun 2020 17:53:48 +0200 |
This is an automated email from the git hooks/post-receive script.
dennis-neufeld pushed a commit to branch master
in repository anastasis.
The following commit(s) were added to refs/heads/master by this push:
new a36eedb fixed cli
a36eedb is described below
commit a36eedbec50086137dfc8068d170d0dca272ad69
Author: Dennis Neufeld <dennis.neufeld@students.bfh.ch>
AuthorDate: Sat Jun 6 15:53:45 2020 +0000
fixed cli
---
doc/thesis/client_architecture.tex | 60 ++++++++++++++++++++------------------
1 file changed, 31 insertions(+), 29 deletions(-)
diff --git a/doc/thesis/client_architecture.tex
b/doc/thesis/client_architecture.tex
index 986ced6..f7ee262 100644
--- a/doc/thesis/client_architecture.tex
+++ b/doc/thesis/client_architecture.tex
@@ -246,44 +246,46 @@ Below is an example flow of the application. \\
//The user starts the programm and passes a json document
//containing the unforgetable secret(name, social security number..)
$ anastasis-splitter --me=identity.json
-splitter> server add $URL1
-OUTPUT: protocol compatibility, high-level terms,
+anastasis-splitter> server add $URL1
+version: 1.0
+annual fee: EUR:4.99,
available policy methods: sms
-=> Server #1 available
-splitter> server add $URL2
-OUTPUT: protocol compatibility, high-level terms,
+Server #1 available
+anastasis-splitter> server add $URL2
+version: 1.0
+annual fee: EUR:3.99,
available policy methods: sms, question
-=> Server #2 available
-splitter> truth add server#1 sms +492452526
-=> Truth #1 added for server #1
-splitter> truth add server#2 mail "hoehenweg 80, Biel"
-=> Sorry, server #2 does not support 'mail'
-splitter> truth add question "favorite color" "red"
-=> Truth #2 added
-splitter> policy add truth#1 truth#2
-=> Policy #1 defined
-splitter> policy
+Server #2 available
+anastasis-splitter> truth add server#1 sms +492452526
+Truth #1 added for server #1
+anastasis-splitter> truth add server#2 mail "hoehenweg 80, Biel"
+Sorry, server #2 does not support 'mail'
+anastasis-splitter> truth add question "favorite color" "red"
+Truth #2 added
+anastasis-splitter> policy add truth#1 truth#2
+Policy #1 defined
+anastasis-splitter> policy
Policy#1: #truth#1 #truth2
-splitter> truth
+anastasis-splitter> truth
truth#1: server#1 sms +492452526
truth#2: server#2 question "favorite color" <OMITTED>
-splitter> truth --secrets
+anastasis-splitter> truth --secrets
truth#1: sms +492452526
truth#2: question "favorite color" "red"
-splitter> server
+anastasis-splitter> server
server#1: http://anastasis.example.com/ methods: sms,
insured up to: 420 KUDOS, cost: 0.4 KUDOS
-splitter> publish
+anastasis-splitter> publish
Server#1 failure: 402 payment required:
payto://pay/ABALSASDFA KUDOS:0.3
Server#2 failure: 402 payment required:
payto://pay/ABALSAADAS KUDOS:0.5
Total: 0.8 KUDOS
# Here: taler-wallet-cli payto://pay/ABALASDFA used to pay!
-splitter> publish
+anastasis-splitter> publish
Server#2 failure: 402 payment required
# Here: taler-wallet-cli payto://pay/ABASDFASDF used to pay!
-splitter> publish "my super secret"
+anastasis-splitter> publish "my super secret"
Thank you for using Anastasis.
$
\end{lstlisting}
@@ -307,28 +309,28 @@ Below is an example flow of the application. \\
//download the recovery document within the startup
$ anastasis-assembler --import https://anastasis.example.com/
--policy-version=42 --me=identity.json
-assembler> truth
+anastasis-assembler> truth
truth#1(-): KUDOS 0.0 question "favorite color"
truth#2(-): KUDOS 0.4 sms
truth#3(-): KUDOS 2.6 post
-assembler> policies
+anastasis-assembler> policies
policy#1: KUDOS 0.4 truth#1 truth#2 missing
policy#2: KUDOS 3.0 truth#1 truth#2 truth#3 missing
-assembler> try truth#2
+anastasis-assembler> try truth#2
payto://pay/BASDFASD
# SMS arrives asynchronously
-assembler> answer truth#2 1234
+anastasis-assembler> answer truth#2 1234
Success truth#2
-assembler> answer truth#1 "blue"
+anastasis-assembler> answer truth#1 "blue"
Failed truth#1
-assembler> truth
+anastasis-assembler> truth
truth#1(-): KUDOS 0.0 question "favorite color"
truth#2(+): KUDOS 0.4 sms
truth#3(-): KUDOS 2.6 post
-assembler> policies
+anastasis-assembler> policies
policy#1: KUDOS 0.0 truth#1 missing
policy#2: KUDOS 2.6 truth#1 truth#3 missing
-assembler> answer truth#2 "red"
+anastasis-assembler> answer truth#2 "red"
Success truth#2
//One of the policies was solved successfully and the secret is recovered.
Secret was: "my super secret"
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-anastasis] branch master updated: fixed cli,
gnunet <=