: asapien/signet

1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
20 
21 
22 
23 
24 
25 
26 
27 
28 
29 
30 
31 
32 
33 
34 
35 
36 
37 
# /etc/signet/signet.conf: shared by signet-api, signetd and pim-api.

db.conninfo   = dbname=signet host=/run/postgresql   # peer auth: each daemon connects as its own OS user
redis.host    = 127.0.0.1
redis.port    = 6379
queue         = queue:stamping

# Optional detached RFC3161 evidence. Both fields must be set to enable.
# HTTPS endpoint and locally provisioned TSA trust anchors (never auto-download).
# Install timestamp.cron.example in signetd's crontab; signing/release never wait.
timestamp.url =
timestamp.ca_file =
# Usually empty: HTTPS uses system trust, independently of the TSA signing CA.
timestamp.tls_ca_file =

data_dir      = /var/lib/signet          # docs/<uuid>/*.pdf, templates/<uuid>.pdf
dam_dir       = /var/www/dam             # public DAM (lighttpd mod_webdav)
sig_dir       = /var/lib/signatures      # <UUID>.png (legacy <username>.png), signetd only
sig_inbox     = /var/lib/signet/sig-inbox  # temporary location for enrolled facsimiles

# Fonts are DAM assets: the browser loads /dam/<path>, the worker embeds the
# same file.  TrueType (.ttf, glyf outlines) only.  Empty = Helvetica.
default_font  = fonts/DejaVuSans.ttf
date_format   = %d-%m-%Y

# Identity headers set by the deployment's trusted forward-auth proxy.
# The administrator chooses the auth provider. lighttpd must never let
# a client-supplied copy of these headers through.
auth.user_header   = Remote-User
auth.groups_header = Remote-Groups

# RBAC: role = comma separated LDAP groups.  A user holds a role when they are
# in at least one of its groups.
role.drafter   = clerks
role.signer    = management
role.admin     = signet-admins
role.pim_admin = signet-admins