gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-docs] branch master updated (acb799f -> 4dfa86c)


From: gnunet
Subject: [taler-docs] branch master updated (acb799f -> 4dfa86c)
Date: Fri, 06 Nov 2020 18:03:25 +0100

This is an automated email from the git hooks/post-receive script.

dennis-neufeld pushed a change to branch master
in repository docs.

    from acb799f  new, simplified backup proposal
     new 9feb9cf  restructured reducer documentation
     new 4abc8b4  modified reducer illustrations
     new 4dfa86c  modified reducer documentation

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 anastasis.rst                     | 562 +++++++++++++++++++++++++++++++++-----
 anastasis_reducer_backup.drawio   |   2 +-
 anastasis_reducer_backup.png      | Bin 456110 -> 457361 bytes
 anastasis_reducer_recovery.drawio |   2 +-
 anastasis_reducer_recovery.png    | Bin 382200 -> 384322 bytes
 5 files changed, 501 insertions(+), 65 deletions(-)

diff --git a/anastasis.rst b/anastasis.rst
index c312a04..e9f63e4 100644
--- a/anastasis.rst
+++ b/anastasis.rst
@@ -899,7 +899,59 @@ Backup Reducer
 
 The illustration above shows the different states the reducer can have during 
a backup
 process.
-In the following, the individual transitions in the backup process will be 
specified in more detail.
+
+
+Recovery Reducer
+^^^^^^^^^^^^^^^^
+.. figure:: anastasis_reducer_recovery.png
+    :name: fig-anastasis_reducer_recovery
+    :alt: fig-anastasis_reducer_recovery
+    :scale: 35 %
+    :align: center
+
+    Recovery states and their transitions.
+
+
+The illustration above shows the different states the reducer can have during 
a recovery
+process.
+
+
+Reducer transitions
+^^^^^^^^^^^^^^^^^^^
+In the following, the individual transitions will be specified in more detail.
+
+
+Initial state
+"""""""""""""
+
+The initial states for backup and recovery processes are looking like 
following:
+
+**Initial backup state:**
+::
+
+    {
+      "backup_state": "CONTINENT_SELECTING",
+      "continents": [
+        "Europe",
+        "North_America"
+      ]
+    }
+
+
+**Initial backup state:**
+::
+
+    {
+      "recovery_state": "CONTINENT_SELECTING",
+      "continents": [
+        "Europe",
+        "North_America"
+      ]
+    }
+
+
+Common transitions
+""""""""""""""""""
 
 **select_continent:**
 
@@ -910,6 +962,46 @@ Arguments (example):
       "continent": "Europe"
     }
 
+Expected new state:
+::
+
+    {
+      "backup_state": "COUNTRY_SELECTING",
+      "continents": [
+        "Europe",
+        "North_America"
+      ],
+      "selected_continent": "Europe",
+      "countries": [
+        {
+          "code": "ch",
+          "name": "Switzerland",
+          "continent": "Europe",
+          "name_i18n": {
+            "de_DE": "Schweiz",
+            "de_CH": "Schwiiz",
+            "fr": "Suisse",
+            "en": "Swiss"
+          },
+          "currency": "CHF"
+        },
+        {
+          "code": "de",
+          "name": "Germany",
+          "continent": "Europe",
+          "continent_i18n": {
+            "de": "Europa"
+          },
+          "name_i18n": {
+            "de_DE": "Deutschland",
+            "de_CH": "Deutschland",
+            "fr": "Allemagne",
+            "en": "Germany"
+          },
+          "currency": "EUR"
+        }
+      ]
+    }
 
 **select_country:**
 
@@ -922,6 +1014,131 @@ Arguments (example):
       "currency": "EUR"
     }
 
+Expected new state:
+::
+
+    {
+      "backup_state": "USER_ATTRIBUTES_COLLECTING",
+      "continents": [
+        "Europe",
+        "North_America"
+      ],
+      "selected_continent": "Europe",
+      "countries": [
+        {
+          "code": "ch",
+          "name": "Switzerland",
+          "continent": "Europe",
+          "name_i18n": {
+            "de_DE": "Schweiz",
+            "de_CH": "Schwiiz",
+            "fr": "Suisse",
+            "en": "Swiss"
+          },
+          "currency": "CHF"
+        },
+        {
+          "code": "de",
+          "name": "Germany",
+          "continent": "Europe",
+          "continent_i18n": {
+            "de": "Europa"
+          },
+          "name_i18n": {
+            "de_DE": "Deutschland",
+            "de_CH": "Deutschland",
+            "fr": "Allemagne",
+            "en": "Germany"
+          },
+          "currency": "EUR"
+        }
+      ],
+      "selected_country": "de",
+      "currency": "EUR",
+      "required_attributes": [
+        {
+          "type": "string",
+          "name": "full_name",
+          "label": "Full name",
+          "label_i18n": {
+            "de_DE": "Vollstaendiger Name",
+            "de_CH": "Vollstaendiger Name",
+            "fr": "Nom complet",
+            "en": "Full name"
+          },
+          "widget": "anastasis_gtk_ia_full_name"
+        },
+        {
+          "type": "date",
+          "name": "birthdate",
+          "label": "Birthdate",
+          "label_i18n": {
+            "de_DE": "Geburtsdatum",
+            "de_CH": "Geburtsdatum",
+            "fr": "Date de naissance",
+            "en": "Birthdate"
+          },
+          "widget": "anastasis_gtk_ia_birthdate"
+        },
+        {
+          "type": "string",
+          "name": "social_security_number",
+          "label": "Social security number",
+          "label_i18n": {
+            "de_DE": "Sozialversicherungsnummer",
+            "de_CH": "Sozialversicherungsnummer",
+            "fr": "Numéro de sécurité sociale",
+            "en": "Social security number"
+          },
+          "widget": "anastasis_gtk_ia_ssn"
+        }
+      ],
+      "authentication_providers": {
+        "question": [
+          {
+            "anastasis_04": {
+              "method_cost": "EUR:0",
+              "annual_cost": "EUR:4.99",
+              "insurance": "EUR:1",
+              "provider_url": "localhost:8089/",
+              "provider_name": "Anastasis 4",
+              "provider_salt": "CXAPCKSH9D3MYJTS9536RHJHCW"
+            }
+          },
+          {
+            "anastasis_03": {
+              "method_cost": "EUR:0",
+              "annual_cost": "EUR:4.99",
+              "insurance": "EUR:1",
+              "provider_url": "localhost:8088/",
+              "provider_name": "Anastasis 3",
+              "provider_salt": "CXAPCKSH9D3MYJTS9536RHJHCW"
+            }
+          },
+          {
+            "anastasis_02": {
+              "method_cost": "EUR:0",
+              "annual_cost": "EUR:1.99",
+              "insurance": "EUR:1",
+              "provider_url": "localhost:8087/",
+              "provider_name": "Anastasis 2",
+              "provider_salt": "CXAPCKSH9D3MYJTS9536RHJHCW"
+            }
+          },
+          {
+            "anastasis_01": {
+              "method_cost": "EUR:0",
+              "annual_cost": "EUR:4.99",
+              "insurance": "EUR:1",
+              "provider_url": "localhost:8086/",
+              "provider_name": "Anastasis 1",
+              "provider_salt": "CXAPCKSH9D3MYJTS9536RHJHCW"
+            }
+          }
+        ]
+      }
+    }
+
 
 **enter_user_attributes:**
 
@@ -938,6 +1155,145 @@ Arguments (example):
       }
     }
 
+Expected new state (backup process):
+::
+
+    {
+      "backup_state": "AUTHENTICATIONS_EDITING",
+      "continents": [
+        "Europe",
+        "North_America"
+      ],
+      "selected_continent": "Europe",
+      "countries": [
+        {
+          "code": "ch",
+          "name": "Switzerland",
+          "continent": "Europe",
+          "name_i18n": {
+            "de_DE": "Schweiz",
+            "de_CH": "Schwiiz",
+            "fr": "Suisse",
+            "en": "Swiss"
+          },
+          "currency": "CHF"
+        },
+        {
+          "code": "de",
+          "name": "Germany",
+          "continent": "Europe",
+          "continent_i18n": {
+            "de": "Europa"
+          },
+          "name_i18n": {
+            "de_DE": "Deutschland",
+            "de_CH": "Deutschland",
+            "fr": "Allemagne",
+            "en": "Germany"
+          },
+          "currency": "EUR"
+        }
+      ],
+      "selected_country": "de",
+      "currency": "EUR",
+      "required_attributes": [
+        {
+          "type": "string",
+          "name": "full_name",
+          "label": "Full name",
+          "label_i18n": {
+            "de_DE": "Vollstaendiger Name",
+            "de_CH": "Vollstaendiger Name",
+            "fr": "Nom complet",
+            "en": "Full name"
+          },
+          "widget": "anastasis_gtk_ia_full_name"
+        },
+        {
+          "type": "date",
+          "name": "birthdate",
+          "label": "Birthdate",
+          "label_i18n": {
+            "de_DE": "Geburtsdatum",
+            "de_CH": "Geburtsdatum",
+            "fr": "Date de naissance",
+            "en": "Birthdate"
+          },
+          "widget": "anastasis_gtk_ia_birthdate"
+        },
+        {
+          "type": "string",
+          "name": "social_security_number",
+          "label": "Social security number",
+          "label_i18n": {
+            "de_DE": "Sozialversicherungsnummer",
+            "de_CH": "Sozialversicherungsnummer",
+            "fr": "Numéro de sécurité sociale",
+            "en": "Social security number"
+          },
+          "widget": "anastasis_gtk_ia_ssn"
+        }
+      ],
+      "authentication_providers": {
+        "question": [
+          {
+            "anastasis_04": {
+              "method_cost": "EUR:0",
+              "annual_cost": "EUR:4.99",
+              "insurance": "EUR:1",
+              "provider_url": "localhost:8089/",
+              "provider_name": "Anastasis 4",
+              "provider_salt": "CXAPCKSH9D3MYJTS9536RHJHCW"
+            }
+          },
+          {
+            "anastasis_03": {
+              "method_cost": "EUR:0",
+              "annual_cost": "EUR:4.99",
+              "insurance": "EUR:1",
+              "provider_url": "localhost:8088/",
+              "provider_name": "Anastasis 3",
+              "provider_salt": "CXAPCKSH9D3MYJTS9536RHJHCW"
+            }
+          },
+          {
+            "anastasis_02": {
+              "method_cost": "EUR:0",
+              "annual_cost": "EUR:1.99",
+              "insurance": "EUR:1",
+              "provider_url": "localhost:8087/",
+              "provider_name": "Anastasis 2",
+              "provider_salt": "CXAPCKSH9D3MYJTS9536RHJHCW"
+            }
+          },
+          {
+            "anastasis_01": {
+              "method_cost": "EUR:0",
+              "annual_cost": "EUR:4.99",
+              "insurance": "EUR:1",
+              "provider_url": "localhost:8086/",
+              "provider_name": "Anastasis 1",
+              "provider_salt": "CXAPCKSH9D3MYJTS9536RHJHCW"
+            }
+          }
+        ]
+      },
+      "identity_attributes": {
+        "full_name": "Max Musterman",
+        "social_security_number": "123456789",
+        "birth_year": "2000",
+        "birth_month": "01",
+        "birth_day": "01"
+      }
+    }
+
+**next**, **back**, **pay:**
+
+No Arguments needed.
+
+
+Backup transitions
+""""""""""""""""""
 
 **add_authentication:**
 
@@ -955,6 +1311,146 @@ Arguments (example):
     }
   }
 
+Expected new state:
+::
+
+    {
+      "backup_state": "AUTHENTICATIONS_EDITING",
+      "continents": [
+        "Europe",
+        "North_America"
+      ],
+      "selected_continent": "Europe",
+      "countries": [
+        {
+          "code": "ch",
+          "name": "Switzerland",
+          "continent": "Europe",
+          "name_i18n": {
+            "de_DE": "Schweiz",
+            "de_CH": "Schwiiz",
+            "fr": "Suisse",
+            "en": "Swiss"
+          },
+          "currency": "CHF"
+        },
+        {
+          "code": "de",
+          "name": "Germany",
+          "continent": "Europe",
+          "continent_i18n": {
+            "de": "Europa"
+          },
+          "name_i18n": {
+            "de_DE": "Deutschland",
+            "de_CH": "Deutschland",
+            "fr": "Allemagne",
+            "en": "Germany"
+          },
+          "currency": "EUR"
+        }
+      ],
+      "selected_country": "de",
+      "currency": "EUR",
+      "required_attributes": [
+        {
+          "type": "string",
+          "name": "full_name",
+          "label": "Full name",
+          "label_i18n": {
+            "de_DE": "Vollstaendiger Name",
+            "de_CH": "Vollstaendiger Name",
+            "fr": "Nom complet",
+            "en": "Full name"
+          },
+          "widget": "anastasis_gtk_ia_full_name"
+        },
+        {
+          "type": "date",
+          "name": "birthdate",
+          "label": "Birthdate",
+          "label_i18n": {
+            "de_DE": "Geburtsdatum",
+            "de_CH": "Geburtsdatum",
+            "fr": "Date de naissance",
+            "en": "Birthdate"
+          },
+          "widget": "anastasis_gtk_ia_birthdate"
+        },
+        {
+          "type": "string",
+          "name": "social_security_number",
+          "label": "Social security number",
+          "label_i18n": {
+            "de_DE": "Sozialversicherungsnummer",
+            "de_CH": "Sozialversicherungsnummer",
+            "fr": "Numéro de sécurité sociale",
+            "en": "Social security number"
+          },
+          "widget": "anastasis_gtk_ia_ssn"
+        }
+      ],
+      "authentication_providers": {
+        "question": [
+          {
+            "anastasis_04": {
+              "method_cost": "EUR:0",
+              "annual_cost": "EUR:4.99",
+              "insurance": "EUR:1",
+              "provider_url": "localhost:8089/",
+              "provider_name": "Anastasis 4",
+              "provider_salt": "CXAPCKSH9D3MYJTS9536RHJHCW"
+            }
+          },
+          {
+            "anastasis_03": {
+              "method_cost": "EUR:0",
+              "annual_cost": "EUR:4.99",
+              "insurance": "EUR:1",
+              "provider_url": "localhost:8088/",
+              "provider_name": "Anastasis 3",
+              "provider_salt": "CXAPCKSH9D3MYJTS9536RHJHCW"
+            }
+          },
+          {
+            "anastasis_02": {
+              "method_cost": "EUR:0",
+              "annual_cost": "EUR:1.99",
+              "insurance": "EUR:1",
+              "provider_url": "localhost:8087/",
+              "provider_name": "Anastasis 2",
+              "provider_salt": "CXAPCKSH9D3MYJTS9536RHJHCW"
+            }
+          },
+          {
+            "anastasis_01": {
+              "method_cost": "EUR:0",
+              "annual_cost": "EUR:4.99",
+              "insurance": "EUR:1",
+              "provider_url": "localhost:8086/",
+              "provider_name": "Anastasis 1",
+              "provider_salt": "CXAPCKSH9D3MYJTS9536RHJHCW"
+            }
+          }
+        ]
+      },
+      "identity_attributes": {
+        "full_name": "Max Musterman",
+        "social_security_number": "123456789",
+        "birth_year": "2000",
+        "birth_month": "01",
+        "birth_day": "01"
+      },
+      "authentication_methods": [
+        {
+          "method": "question",
+          "data": {
+            "question": "Whats your name?",
+            "answer": "Hans"
+          }
+        }
+      ]
+    }
 
 **del_authentication:**
 
@@ -1009,63 +1505,8 @@ Arguments (example):
 - type: *data* (secret must be a Crockford-Base32 encoded string of some data, 
e.g. a private key)
 
 
-**next**, **back**, **pay:**
-
-No Arguments needed.
-
-
-Recovery Reducer
-^^^^^^^^^^^^^^^^
-.. figure:: anastasis_reducer_recovery.png
-    :name: fig-anastasis_reducer_recovery
-    :alt: fig-anastasis_reducer_recovery
-    :scale: 35 %
-    :align: center
-
-    Recovery states and their transitions.
-
-
-The illustration above shows the different states the reducer can have during 
a recovery
-process.
-In the following, the individual transitions in the backup process will be 
specified in more detail.
-
-**select_continent:**
-
-Arguments (example):
-::
-
-    {
-      "continent": "Europe"
-    }
-
-
-**select_country:**
-
-Arguments (example):
-::
-
-    {
-      "country": "Germany",
-      "country_code": "de",
-      "currency": "EUR"
-    }
-
-
-**enter_user_attributes:**
-
-Arguments (example):
-::
-
-    {
-      "identity_attributes": {
-        "full_name": "Max Musterman",
-        "social_security_number": "123456789",
-        "birth_year": "2000",
-        "birth_month": "01",
-        "birth_day": "01"
-      }
-    }
-
+Recovery transitions
+""""""""""""""""""""
 
 **select_challenge:**
 
@@ -1088,11 +1529,6 @@ Arguments (example):
     }
 
 
-**back**, **pay:**
-
-No Arguments needed.
-
-
 .. _anastasis-auth-methods:
 
 ----------------------
diff --git a/anastasis_reducer_backup.drawio b/anastasis_reducer_backup.drawio
index 9f4b2fa..1248f7a 100644
--- a/anastasis_reducer_backup.drawio
+++ b/anastasis_reducer_backup.drawio
@@ -1 +1 @@
-<mxfile host="Electron" modified="2020-10-20T12:02:13.988Z" agent="5.0 (X11; 
Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/13.7.9 
Chrome/85.0.4183.121 Electron/10.1.3 Safari/537.36" etag="pjKoa-p90huBf9VOFbsK" 
version="13.7.9" type="device"><diagram id="PpkpfZO7TL7CUlFfbbxv" 
name="Seite-1">7Z1de5o8GMc/jYflIgmvh9a6zWed7ap9No+8qKbKNSodYmv36RcqIElQqAQEZw82CRDInTu//JPc0RbqPK0/e9bz/Js7xU4LytN1C121IISqCch/QcrbJsWAxiZh5tnTTRLYJgzsPzhMlMPUlT3FS+pC33Ud336mEyfuYoEnPpVmeZ77Sl/26Dr0U5
 [...]
\ No newline at end of file
+<mxfile host="Electron" modified="2020-11-06T14:41:36.477Z" agent="5.0 (X11; 
Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/13.7.9 
Chrome/85.0.4183.121 Electron/10.1.5 Safari/537.36" etag="80drExZNCvYe0CJyHcSl" 
version="13.7.9" type="device"><diagram id="PpkpfZO7TL7CUlFfbbxv" 
name="Seite-1">7Z3ve5o6FMf/Gl+WhyT8fGmt27zrbG+1d/OVD9VUeUalQ1zt/vobFJAkVFMJCJ19sUmAACeHT745OdEW6jytPwfO8/ybP8VeC6rTdQtdtSD5MwH5Lyp53ZZYurotmAXudFsEdgUD9w+OC5PDVu4UL6kDQ9/3QveZLpz4iwWehFSZEwT+C33Yo+/RV3
 [...]
\ No newline at end of file
diff --git a/anastasis_reducer_backup.png b/anastasis_reducer_backup.png
index 2f2f537..070bd7b 100644
Binary files a/anastasis_reducer_backup.png and b/anastasis_reducer_backup.png 
differ
diff --git a/anastasis_reducer_recovery.drawio 
b/anastasis_reducer_recovery.drawio
index 54d14c2..ae7f8ca 100644
--- a/anastasis_reducer_recovery.drawio
+++ b/anastasis_reducer_recovery.drawio
@@ -1 +1 @@
-<mxfile host="Electron" modified="2020-10-20T12:07:27.387Z" agent="5.0 (X11; 
Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/13.7.9 
Chrome/85.0.4183.121 Electron/10.1.3 Safari/537.36" etag="C5rf5ZT94Nhz4VqhFGuF" 
version="13.7.9" type="device"><diagram id="PpkpfZO7TL7CUlFfbbxv" 
name="Seite-1">7Zxtc6o4FIB/jR91kvDqR7X2ZbZrO1d7t+4Xh2qqTFFcwKr312/QoCQBRARFp507HRKSAOecPDnnJLcVqTVdPTjGfPK3PcJWBYHRqiLdVRCCMkIV/x8Yrbc1OtK3FWPHHNFG+4qu+QfTSkBrF+YIu0xDz7Ytz5yzlUN7NsNDj6kzHMdess0+bYt96t
 [...]
\ No newline at end of file
+<mxfile host="Electron" modified="2020-11-06T14:42:46.797Z" agent="5.0 (X11; 
Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/13.7.9 
Chrome/85.0.4183.121 Electron/10.1.5 Safari/537.36" etag="WsVUn28slUkM80fea0rR" 
version="13.7.9" type="device"><diagram id="PpkpfZO7TL7CUlFfbbxv" 
name="Seite-1">7Zxdc7I4FIB/jZc6JBDAy2rtx2zXdqrt1r1xqKbKFMUFrPX99Rs0KEmQIgaKnfbiLYR8wMnJk3NOztua2p59XnvWYvq3O8ZODSrjz5p6WYMQAAWSX2HJeltiImVbMPHsMa20L+jZfzAtjKot7TH2mYqB6zqBvWALR+58jkcBU2Z5nrtiq725Djvqwp
 [...]
\ No newline at end of file
diff --git a/anastasis_reducer_recovery.png b/anastasis_reducer_recovery.png
index 7bb6241..fb62c4d 100644
Binary files a/anastasis_reducer_recovery.png and 
b/anastasis_reducer_recovery.png differ

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]