Commit Graph

164 Commits

Author SHA1 Message Date
David Blacka
91207aeed2 Refactor the command line classes with a new base class and upgrade
commons-cli to version 1.2.

git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@245 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2011-02-12 21:25:26 +00:00
David Blacka
645b8a1a60 fix my logger normalization -- it was still defaulting to INFO.
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@244 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2011-02-10 00:25:10 +00:00
David Blacka
af2ae7401a update changelog
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@243 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2011-02-09 23:58:57 +00:00
David Blacka
453bf283ba eclipse reformatting.
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@242 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2011-02-09 23:58:56 +00:00
David Blacka
faae654a23 make reading and writing to stdin/stdout work for most of the tools
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@241 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2011-02-09 23:58:54 +00:00
David Blacka
73d930a850 for jdnssec-signzone and jdnssec-signrrset, make 'multiline' output NOT the default, and add a command line switch to enable it.
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@240 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2011-02-09 23:58:51 +00:00
David Blacka
8347e5ffc3 fix usage statement printing.
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@239 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2011-02-09 23:58:49 +00:00
David Blacka
c459de830f update jdnssec-keygen to use a default algorithm of 8 instead of 5.
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@238 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2011-02-03 20:29:54 +00:00
David Blacka
e770f01958 Clean up logging: recognize all levels for -v, normalize the code that forces java.util.logging to set the correct log level, normalize on the use of our very simple log formatter.
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@237 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2011-02-03 20:24:33 +00:00
David Blacka
57fe4c05e7 add a primary wrapper for the KeyInfoTool class
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@232 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2011-02-02 19:58:44 +00:00
David Blacka
c26b39d52e Update build.xml to use java 1.5 language features when compiling
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@230 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2011-02-02 19:52:37 +00:00
David Blacka
fd3d5a22ce increment version.
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@229 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2011-02-02 19:48:56 +00:00
David Blacka
816c533639 update README with actual web site location and real email address
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@228 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2011-02-02 19:48:29 +00:00
David Blacka
03737a1efd Handle the new bind 9.7 private key files (hopefully).
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@227 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2011-02-02 19:36:40 +00:00
David Blacka
1616d07fe6 Add -N option for calculating original ownernames for NSEC3 RRs
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@226 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2011-02-02 19:36:14 +00:00
David Blacka
04d751ae56 Add -m option to jdnssec-zoneformat
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@225 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2011-02-02 18:59:06 +00:00
David Blacka
86072cbcc8 Add options for fudging or ignoring times in verifyzone.
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@224 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2010-12-14 18:01:12 +00:00
David Blacka
3d6b21b0fc output changes for VerifyZone, some code cleanup and bug fixes for ZoneVerifier
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@220 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2010-12-07 05:31:58 +00:00
David Blacka
41c96feffd Refactor the zone verification tool to fully check zones for correctness. Not quite complete, as more testing needs to be done and the output needs to be standardized
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@219 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2010-12-06 05:59:42 +00:00
David Blacka
3c9e33baf7 fix a number of jdnssec-signzone signing bugs: do not incorrectly set the RRSIG bit on NSEC3 RRs corresponding to insecure delegations, ignore junk below a DNAME, ignore delegations below other delegations
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@218 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2010-12-06 00:25:04 +00:00
David Blacka
14ea619299 add verbose signing mode to signzone; some comment fixes, some unused vars and imports removed
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@217 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2010-12-05 23:08:13 +00:00
David Blacka
51d4ca0333 remove accidentally committed 'jdnssec-tools' directory
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@214 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2010-12-05 20:58:14 +00:00
David Blacka
beca0e4872 Add jdnssec-signrrset tool which will sign any single rrset with any key.
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@208 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2010-07-21 17:09:56 +00:00
David Blacka
32c781f972 Share project "jdnssec-tools" into "https://svn.verisignlabs.com/main/dnssec/sectools/trunk"
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@202 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2010-06-15 02:45:12 +00:00
David Blacka
2b619d08b5 remove stray typo character
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@198 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2010-02-18 03:35:53 +00:00
David Blacka
cdde8fa65e release 0.9.6
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@195 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2010-01-14 16:40:32 +00:00
David Blacka
ef2b96782e Switch to dnsjava-2.0.8: this fixes a typemap wire conversion bug
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@194 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2010-01-10 02:52:02 +00:00
David Blacka
179f7fa59d update version of DNSjava -- this version has a bug fix for typemap wireformat calculation
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@191 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2010-01-08 00:42:27 +00:00
David Blacka
fff3792206 update version number, changelog
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@186 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2009-11-03 02:24:06 +00:00
David Blacka
34e6f91ef2 restore NSEC3 original ownername comments.
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@185 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2009-11-03 02:24:04 +00:00
David Blacka
64f5de7b38 fix our base32 context
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@184 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2009-11-03 02:24:02 +00:00
David Blacka
1fe3b49c17 Switch to dnsjava-2.0.7: the NSEC3 comments won't work, and I had to rescue the nsec3 hash calculation function from the original NSEC3Record implementation.
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@183 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2009-11-03 02:23:59 +00:00
David Blacka
2bd2bef727 Use the RFC 5702 algorithm identifiers
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@182 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2009-11-03 02:23:57 +00:00
David Blacka
f09d75453c work around the ulimit behavior on mac os X
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@177 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2009-09-19 20:21:48 +00:00
David Blacka
ca9bee9d49 allow for multiple -k options (for signing with multiple KSKs)
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@176 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2009-09-03 04:16:49 +00:00
David Blacka
5c6538cf62 remove bogus directory (again)
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@173 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2009-08-24 13:21:46 +00:00
David Blacka
8b1203c243 Merge changes from experimental branch 2255:2273.
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@172 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2009-08-23 19:13:42 +00:00
David Blacka
dec1b802e2 Share project "jdnssec-tools" into "https://svn.verisignlabs.com/main/dnssec/sectools/trunk"
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@168 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2009-07-19 19:19:41 +00:00
David Blacka
5d6e980ca7 make sure compiled binaries are 1.4 compatible
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@146 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2009-02-10 14:36:51 +00:00
David Blacka
7a4e98378b fix the binary version on the dnsjava library (was the java 6 binary version, should be the java 1.4 version)
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@145 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2009-02-10 14:36:00 +00:00
David Blacka
194d28e876 update version for 0.9.0 release
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@144 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2009-02-10 14:19:00 +00:00
David Blacka
e95f295275 update changelog
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@143 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2009-02-09 02:54:51 +00:00
David Blacka
e6cf5e27a0 Use constants now defined in dnsjava (local copy, for now). Add BIND 9.6 mnemonics to the NSEC3 key aliases.
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@142 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2009-02-08 17:36:18 +00:00
David Blacka
b90877444d Make the keyinfo tool slightly more useful: handle multiple keys at a time, print out DSA key information, etc.
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@141 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2009-02-08 17:35:20 +00:00
David Blacka
f09eeaffaa Make using the RSA large exponent the default (like BIND); print the name of the keyfile base at the end (unless the user dictated the filename) (also like BIND)
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@140 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2009-02-08 17:34:05 +00:00
David Blacka
971d13d81f Make the comments accurate.
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@139 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2009-02-08 17:32:58 +00:00
David Blacka
865fcf09bf update to dnsjava 2.0.6-vrsn-2; remove obsoleted workaround in DnsKeyConverter
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@138 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2009-02-07 21:01:28 +00:00
David Blacka
319bbdceb1 git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@135 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e 2009-02-07 20:38:22 +00:00
David Blacka
ba656cad5a update to commons-cli-1.1
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@134 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2009-02-07 20:37:58 +00:00
David Blacka
b35bab0bdd Add ability to define the TTL of the NSEC3PARAM record.
git-svn-id: https://svn.verisignlabs.com/jdnssec/tools/trunk@133 4cbd57fe-54e5-0310-bd9a-f30fe5ea5e6e
2009-02-07 20:37:29 +00:00