- tsig?
o DNSSEC
- signing
+ - do we call random()?
o Make a shared library and test compile some programs
-o Thread safety
+o Thread safety, strtok is used
o ssl autoconf
o create a bunch of small programs:
mx
host
?
-
Documentation:
--------------
o Crypto interface for dnssec
ldns_rr_list *
ldns_sign(ldns_rr_list *ATTR_UNUSED(rrset), ldns_rr_list *ATTR_UNUSED(keys))
{
+ /* how to sign
+ * - create the correct openSSL keys from the keys
+ * - sort and extract the original ttl from the rrset
+ * - type covered, labels, wildcards?!?!
+ * - inception, expiration?!?!
+ *
+ * signature = sign(RRSIG_RDATA | RR(1) | RR(2)... )
+ */
+
+ /* create a hash and sign that??? */
+#if 0
+ int RSA_sign(NID_sha1 | NID_md5, unsigned char *m, unsigned int m_len,
+ unsigned char *sigret, unsigned int *siglen, RSA *rsa);
+
+ int DSA_sign(int type, const unsigned char *dgst, int len,
+ unsigned char *sigret, unsigned int *siglen, DSA *dsa);
+#endif
+
+ /* convert the sigstuff to base64 ... */
return NULL;
}