tools: Convert ndnsec to v2::KeyChain
This commit removes the following tools:
- cert-revoke (wasn't working properly before and need a new
design)
- set-acl (wasn't working before)
- dsk-gen (no longer makes sense with the new certificate naming
conventions, new tools for creating derivative certificates will
be created later)
This commit also fixes Bug #3644 causing import command to ask for
unnecessary password confirmation.
ndnsec main now catch all exceptions logs the extended message
Change-Id: Ib50e0994970020bcf0a1840aca6bc3942818094b
Refs: #3098, #3644
diff --git a/tools/ndnsec/ndnsec.hpp b/tools/ndnsec/ndnsec.hpp
index b64a6b2..dd34dd9 100644
--- a/tools/ndnsec/ndnsec.hpp
+++ b/tools/ndnsec/ndnsec.hpp
@@ -25,6 +25,8 @@
namespace ndn {
namespace ndnsec {
+// TODO convert to tool registry (may be)
+
int
ndnsec_list(int argc, char** argv);
@@ -38,18 +40,12 @@
ndnsec_key_gen(int argc, char** argv);
int
-ndnsec_dsk_gen(int argc, char** argv);
-
-int
ndnsec_sign_req(int argc, char** argv);
int
ndnsec_cert_gen(int argc, char** argv);
int
-ndnsec_cert_revoke(int argc, char** argv);
-
-int
ndnsec_cert_dump(int argc, char** argv);
int
@@ -65,9 +61,6 @@
ndnsec_import(int argc, char** argv);
int
-ndnsec_set_acl(int argc, char** argv);
-
-int
ndnsec_unlock_tpm(int argc, char** argv);
} // namespace ndnsec