anastasis

Credential backup and recovery protocol and service
Log | Files | Refs | Submodules | README | LICENSE

anastasis.conf (3631B)


      1 # This file is in the public domain.
      2 
      3 # These are default/sample settings for a merchant backend.
      4 
      5 
      6 # General settings for the backend.
      7 [anastasis]
      8 
      9 # Use TCP or UNIX domain sockets?
     10 SERVE = tcp
     11 
     12 # Which HTTP port does the backend listen on?  Only used if "SERVE" is 'tcp'.
     13 PORT = 9977
     14 
     15 # Which IP address should we bind to? i.e. 127.0.0.1 or ::1 for loopback.
     16 # Can also be given as a hostname.  We will bind to the wildcard (dual-stack)
     17 # if left empty.  Only used if "SERVE" is 'tcp'.
     18 # BIND_TO =
     19 
     20 
     21 # Which unix domain path should we bind to? Only used if "SERVE" is 'unix'.
     22 UNIXPATH = ${ANASTASIS_RUNTIME_DIR}/httpd/anastasis-http.sock
     23 # What should be the file access permissions (see chmod) for "UNIXPATH"?
     24 UNIXPATH_MODE = 660
     25 
     26 # Which database backend do we use?
     27 DB = postgres
     28 
     29 # How long after they expire are backups, truths and challenge codes kept
     30 # before "anastasis-dbinit -g" collects them?  Keeping them longer than
     31 # necessary means keeping user data longer than necessary.
     32 # GC_BACKUP_GRACE = 6 months
     33 
     34 # How long are payment records that never resulted in a payment (or that were
     35 # refunded) kept before "anastasis-dbinit -g" collects them?
     36 # GC_PAYMENT_RETENTION = 10 years
     37 
     38 # Display name of the business running this anastasis provider.
     39 # BUSINESS_NAME = ...
     40 
     41 # Currencies this provider prices its service in, separated by ";".  The
     42 # first one is the primary currency: it is what the scalar fields of
     43 # /config report, for the benefit of clients that predate multi-currency
     44 # support.  Every priced option below must give a price in exactly these
     45 # currencies --- anastasis-httpd refuses to start otherwise, so that a
     46 # user cannot discover during recovery that some step is unavailable in
     47 # the currency they hold.
     48 #
     49 # May be omitted by a provider that prices in a single currency; it is
     50 # then taken from the fees themselves.
     51 # CURRENCIES = EUR;CHF;USD
     52 
     53 # Annual fee for an account, one amount per currency in CURRENCIES.
     54 # ANNUAL_FEE = EUR:0.1;CHF:0.1;USD:0.12
     55 
     56 # Number of policy uploads included in one annual fee payment
     57 ANNUAL_POLICY_UPLOAD_LIMIT = 64
     58 
     59 # Insurance
     60 # INSURANCE = EUR:1.0;CHF:1.0;USD:1.2
     61 
     62 # Fee for one upload.
     63 # TRUTH_UPLOAD_FEE = EUR:0.1;CHF:0.1;USD:0.12
     64 
     65 # Each authorization method is priced the same way, in its own
     66 # [authorization-*] section.  A method may also be free, which is what an
     67 # IBAN challenge usually wants: the wire transfer the user has to make in
     68 # order to authenticate is already the cost of using it.  Free is written
     69 # as an empty value, or as a zero in every currency:
     70 #
     71 #   [authorization-iban]
     72 #   ENABLED = YES
     73 #   COST =
     74 #
     75 # What is *not* allowed is charging in some currencies and not in others,
     76 # e.g. "COST = EUR:1;CHF:0": that does not price the service, it prices
     77 # the user's choice of currency, and anastasis-httpd refuses to start on
     78 # it.  Note that the amount the user must transfer for an IBAN challenge
     79 # is a separate option and stays a single amount, since a bank account
     80 # has one currency.
     81 
     82 
     83 # Upload limit per backup, in megabytes
     84 UPLOAD_LIMIT_MB = 16
     85 
     86 # Fulfillment URL of the ANASTASIS service itself.
     87 FULFILLMENT_URL = taler://fulfillment-success
     88 
     89 # Server salt 16 Byte
     90 # PROVIDER_SALT = gUfO1KGOKYIFlFQg
     91 
     92 
     93 # Directory with our terms of service.
     94 TERMS_DIR = ${DATADIR}tos/
     95 
     96 # Etag / filename for the terms of service.
     97 TERMS_ETAG = 0
     98 
     99 
    100 # Directory with our privacy policy.
    101 PRIVACY_DIR = ${DATADIR}pp/
    102 
    103 # Etag / filename for the privacy policy.
    104 PRIVACY_ETAG = 0
    105 
    106 
    107 [anastasis-merchant-backend]
    108 # Base URL of our payment backend
    109 # PAYMENT_BACKEND_URL = http://localhost:9976/
    110 
    111 # API Key to send to the backend for authorization
    112 # API_KEY =