summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-02-16 21:34:25 +0100
committerChristian Grothoff <christian@grothoff.org>2021-02-16 21:34:25 +0100
commita347e11359648bad1291f28f4f4fd1ac6426a8ac (patch)
treeec6f17f8aecfc1bfb8a376ef8778dc70e44ba997
parent96425ec255a3c91c2981176e09e50413ed900215 (diff)
downloaddocs-a347e11359648bad1291f28f4f4fd1ac6426a8ac.tar.gz
docs-a347e11359648bad1291f28f4f4fd1ac6426a8ac.tar.bz2
docs-a347e11359648bad1291f28f4f4fd1ac6426a8ac.zip
update Anastasis spec
-rw-r--r--anastasis.rst806
1 files changed, 258 insertions, 548 deletions
diff --git a/anastasis.rst b/anastasis.rst
index 835cc88..c2c61e4 100644
--- a/anastasis.rst
+++ b/anastasis.rst
@@ -1103,48 +1103,38 @@ Expected new state:
}
],
"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"
- }
- }
- ]
+ "http://localhost:8089/": {
+ "methods": [
+ { "name" : "question",
+ "usage_fee" : "EUR:0.0" },
+ { "name" : "sms",
+ "usage_fee" : "EUR:0.5" }
+ ],
+ "annual_fee": "EUR:4.99",
+ "truth_upload_fee": "EUR:4.99",
+ "liability_limit": "EUR:1",
+ "currency": "EUR",
+ "truth_lifetime": { "d_ms" : 50000000 },
+ "storage_limit_in_megabytes": 1,
+ "provider_name": "Anastasis 4",
+ "salt": "CXAPCKSH9D3MYJTS9536RHJHCW"
+ },
+ "http://localhost:8088/": {
+ "methods": [
+ { "name" : "question",
+ "usage_fee" : "EUR:0.01" },
+ { "name" : "sms",
+ "usage_fee" : "EUR:0.55" }
+ ],
+ "annual_fee": "EUR:0.99",
+ "truth_upload_fee": "EUR:3.99",
+ "liability_limit": "EUR:1",
+ "currency": "EUR",
+ "truth_lifetime": { "d_ms" : 50000000 },
+ "storage_limit_in_megabytes": 1,
+ "provider_name": "Anastasis 4",
+ "salt": "CXAPCKSH9D3MYJTS9536RHJHCW"
+ }
}
}
@@ -1246,48 +1236,38 @@ Expected new state (backup process):
}
],
"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"
- }
- }
- ]
+ "http://localhost:8089/": {
+ "methods": [
+ { "name" : "question",
+ "usage_fee" : "EUR:0.0" },
+ { "name" : "sms",
+ "usage_fee" : "EUR:0.5" }
+ ],
+ "annual_fee": "EUR:4.99",
+ "truth_upload_fee": "EUR:4.99",
+ "liability_limit": "EUR:1",
+ "currency": "EUR",
+ "truth_lifetime": { "d_ms" : 50000000 },
+ "storage_limit_in_megabytes": 1,
+ "provider_name": "Anastasis 4",
+ "salt": "CXAPCKSH9D3MYJTS9536RHJHCW"
+ },
+ "http://localhost:8088/": {
+ "methods": [
+ { "name" : "question",
+ "usage_fee" : "EUR:0.01" },
+ { "name" : "sms",
+ "usage_fee" : "EUR:0.55" }
+ ],
+ "annual_fee": "EUR:0.99",
+ "truth_upload_fee": "EUR:3.99",
+ "liability_limit": "EUR:1",
+ "currency": "EUR",
+ "truth_lifetime": { "d_ms" : 50000000 },
+ "storage_limit_in_megabytes": 1,
+ "provider_name": "Anastasis 4",
+ "salt": "CXAPCKSH9D3MYJTS9536RHJHCW"
+ }
},
"identity_attributes": {
"full_name": "Max Musterman",
@@ -1321,8 +1301,8 @@ Optional arguments to try uploading recovery document to specific providers (exa
{
"provider_id": [
- "anastasis_01",
- "anastasis_03"
+ "http://localhost:8088/",
+ "http://localhost:8089/"
]
}
@@ -1428,92 +1408,38 @@ Expected new state:
}
],
"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"
- }
- }
- ],
- "sms": [
- {
- "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"
- }
- }
- ],
- "email": [
- {
- "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"
- }
- }
- ]
+ "http://localhost:8089/": {
+ "methods": [
+ { "name" : "question",
+ "usage_fee" : "EUR:0.0" },
+ { "name" : "sms",
+ "usage_fee" : "EUR:0.5" }
+ ],
+ "annual_fee": "EUR:4.99",
+ "truth_upload_fee": "EUR:4.99",
+ "liability_limit": "EUR:1",
+ "currency": "EUR",
+ "truth_lifetime": { "d_ms" : 50000000 },
+ "storage_limit_in_megabytes": 1,
+ "provider_name": "Anastasis 4",
+ "salt": "CXAPCKSH9D3MYJTS9536RHJHCW"
+ },
+ "http://localhost:8088/": {
+ "methods": [
+ { "name" : "question",
+ "usage_fee" : "EUR:0.01" },
+ { "name" : "sms",
+ "usage_fee" : "EUR:0.55" }
+ ],
+ "annual_fee": "EUR:0.99",
+ "truth_upload_fee": "EUR:3.99",
+ "liability_limit": "EUR:1",
+ "currency": "EUR",
+ "truth_lifetime": { "d_ms" : 50000000 },
+ "storage_limit_in_megabytes": 1,
+ "provider_name": "Anastasis 4",
+ "salt": "CXAPCKSH9D3MYJTS9536RHJHCW"
+ }
},
"identity_attributes": {
"full_name": "Max Musterman",
@@ -1644,92 +1570,38 @@ Expected new state:
}
],
"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"
- }
- }
- ],
- "sms": [
- {
- "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"
- }
- }
- ],
- "email": [
- {
- "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"
- }
- }
- ]
+ "http://localhost:8089/": {
+ "methods": [
+ { "name" : "question",
+ "usage_fee" : "EUR:0.0" },
+ { "name" : "sms",
+ "usage_fee" : "EUR:0.5" }
+ ],
+ "annual_fee": "EUR:4.99",
+ "truth_upload_fee": "EUR:4.99",
+ "liability_limit": "EUR:1",
+ "currency": "EUR",
+ "truth_lifetime": { "d_ms" : 50000000 },
+ "storage_limit_in_megabytes": 1,
+ "provider_name": "Anastasis 4",
+ "salt": "CXAPCKSH9D3MYJTS9536RHJHCW"
+ },
+ "http://localhost:8088/": {
+ "methods": [
+ { "name" : "question",
+ "usage_fee" : "EUR:0.01" },
+ { "name" : "sms",
+ "usage_fee" : "EUR:0.55" }
+ ],
+ "annual_fee": "EUR:0.99",
+ "truth_upload_fee": "EUR:3.99",
+ "liability_limit": "EUR:1",
+ "currency": "EUR",
+ "truth_lifetime": { "d_ms" : 50000000 },
+ "storage_limit_in_megabytes": 1,
+ "provider_name": "Anastasis 4",
+ "salt": "CXAPCKSH9D3MYJTS9536RHJHCW"
+ }
},
"identity_attributes": {
"full_name": "Max Musterman",
@@ -1773,11 +1645,11 @@ Arguments (example):
"policy": [
{
"auth_method_index": 1,
- "provider": "anastasis_01"
+ "provider": "http://localhost:8088/"
},
{
"auth_method_index": 3,
- "provider": "anastasis_02"
+ "provider": "http://localhost:8089/"
}
]
}
@@ -1863,92 +1735,38 @@ Expected new state:
}
],
"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"
- }
- }
- ],
- "sms": [
- {
- "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"
- }
- }
- ],
- "email": [
- {
- "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"
- }
- }
- ]
+ "http://localhost:8089/": {
+ "methods": [
+ { "name" : "question",
+ "usage_fee" : "EUR:0.0" },
+ { "name" : "sms",
+ "usage_fee" : "EUR:0.5" }
+ ],
+ "annual_fee": "EUR:4.99",
+ "truth_upload_fee": "EUR:4.99",
+ "liability_limit": "EUR:1",
+ "currency": "EUR",
+ "truth_lifetime": { "d_ms" : 50000000 },
+ "storage_limit_in_megabytes": 1,
+ "provider_name": "Anastasis 4",
+ "salt": "CXAPCKSH9D3MYJTS9536RHJHCW"
+ },
+ "http://localhost:8088/": {
+ "methods": [
+ { "name" : "question",
+ "usage_fee" : "EUR:0.01" },
+ { "name" : "sms",
+ "usage_fee" : "EUR:0.55" }
+ ],
+ "annual_fee": "EUR:0.99",
+ "truth_upload_fee": "EUR:3.99",
+ "liability_limit": "EUR:1",
+ "currency": "EUR",
+ "truth_lifetime": { "d_ms" : 50000000 },
+ "storage_limit_in_megabytes": 1,
+ "provider_name": "Anastasis 4",
+ "salt": "CXAPCKSH9D3MYJTS9536RHJHCW"
+ }
},
"identity_attributes": {
"full_name": "Max Musterman",
@@ -1986,11 +1804,11 @@ Expected new state:
"methods": [
{
"authentication_method": 0,
- "provider": "anastasis_02"
+ "provider": "http://localhost:8089/"
},
{
"authentication_method": 1,
- "provider": "anastasis_01"
+ "provider": "http://localhost:8088/"
}
]
},
@@ -1999,11 +1817,11 @@ Expected new state:
"methods": [
{
"authentication_method": 0,
- "provider": "anastasis_02"
+ "provider": "http://localhost:8089/"
},
{
"authentication_method": 2,
- "provider": "anastasis_01"
+ "provider": "http://localhost:8088/"
}
]
},
@@ -2012,11 +1830,11 @@ Expected new state:
"methods": [
{
"authentication_method": 1,
- "provider": "anastasis_02"
+ "provider": "http://localhost:8089/"
},
{
"authentication_method": 2,
- "provider": "anastasis_01"
+ "provider": "http://localhost:8088/"
}
]
},
@@ -2025,11 +1843,11 @@ Expected new state:
"methods": [
{
"authentication_method": 1,
- "provider": "anastasis_01"
+ "provider": "http://localhost:8088/"
},
{
"authentication_method": 3,
- "provider": "anastasis_02"
+ "provider": "http://localhost:8089/"
}
]
}
@@ -2128,92 +1946,38 @@ Expected new state:
}
],
"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"
- }
- }
- ],
- "sms": [
- {
- "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"
- }
- }
- ],
- "email": [
- {
- "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"
- }
- }
- ]
+ "http://localhost:8089/": {
+ "methods": [
+ { "name" : "question",
+ "usage_fee" : "EUR:0.0" },
+ { "name" : "sms",
+ "usage_fee" : "EUR:0.5" }
+ ],
+ "annual_fee": "EUR:4.99",
+ "truth_upload_fee": "EUR:4.99",
+ "liability_limit": "EUR:1",
+ "currency": "EUR",
+ "truth_lifetime": { "d_ms" : 50000000 },
+ "storage_limit_in_megabytes": 1,
+ "provider_name": "Anastasis 4",
+ "salt": "CXAPCKSH9D3MYJTS9536RHJHCW"
+ },
+ "http://localhost:8088/": {
+ "methods": [
+ { "name" : "question",
+ "usage_fee" : "EUR:0.01" },
+ { "name" : "sms",
+ "usage_fee" : "EUR:0.55" }
+ ],
+ "annual_fee": "EUR:0.99",
+ "truth_upload_fee": "EUR:3.99",
+ "liability_limit": "EUR:1",
+ "currency": "EUR",
+ "truth_lifetime": { "d_ms" : 50000000 },
+ "storage_limit_in_megabytes": 1,
+ "provider_name": "Anastasis 4",
+ "salt": "CXAPCKSH9D3MYJTS9536RHJHCW"
+ }
},
"identity_attributes": {
"full_name": "Max Musterman",
@@ -2251,11 +2015,11 @@ Expected new state:
"methods": [
{
"authentication_method": 0,
- "provider": "anastasis_02"
+ "provider": "http://localhost:8089/"
},
{
"authentication_method": 1,
- "provider": "anastasis_01"
+ "provider": "http://localhost:8088/"
}
]
},
@@ -2264,11 +2028,11 @@ Expected new state:
"methods": [
{
"authentication_method": 0,
- "provider": "anastasis_02"
+ "provider": "http://localhost:8089/"
},
{
"authentication_method": 2,
- "provider": "anastasis_01"
+ "provider": "http://localhost:8088/"
}
]
},
@@ -2277,11 +2041,11 @@ Expected new state:
"methods": [
{
"authentication_method": 1,
- "provider": "anastasis_02"
+ "provider": "http://localhost:8089/"
},
{
"authentication_method": 2,
- "provider": "anastasis_01"
+ "provider": "http://localhost:8088/"
}
]
}
@@ -2383,92 +2147,38 @@ Expected new state:
}
],
"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"
- }
- }
- ],
- "sms": [
- {
- "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"
- }
- }
- ],
- "email": [
- {
- "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"
- }
- }
- ]
+ "http://localhost:8089/": {
+ "methods": [
+ { "name" : "question",
+ "usage_fee" : "EUR:0.0" },
+ { "name" : "sms",
+ "usage_fee" : "EUR:0.5" }
+ ],
+ "annual_fee": "EUR:4.99",
+ "truth_upload_fee": "EUR:4.99",
+ "liability_limit": "EUR:1",
+ "currency": "EUR",
+ "truth_lifetime": { "d_ms" : 50000000 },
+ "storage_limit_in_megabytes": 1,
+ "provider_name": "Anastasis 4",
+ "salt": "CXAPCKSH9D3MYJTS9536RHJHCW"
+ },
+ "http://localhost:8088/": {
+ "methods": [
+ { "name" : "question",
+ "usage_fee" : "EUR:0.01" },
+ { "name" : "sms",
+ "usage_fee" : "EUR:0.55" }
+ ],
+ "annual_fee": "EUR:0.99",
+ "truth_upload_fee": "EUR:3.99",
+ "liability_limit": "EUR:1",
+ "currency": "EUR",
+ "truth_lifetime": { "d_ms" : 50000000 },
+ "storage_limit_in_megabytes": 1,
+ "provider_name": "Anastasis 4",
+ "salt": "CXAPCKSH9D3MYJTS9536RHJHCW"
+ }
},
"identity_attributes": {
"full_name": "Max Musterman",
@@ -2506,11 +2216,11 @@ Expected new state:
"methods": [
{
"authentication_method": 0,
- "provider": "anastasis_02"
+ "provider": "http://localhost:8089/"
},
{
"authentication_method": 1,
- "provider": "anastasis_01"
+ "provider": "http://localhost:8088/"
}
]
},
@@ -2519,11 +2229,11 @@ Expected new state:
"methods": [
{
"authentication_method": 0,
- "provider": "anastasis_02"
+ "provider": "http://localhost:8089/"
},
{
"authentication_method": 2,
- "provider": "anastasis_01"
+ "provider": "http://localhost:8088/"
}
]
},
@@ -2532,11 +2242,11 @@ Expected new state:
"methods": [
{
"authentication_method": 1,
- "provider": "anastasis_02"
+ "provider": "http://localhost:8089/"
},
{
"authentication_method": 2,
- "provider": "anastasis_01"
+ "provider": "http://localhost:8088/"
}
]
}
@@ -2548,19 +2258,19 @@ Expected new state:
"truths": [
{
"authentication_method": 0,
- "provider": "anastasis_02"
+ "provider": "http://localhost:8089/"
},
{
"authentication_method": 1,
- "provider": "anastasis_01"
+ "provider": "http://localhost:8088/"
},
{
"authentication_method": 2,
- "provider": "anastasis_01"
+ "provider": "http://localhost:8088/"
},
{
"authentication_method": 1,
- "provider": "anastasis_02"
+ "provider": "http://localhost:8089/"
}
],
"truth_uploads": [
@@ -2583,20 +2293,20 @@ Expected new state:
],
"recovery_document_uploads": [
{
- "provider_id": "anastasis_01",
+ "provider_id": "http://localhost:8088/",
"https_status": 204
},
{
- "provider_id": "anastasis_02",
+ "provider_id": "http://localhost:8089/",
"https_status": 402
},
{
- "provider_id": "anastasis_03",
- "https_status": 402
+ "provider_id": "http://localhost:8090/",
+ "https_status": 404
},
{
- "provider_id": "anastasis_04",
- "https_status": 204
+ "provider_id": "http://localhost:8091/",
+ "https_status": 403
}
]
}