Commit Graph

9 Commits

Author SHA1 Message Date
Tau
072d70b42a Migrate to SQLite3
We'll keep the door open for side-by-side support of Postgres in
the background, but due to SQLite's type system quirks we cannot
use the same DDL for both databases, so we would have to maintain
two sets of DDL (schema init and schema migration scripts) at once.

Interested future contributors can shoulder this maintenance burden
if they so choose.
2019-11-06 17:28:30 -05:00
Tau
39849483c8 Clean up obsolete state files
Hostname is configured from .env now along with everything else.
JSON state storage backend has been abandoned. We might add an
SQLite backend to go with the current Postgres backend at some
point though; SQLite even supports window functions these days.
2019-11-06 17:28:30 -05:00
Tau
490264b35a Check in a canonical PKI
For some reason initpki doesn't generate a set of certs that are
acceptable to the P-Ras core, even though I never modified it.
Maybe some defaults changed in a recent release of OpenSSL or
something.

Well, to make everybody's life easier let's all just use the same
private keys for everything. It's not like it matters.
2019-11-06 17:28:30 -05:00
Tau
6d8eb2827c Add dotenv config 2019-11-06 17:28:30 -05:00
Tau
f224e466c5 Make hostname configurable 2019-11-06 17:28:29 -05:00
Tau
8817029258 add idz repository layer 2019-11-06 17:28:29 -05:00
Tau
aa18e805e9 gitignore bin/ 2019-11-06 17:28:29 -05:00
Tau
b4e1519ab9 Add initial code drop 2019-11-06 17:28:24 -05:00
Tau
5ad770f4dd Add initpki 2018-11-08 17:10:04 -05:00