New submodule name: KSEC (TODO approve or suggest better)
Targets: get rid of "library", refactor what deserves it, avoid code duplication by reusing parts of libknot
Thoughts:
- most of the code shall move from standalone "library" to libknot
- key storage and rollover events shall be merged to knot itself. JSON to be replaced with LMDB and rollover events merged inside knotd events system. (TODO too ambitious? Problem with kresd using these?)
- errcodes: they seem to be designed slightly differently than in libknot: in libknot, there is a (relatively low) number of errcodes which are more general and are used on different places; in libdnssec the errcodes are more specific to where they were emitted and are handled in one place. I prefer to keep the libdnssec approach.
- the rest of subsumodules shall be copied to
src/libknot/ksec
: binary, crypto, key(id, tag), nsec, random, sign, tsig