Hello,
what is the Knot DNS version you have?
% keymgr --version
keymgr, version 2.0.0
% mkdir kasp
% cd kasp
% keymgr init
% keymgr zone add 
example.com policy none
% keymgr zone key generate 
example.com algorithm rsasha256 size 2048 ksk
id 3814e51d863fac1efcecc0672ccd5a0ad7f0e8f6 keytag 17725
% keymgr zone key generate 
example.com algorithm rsasha256 size 1024
id 2c102f0a61063950353e90d1849b65156699d161 keytag 26659
% keymgr zone key list 
example.com
id 3814e51d863fac1efcecc0672ccd5a0ad7f0e8f6 keytag 17725
id 2c102f0a61063950353e90d1849b65156699d161 keytag 26659
It works for me with the stable release.
Cheers,
Jan
On Tuesday, August 11, 2015 05:39:41 PM shadice(a)arcor.de wrote:
  Hi
 Is keymgr broken or what am I doing wrong?
 /knot# mkdir kasp
 /knot# cd kasp
 /knot/kasp# keymgr init
 /knot/kasp# keymgr zone add 
example.com policy none
 /knot/kasp# keymgr zone key generate 
example.com algorithm rsasha256 size
 2048 ksk id 36b49807bcdf448c5034cf37688b99616760529c keytag 24400
 knot/kasp# keymgr zone key generate 
example.com algorithm rsasha256 size
 1024 Cannot retrieve zone from KASP (malformed config value).
 Regards,
 shadice
 _______________________________________________
 knot-dns-users mailing list
 knot-dns-users(a)lists.nic.cz
 
https://lists.nic.cz/cgi-bin/mailman/listinfo/knot-dns-users