tools: Combine all security tools into one; Add Export/Import/Delete/Unlock/AddACL command
There might be some bugs in the tools combined, but the purpose of this commit is to combine the tools rather than fixing bugs.
Change-Id: I2924067d666eacfc278ebd07e7e178c54a2f7362
diff --git a/tools/wrapper/ndnsec-cert-dump.sh b/tools/wrapper/ndnsec-cert-dump.sh
new file mode 100644
index 0000000..240a9b3
--- /dev/null
+++ b/tools/wrapper/ndnsec-cert-dump.sh
@@ -0,0 +1,3 @@
+#!@SH@
+
+`dirname "$0"`/ndnsec cert-dump "$@"
\ No newline at end of file
diff --git a/tools/wrapper/ndnsec-cert-gen.sh b/tools/wrapper/ndnsec-cert-gen.sh
new file mode 100644
index 0000000..9479ac5
--- /dev/null
+++ b/tools/wrapper/ndnsec-cert-gen.sh
@@ -0,0 +1,3 @@
+#!@SH@
+
+`dirname "$0"`/ndnsec cert-gen "$@"
\ No newline at end of file
diff --git a/tools/wrapper/ndnsec-cert-install.sh b/tools/wrapper/ndnsec-cert-install.sh
new file mode 100644
index 0000000..4338823
--- /dev/null
+++ b/tools/wrapper/ndnsec-cert-install.sh
@@ -0,0 +1,3 @@
+#!@SH@
+
+`dirname "$0"`/ndnsec cert-install "$@"
\ No newline at end of file
diff --git a/tools/wrapper/ndnsec-certgen.sh b/tools/wrapper/ndnsec-certgen.sh
new file mode 100644
index 0000000..c31d1b2
--- /dev/null
+++ b/tools/wrapper/ndnsec-certgen.sh
@@ -0,0 +1,4 @@
+#!@SH@
+
+#to accomodate the old command
+`dirname "$0"`/ndnsec cert-gen "$@"
\ No newline at end of file
diff --git a/tools/wrapper/ndnsec-delete.sh b/tools/wrapper/ndnsec-delete.sh
new file mode 100644
index 0000000..5d8a05c
--- /dev/null
+++ b/tools/wrapper/ndnsec-delete.sh
@@ -0,0 +1,3 @@
+#!@SH@
+
+`dirname "$0"`/ndnsec delete "$@"
\ No newline at end of file
diff --git a/tools/wrapper/ndnsec-dsk-gen.sh b/tools/wrapper/ndnsec-dsk-gen.sh
new file mode 100644
index 0000000..31e485c
--- /dev/null
+++ b/tools/wrapper/ndnsec-dsk-gen.sh
@@ -0,0 +1,3 @@
+#!@SH@
+
+`dirname "$0"`/ndnsec dsk-gen "$@"
\ No newline at end of file
diff --git a/tools/wrapper/ndnsec-dskgen.sh b/tools/wrapper/ndnsec-dskgen.sh
new file mode 100644
index 0000000..c256026
--- /dev/null
+++ b/tools/wrapper/ndnsec-dskgen.sh
@@ -0,0 +1,4 @@
+#!@SH@
+
+#to accomodate the old command
+`dirname "$0"`/ndnsec dsk-gen "$@"
\ No newline at end of file
diff --git a/tools/wrapper/ndnsec-dump-certificate.sh b/tools/wrapper/ndnsec-dump-certificate.sh
new file mode 100644
index 0000000..c0e7c08
--- /dev/null
+++ b/tools/wrapper/ndnsec-dump-certificate.sh
@@ -0,0 +1,4 @@
+#!@SH@
+
+#to accomodate the old command
+`dirname "$0"`/ndnsec cert-dump "$@"
\ No newline at end of file
diff --git a/tools/wrapper/ndnsec-export.sh b/tools/wrapper/ndnsec-export.sh
new file mode 100644
index 0000000..50b7229
--- /dev/null
+++ b/tools/wrapper/ndnsec-export.sh
@@ -0,0 +1,3 @@
+#!@SH@
+
+`dirname "$0"`/ndnsec export "$@"
\ No newline at end of file
diff --git a/tools/wrapper/ndnsec-get-default.sh b/tools/wrapper/ndnsec-get-default.sh
new file mode 100644
index 0000000..d1ef31d
--- /dev/null
+++ b/tools/wrapper/ndnsec-get-default.sh
@@ -0,0 +1,3 @@
+#!@SH@
+
+`dirname "$0"`/ndnsec get-default "$@"
\ No newline at end of file
diff --git a/tools/wrapper/ndnsec-import.sh b/tools/wrapper/ndnsec-import.sh
new file mode 100644
index 0000000..e05774e
--- /dev/null
+++ b/tools/wrapper/ndnsec-import.sh
@@ -0,0 +1,3 @@
+#!@SH@
+
+`dirname "$0"`/ndnsec import "$@"
\ No newline at end of file
diff --git a/tools/wrapper/ndnsec-install-cert.sh b/tools/wrapper/ndnsec-install-cert.sh
new file mode 100644
index 0000000..e89744a
--- /dev/null
+++ b/tools/wrapper/ndnsec-install-cert.sh
@@ -0,0 +1,4 @@
+#!@SH@
+
+#to accomodate the old command
+`dirname "$0"`/ndnsec cert-install "$@"
\ No newline at end of file
diff --git a/tools/wrapper/ndnsec-key-gen.sh b/tools/wrapper/ndnsec-key-gen.sh
new file mode 100644
index 0000000..0e3bde9
--- /dev/null
+++ b/tools/wrapper/ndnsec-key-gen.sh
@@ -0,0 +1,3 @@
+#!@SH@
+
+`dirname "$0"`/ndnsec key-gen "$@"
\ No newline at end of file
diff --git a/tools/wrapper/ndnsec-keygen.sh b/tools/wrapper/ndnsec-keygen.sh
new file mode 100644
index 0000000..6dd142d
--- /dev/null
+++ b/tools/wrapper/ndnsec-keygen.sh
@@ -0,0 +1,4 @@
+#!@SH@
+
+#to accomodate the old command
+`dirname "$0"`/ndnsec key-gen "$@"
\ No newline at end of file
diff --git a/tools/wrapper/ndnsec-list.sh b/tools/wrapper/ndnsec-list.sh
new file mode 100644
index 0000000..454ac6e
--- /dev/null
+++ b/tools/wrapper/ndnsec-list.sh
@@ -0,0 +1,3 @@
+#!@SH@
+
+`dirname "$0"`/ndnsec list "$@"
\ No newline at end of file
diff --git a/tools/wrapper/ndnsec-ls-identity.sh b/tools/wrapper/ndnsec-ls-identity.sh
new file mode 100644
index 0000000..4f173bf
--- /dev/null
+++ b/tools/wrapper/ndnsec-ls-identity.sh
@@ -0,0 +1,4 @@
+#!@SH@
+
+#to accomodate the old command
+`dirname "$0"`/ndnsec list "$@"
\ No newline at end of file
diff --git a/tools/wrapper/ndnsec-op-tool.sh b/tools/wrapper/ndnsec-op-tool.sh
new file mode 100644
index 0000000..2db363d
--- /dev/null
+++ b/tools/wrapper/ndnsec-op-tool.sh
@@ -0,0 +1,3 @@
+#!@SH@
+
+`dirname "$0"`/ndnsec op-tool "$@"
\ No newline at end of file
diff --git a/tools/wrapper/ndnsec-operator-tool.sh b/tools/wrapper/ndnsec-operator-tool.sh
new file mode 100644
index 0000000..503d0ea
--- /dev/null
+++ b/tools/wrapper/ndnsec-operator-tool.sh
@@ -0,0 +1,4 @@
+#!@SH@
+
+#to accomodate the old command
+`dirname "$0"`/ndnsec op-tool "$@"
\ No newline at end of file
diff --git a/tools/wrapper/ndnsec-set-acl.sh b/tools/wrapper/ndnsec-set-acl.sh
new file mode 100644
index 0000000..5a651fd
--- /dev/null
+++ b/tools/wrapper/ndnsec-set-acl.sh
@@ -0,0 +1,3 @@
+#!@SH@
+
+`dirname "$0"`/ndnsec set-acl "$@"
\ No newline at end of file
diff --git a/tools/wrapper/ndnsec-set-default.sh b/tools/wrapper/ndnsec-set-default.sh
new file mode 100644
index 0000000..dfcd03b
--- /dev/null
+++ b/tools/wrapper/ndnsec-set-default.sh
@@ -0,0 +1,3 @@
+#!@SH@
+
+`dirname "$0"`/ndnsec set-default "$@"
\ No newline at end of file
diff --git a/tools/wrapper/ndnsec-sig-verify.sh b/tools/wrapper/ndnsec-sig-verify.sh
new file mode 100644
index 0000000..214fcfb
--- /dev/null
+++ b/tools/wrapper/ndnsec-sig-verify.sh
@@ -0,0 +1,3 @@
+#!@SH@
+
+`dirname "$0"`/ndnsec sig-verify "$@"
\ No newline at end of file
diff --git a/tools/wrapper/ndnsec-sign-req.sh b/tools/wrapper/ndnsec-sign-req.sh
new file mode 100644
index 0000000..15aef6c
--- /dev/null
+++ b/tools/wrapper/ndnsec-sign-req.sh
@@ -0,0 +1,3 @@
+#!@SH@
+
+`dirname "$0"`/ndnsec sign-req "$@"
\ No newline at end of file
diff --git a/tools/wrapper/ndnsec-unlock-tpm.sh b/tools/wrapper/ndnsec-unlock-tpm.sh
new file mode 100644
index 0000000..ec8d0a9
--- /dev/null
+++ b/tools/wrapper/ndnsec-unlock-tpm.sh
@@ -0,0 +1,3 @@
+#!@SH@
+
+`dirname "$0"`/ndnsec unlock-tpm "$@"
\ No newline at end of file