zkt-ls -l also has that problem

Brian Paul Kroth <bpkr...@gmail.com> 2013-01-12 12:15:
Ack, I missed the zkt-signer fixups.

Brian Paul Kroth <bpkr...@gmail.com> 2013-01-12 12:08:
FYI, I found that zkt-keyman doesn't handle cidr zones well.

For instance:
# zkt-1.1.2/zkt-keyman -C 10/15.10.10.10.in-addr.arpa

When dnssec-keygen is called it creates a file like K10%2F15.10.10.10.in-addr.arpa.+005+40064.key, but that fails a check in dki.c:dki_readfile() that the zone file matches the zone name.

Attached are two small hacked up patches.

1) To work around that by also checking to see if the zone name with / replace with %2F matches.

2) A very quick attempt at a debian package patch for zkt (in case some one else wants it).

My skills at either are not great, so there's almost surely room for improvement.

Let me know if you have any questions.

Thanks,
Brian

<snip/>

Attachment: signature.asc
Description: Digital signature

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
zkt-users mailing list
zkt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/zkt-users

Reply via email to