aboutsummaryrefslogtreecommitdiff
path: root/scripts/PLAN
blob: 13f9de93feddae2e163c66f09b114be4795b3f70 (plain) (blame)
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
$Id$

Rough plan for initial prototype RE.

1) Hack quick cert generator [done]

2) Hack xml-parse-test into something that can:

 - Generate (XML::Simple?) XML
 - Encode XML in CMS using specified signing key and certs
 - Write that to a destination file

 - Pick up signed CMS from from a file
 - Check CMS signatures and extract XML
 - Validate (xmllint --relaxng) the XML
 - Decode (XML::Simple) the XML and dump the result

 Log everything as we go and use Data::Dumper to log content of Perl
 data structures.

 APNIC is specifying schema in RNC (RelaxNG Compact) syntax, xmllint
 wants RNG (RelaxNG XML) syntax, so use /usr/ports/textproc/trang to
 convert:

    $ trang foo.rnc foo.rng

3) Whack (2) into something that does this over minimal HTTP.

4) [to be continued...]