msva-query-agent only append newline to msg output if tty
[monkeysphere-validation-agent.git] / README.schema
1 HYPOTHETICAL DOCS
2 ----------------
3
4 These notes describe what a hypothetical schema for a self-implemented
5 Monkeysphere Validation Agent (with no reliance on gpg) might look
6 like.  This describes only the relational tables that might be
7 relevant, and it is in some kind of pseudo-SQL.
8
9 Public Key Carriers {
10
11   x509 certs {
12      cert,
13      raw id#,
14   }
15
16   openpgp certs {
17      cert,
18      raw id#,
19   }
20
21   raw public keys {
22     raw id#,
23     key,
24     revoked?,
25   }
26 }
27
28 OpenPGP subkeys {
29   key,
30   raw id#,
31 }
32
33 ownertrust {
34   raw id#,
35   quantity,
36   depth,
37   uid,
38   scope,
39 }
40   
41 certs {
42   issuer (pkc),
43   subject (pkc),
44   uid,
45   expiry,
46   add'l data,
47 }
48
49 exceptions {
50   uid,
51   pkc,
52   context,
53   expiry
54 }
55
56 config vars {
57   preferred keyserver,
58   preferred digest algorithms,
59   et cetera,
60 }