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
This commit is contained in:
parent
1616d07fe6
commit
03737a1efd
@ -1,3 +1,9 @@
|
|||||||
|
2011-02-02 Blacka <davidb@verisignlabs.com>
|
||||||
|
|
||||||
|
* DnsKeyConverter: support the new BIND 9.7 private key format,
|
||||||
|
which only entails recognizing the new version string, since the
|
||||||
|
new format is a superset of the old format.
|
||||||
|
|
||||||
2011-01-11 Blacka <davidb@verisignlabs.com>
|
2011-01-11 Blacka <davidb@verisignlabs.com>
|
||||||
|
|
||||||
* jdnssec-zoneformat: add a -m option for formatting as
|
* jdnssec-zoneformat: add a -m option for formatting as
|
||||||
|
@ -172,7 +172,7 @@ public class DnsKeyConverter
|
|||||||
|
|
||||||
if (line.startsWith("Private-key-format: "))
|
if (line.startsWith("Private-key-format: "))
|
||||||
{
|
{
|
||||||
if (!val.equals("v1.2"))
|
if (!val.equals("v1.2") && !val.equals("v1.3"))
|
||||||
{
|
{
|
||||||
throw new IOException("unsupported private key format: " + val);
|
throw new IOException("unsupported private key format: " + val);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user