From fca74d4bc3569506a6659880a89aa009dc11f552 Mon Sep 17 00:00:00 2001 From: wukong Date: Mon, 23 Nov 2015 17:48:48 +0100 Subject: moon-abe cleanup Change-Id: Ie1259856db03f0b9e80de3e967ec6bd1f03191b3 --- moon-abe/cpabe-0.11/test/cpabe-dec.py | 18 ------------------ moon-abe/cpabe-0.11/test/cpabe-enc.py | 18 ------------------ moon-abe/cpabe-0.11/test/cpabe-keygen.py | 18 ------------------ moon-abe/cpabe-0.11/test/cpabe-setup.py | 17 ----------------- moon-abe/cpabe-0.11/test/enc_ind | Bin 532 -> 0 bytes moon-abe/cpabe-0.11/test/enc_trap | Bin 132 -> 0 bytes moon-abe/cpabe-0.11/test/indexClear | 2 -- moon-abe/cpabe-0.11/test/master_key | Bin 156 -> 0 bytes moon-abe/cpabe-0.11/test/peks-ind.py | 18 ------------------ moon-abe/cpabe-0.11/test/peks-test.py | 18 ------------------ moon-abe/cpabe-0.11/test/peks-trap.py | 18 ------------------ moon-abe/cpabe-0.11/test/priv_key | Bin 411 -> 0 bytes moon-abe/cpabe-0.11/test/pub_key | Bin 888 -> 0 bytes moon-abe/cpabe-0.11/test/testFile.txt | 1 - moon-abe/cpabe-0.11/test/testFile.txt.dec | 1 - 15 files changed, 129 deletions(-) delete mode 100644 moon-abe/cpabe-0.11/test/cpabe-dec.py delete mode 100644 moon-abe/cpabe-0.11/test/cpabe-enc.py delete mode 100644 moon-abe/cpabe-0.11/test/cpabe-keygen.py delete mode 100644 moon-abe/cpabe-0.11/test/cpabe-setup.py delete mode 100644 moon-abe/cpabe-0.11/test/enc_ind delete mode 100644 moon-abe/cpabe-0.11/test/enc_trap delete mode 100644 moon-abe/cpabe-0.11/test/indexClear delete mode 100644 moon-abe/cpabe-0.11/test/master_key delete mode 100644 moon-abe/cpabe-0.11/test/peks-ind.py delete mode 100644 moon-abe/cpabe-0.11/test/peks-test.py delete mode 100644 moon-abe/cpabe-0.11/test/peks-trap.py delete mode 100644 moon-abe/cpabe-0.11/test/priv_key delete mode 100644 moon-abe/cpabe-0.11/test/pub_key delete mode 100644 moon-abe/cpabe-0.11/test/testFile.txt delete mode 100644 moon-abe/cpabe-0.11/test/testFile.txt.dec (limited to 'moon-abe/cpabe-0.11/test') diff --git a/moon-abe/cpabe-0.11/test/cpabe-dec.py b/moon-abe/cpabe-0.11/test/cpabe-dec.py deleted file mode 100644 index 3e120578..00000000 --- a/moon-abe/cpabe-0.11/test/cpabe-dec.py +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/python -import os, sys -from subprocess import call - -c_prog = "cpabe-dec" -c_file = "/usr/local/bin/" + c_prog - -if(os.path.isfile(c_file)): - args = [c_prog] + sys.argv[1::] - call(args) - -elif(os.path.isfile("./" + c_prog)): - print "Warning: missing file %s using binary in local repository" % c_file - args = ["./" + c_prog] + sys.argv[1::] - call(args) - -else: - sys.exit(c_prog + " was not found. Be sure that the C library cpabe is installed before running this program") diff --git a/moon-abe/cpabe-0.11/test/cpabe-enc.py b/moon-abe/cpabe-0.11/test/cpabe-enc.py deleted file mode 100644 index cff9a6f6..00000000 --- a/moon-abe/cpabe-0.11/test/cpabe-enc.py +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/python -import os, sys -from subprocess import call - -c_prog = "cpabe-enc" -c_file = "/usr/local/bin/" + c_prog - -if(os.path.isfile(c_file)): - args = [c_prog] + sys.argv[1::] - call(args) - -elif(os.path.isfile("./" + c_prog)): - print "Warning: missing file %s using binary in local repository" % c_file - args = ["./" + c_prog] + sys.argv[1::] - call(args) - -else: - sys.exit(c_prog + " was not found. Be sure that the C library cpabe is installed before running this program") diff --git a/moon-abe/cpabe-0.11/test/cpabe-keygen.py b/moon-abe/cpabe-0.11/test/cpabe-keygen.py deleted file mode 100644 index 21e1306b..00000000 --- a/moon-abe/cpabe-0.11/test/cpabe-keygen.py +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/python -import os, sys -from subprocess import call - -c_prog = "cpabe-keygen" -c_file = "/usr/local/bin/" + c_prog - -if(os.path.isfile(c_file)): - args = [c_prog] + sys.argv[1::] - call(args) - -elif(os.path.isfile("./" + c_prog)): - print "Warning: missing file %s using binary in local repository" % c_file - args = ["./" + c_prog] + sys.argv[1::] - call(args) - -else: - sys.exit(c_prog + " was not found. Be sure that the C library cpabe is installed before running this program") diff --git a/moon-abe/cpabe-0.11/test/cpabe-setup.py b/moon-abe/cpabe-0.11/test/cpabe-setup.py deleted file mode 100644 index a1d82c9f..00000000 --- a/moon-abe/cpabe-0.11/test/cpabe-setup.py +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/python -import os.path -import sys -from subprocess import call - -c_prog = "cpabe-setup" -c_file = "/usr/local/bin/" + c_prog - -if(os.path.isfile(c_file)): - call([c_prog]) - -elif(os.path.isfile("./" + c_prog)): - print "Warning: missing file %s using binary in local repository" % c_file - call(["./" + c_prog]) - -else: - sys.exit(c_prog + " was not found. Be sure that the C library cpabe is installed before running this program") diff --git a/moon-abe/cpabe-0.11/test/enc_ind b/moon-abe/cpabe-0.11/test/enc_ind deleted file mode 100644 index 01aeabaf..00000000 Binary files a/moon-abe/cpabe-0.11/test/enc_ind and /dev/null differ diff --git a/moon-abe/cpabe-0.11/test/enc_trap b/moon-abe/cpabe-0.11/test/enc_trap deleted file mode 100644 index 200de618..00000000 Binary files a/moon-abe/cpabe-0.11/test/enc_trap and /dev/null differ diff --git a/moon-abe/cpabe-0.11/test/indexClear b/moon-abe/cpabe-0.11/test/indexClear deleted file mode 100644 index 6f6894cd..00000000 --- a/moon-abe/cpabe-0.11/test/indexClear +++ /dev/null @@ -1,2 +0,0 @@ -Keyword1 -Keyword2 diff --git a/moon-abe/cpabe-0.11/test/master_key b/moon-abe/cpabe-0.11/test/master_key deleted file mode 100644 index 63e4dec5..00000000 Binary files a/moon-abe/cpabe-0.11/test/master_key and /dev/null differ diff --git a/moon-abe/cpabe-0.11/test/peks-ind.py b/moon-abe/cpabe-0.11/test/peks-ind.py deleted file mode 100644 index ca7c5ad5..00000000 --- a/moon-abe/cpabe-0.11/test/peks-ind.py +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/python -import os, sys -from subprocess import call - -c_prog = "peks-ind" -c_file = "/usr/local/bin/" + c_prog - -if(os.path.isfile(c_file)): - args = [c_prog] + sys.argv[1::] - call(args) - -elif(os.path.isfile("./" + c_prog)): - print "Warning: missing file %s using binary in local repository" % c_file - args = ["./" + c_prog] + sys.argv[1::] - call(args) - -else: - sys.exit(c_prog + " was not found. Be sure that the C library cpabe is installed before running this program") diff --git a/moon-abe/cpabe-0.11/test/peks-test.py b/moon-abe/cpabe-0.11/test/peks-test.py deleted file mode 100644 index 2cb59713..00000000 --- a/moon-abe/cpabe-0.11/test/peks-test.py +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/python -import os, sys -from subprocess import call - -c_prog = "peks-test" -c_file = "/usr/local/bin/" + c_prog - -if(os.path.isfile(c_file)): - args = [c_prog] + sys.argv[1::] - sys.exit(call(args)) - -elif(os.path.isfile("./" + c_prog)): - print "Warning: missing file %s using binary in local repository" % c_file - args = ["./" + c_prog] + sys.argv[1::] - sys.exit(call(args)) - -else: - sys.exit(c_prog + " was not found. Be sure that the C library cpabe is installed before running this program") diff --git a/moon-abe/cpabe-0.11/test/peks-trap.py b/moon-abe/cpabe-0.11/test/peks-trap.py deleted file mode 100644 index 02e88cee..00000000 --- a/moon-abe/cpabe-0.11/test/peks-trap.py +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/python -import os, sys -from subprocess import call - -c_prog = "peks-trap" -c_file = "/usr/local/bin/" + c_prog - -if(os.path.isfile(c_file)): - args = [c_prog] + sys.argv[1::] - call(args) - -elif(os.path.isfile("./" + c_prog)): - print "Warning: missing file %s using binary in local repository" % c_file - args = ["./" + c_prog] + sys.argv[1::] - call(args) - -else: - sys.exit(c_prog + " was not found. Be sure that the C library cpabe is installed before running this program") diff --git a/moon-abe/cpabe-0.11/test/priv_key b/moon-abe/cpabe-0.11/test/priv_key deleted file mode 100644 index 9e882734..00000000 Binary files a/moon-abe/cpabe-0.11/test/priv_key and /dev/null differ diff --git a/moon-abe/cpabe-0.11/test/pub_key b/moon-abe/cpabe-0.11/test/pub_key deleted file mode 100644 index 24be30ad..00000000 Binary files a/moon-abe/cpabe-0.11/test/pub_key and /dev/null differ diff --git a/moon-abe/cpabe-0.11/test/testFile.txt b/moon-abe/cpabe-0.11/test/testFile.txt deleted file mode 100644 index 98a1cfb8..00000000 --- a/moon-abe/cpabe-0.11/test/testFile.txt +++ /dev/null @@ -1 +0,0 @@ -I am a test File!!! diff --git a/moon-abe/cpabe-0.11/test/testFile.txt.dec b/moon-abe/cpabe-0.11/test/testFile.txt.dec deleted file mode 100644 index 98a1cfb8..00000000 --- a/moon-abe/cpabe-0.11/test/testFile.txt.dec +++ /dev/null @@ -1 +0,0 @@ -I am a test File!!! -- cgit 1.2.3-korg