<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 2020-11-24 06:06, Stefan Ubbink
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:20201124060619.408d7e1b@1040-04-008.sidn.nl">
<pre class="moz-quote-pre" wrap="">Yes, we really have a zone called politie.</pre>
</blockquote>
<p>Ok, of course, a TLD :)</p>
<p><br>
</p>
<p>I tried to compile softhsm2 and opendnssec. I have no keys to
purge, but it accepts the command.</p>
<p><font face="monospace">$ sbin/ods-enforcer --version<br>
opendnssec version 2.1.8rc1<br>
<br>
$ sbin/ods-enforcer key list<br>
Keys:<br>
Zone: Keytype: State: Date of next
transition:<br>
example.com KSK publish 2020-11-24
12:46:12<br>
example.com ZSK ready 2020-11-24
12:46:12<br>
example KSK publish 2020-11-24
12:48:55<br>
example ZSK ready 2020-11-24
12:48:55<br>
<br>
</font></p>
<p><font face="monospace">$ sbin/ods-enforcer key purge --zone
example --delete<br>
No keys to purge for example <br>
Found no keys to delete from HSM<br>
</font><br>
</p>
<p>Your error message Is from the validation logic in
enforcer/src/keystate/key_purge.c</p>
<p>Are you sure you are running the correct version? <br>
</p>
<p><br>
</p>
<pre class="moz-quote-pre" wrap="">Nov 23 07:08:38 signt1 ods-enforcerd: [key_purge_cmd] unknown arguments for key purge command
while ((opt = getopt_long(argc, (char* const*)argv, "z:p:d", long_options, &long_index)) != -1) {
switch (opt) {
case 'z':
zone_name = optarg;
break;
case 'p':
policy_name = optarg;
break;
case 'd':
hsmPurge = 1;
break;
default:
client_printf_err(sockfd, "unknown arguments\n");
<b> ods_log_error("[%s] unknown arguments for %s command",</b><b>
</b><b> module_str, key_purge_funcblock.cmdname);</b>
free(buf);
return -1;
}
}
</pre>
<pre class="moz-signature" cols="500">--
MVH / Regards
Anders Löwinger, Abundo AB, 072-2060322</pre>
</body>
</html>