Dear Team,
I am using RSASHA1 key generation algorithm for generating the KSK and ZSK.
Today, I tried to generate the algorithm using RSASHA512 and HMAC-SHA256 algorithm.
Key generation through RSASHA512 algorithm run successfully but while generating the keys through HMAC-SHA512 algorithm, I am getting the following error –
“dnssec-keygen: fatal: a key with algorithm 'HMAC-SHA512' cannot be a zone key”
I googled it and find a previous discussion on BIND Mailing list that HMAC-* is used for generating keys for Host and not for Zone.
I have doubt in this only. What’s the difference between Zone or Host ?? Is it key generation for one client machine or what ?
I also want to know which algorithm is the best one on security aspects for generating Keys for DNSSEC.
Thanks and Regards,
Gaurav Kansal
Emp Code - 6274
Mob – 9910118448
Intercom – 7331
Have you enabled IPv6 on something today...?
HI Tony,
Thanks for help.
I was wondering if HMAC* keys are not used for zone then why the same is displayed when we use "dnssec-keygen -h".
Regards,
Gaurav Kansal
At the time of posting this question, I didn’t think that this thread will cause this much of discussion. J
Thanks to all for nice explanation and help.
Regards,
Gaurav Kansal
-----Original Message-----
From: bind-users-bounces+gaurav.kansal=nic...@lists.isc.org [mailto:bind-users-bounces+gaurav.kansal=nic...@lists.isc.org] On Behalf Of Evan Hunt
Sent: Thursday, March 6, 2014 10:08 PM
To: Carsten Strotmann
Cc: bind-...@lists.isc.org
Subject: Re: Regarding HMAC-SHA256 and RSASHA512 key generation algorithm in dnssec-keygen
> there could be a hard-link from a name like "tsig-keygen" to
> "dnssec-keygen" which changes the type of key created to "-n HOST".
> That would not require any change to the existing interface. Just an idea.
Thanks, Carsten. I had actually had the same thought after writing my post last night, though I was thinking of making it a hard link to ddns-confgen rather than dnssec-keygen.
(Question: is "ddns-confgen -q" an appropriate and useful format?
I've never understood why anybody would want TSIG keys in .key/.private form, but there may be a use case for it that I've overlooked.)
--
Evan Hunt -- ea...@isc.org
Internet Systems Consortium, Inc.
_______________________________________________
Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
bind-users mailing list